/* ===========================
   Zenti - Stylesheet
   =========================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
  background: #4a8cc4;
  background: linear-gradient(180deg, #5a9bd4 0%, #4a8cc4 50%, #3d7eb8 100%);
  color: #ffffff;
  min-height: 100vh;
  font-size: 12px;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ============================================
   TOP LOGIN BAR
   ============================================ */
.top-bar {
  width: 100%;
  padding: 14px 30px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.login-form {
  display: flex;
  flex-direction: column;
  width: 580px;
}

/* Each row uses the same 3-column grid so columns line up perfectly */
.login-row {
  display: grid;
  grid-template-columns: 220px 220px auto;
  column-gap: 12px;
  align-items: center;
}

.login-row-labels {
  margin-bottom: 4px;
}

.field-label {
  font-size: 12px;
  color: #ffffff;
  font-weight: normal;
}

.spacer { /* empty third column for label/extras rows */ }

.login-row-inputs input[type="text"],
.login-row-inputs input[type="email"],
.login-row-inputs input[type="password"] {
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  border: 1px solid #2c5d8a;
  border-radius: 10px;
  background: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.login-row-inputs input:focus {
  border-color: #1a4870;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
}

.btn-entrar {
  height: 40px;
  padding: 0 28px;
  background: linear-gradient(180deg, #8ec5e8 0%, #6db0db 50%, #5aa3d2 100%);
  color: #ffffff;
  border: 1px solid #3d7eb8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  justify-self: start;
}

.btn-entrar:hover {
  background: linear-gradient(180deg, #9ed0ed 0%, #7dbae0 50%, #6aaed7 100%);
}

/* Row 3: remember + forgot */
.login-row-extras {
  margin-top: 8px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.forgot {
  font-size: 13px;
}

.forgot a {
  color: #ffffff;
  text-decoration: none;
}

.forgot a:hover {
  text-decoration: underline;
}

/* Beveled horizontal separator spanning the full login form */
.login-separator {
  border: none;
  height: 2px;
  margin: 14px 0 10px;
  background: linear-gradient(180deg,
    rgba(26,72,112,0) 0%,
    rgba(26,72,112,0.55) 50%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 100%);
}

/* "¿Quieres una cuenta?" aligned to the right under the separator */
.want-account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 13px;
}

.want-account .info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2c5d8a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  font-style: italic;
  font-family: Georgia, serif;
}

.want-account a {
  color: #ffffff;
  text-decoration: none;
}

.want-account a:hover {
  text-decoration: underline;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 80px 240px;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 100px;
  align-items: center;
  justify-items: center;
  flex: 1;
}

.left-side {
  text-align: right;
  max-width: 580px;
  width: 100%;
}

/* Logo: single isologo image (icon + wordmark together) */
.logo {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.isologo {
  height: 150px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.what-is {
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 16px;
}

.description {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 0 auto;
}

.divider {
  width: 2px;
  height: 320px;
  align-self: center;
  background: linear-gradient(90deg,
    rgba(26,72,112,0) 0%,
    rgba(26,72,112,0.55) 50%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 100%);
}

.right-side {
  padding-left: 30px;
  max-width: 580px;
  width: 100%;
}

.feature {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 42px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: rgba(255,255,255,0.92);
}

.feature-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  max-width: 460px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 30px;
  background: rgba(58, 120, 175, 0.4);
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Top row: copyright + langs (left)  |  text links (right) */
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.copyright {
  font-weight: bold;
  color: #ffffff;
  font-size: 14px;
}

.lang-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
}

.lang-link.active {
  color: #ffffff;
  font-weight: bold;
}

.lang-link:hover {
  text-decoration: underline;
}

/* Right links matching left style */
.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-text-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
}

.footer-text-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Premium row: label + flat sponsor logos, all aligned on Y axis */
.premium-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.premium-label {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: bold;
}

.premium-brands {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  max-height: 24px;
  max-width: 110px;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .main-content {
    grid-template-columns: 1fr;
    margin-top: 60px;
    gap: 30px;
    padding-bottom: 240px;
  }
  .divider { display: none; }
  .left-side { text-align: center; padding-right: 0; }
  .logo { justify-content: center; }
  .description { margin: 0 auto; }
  .right-side { padding-left: 0; }
  .top-bar { padding: 10px; }
  .login-form { width: 100%; max-width: 580px; }
  .login-row { grid-template-columns: 1fr 1fr auto; }
  .footer-right { flex-wrap: wrap; gap: 10px; }
  .premium-brands { flex-wrap: wrap; gap: 16px; }
}