/* ============================================================
   AUTH SCREEN — Quiniela Oficina
   Pantalla de login/registro: panel de marca + formulario.
   ============================================================ */

.auth-body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-screen {
  display: flex;
  min-height: 100vh;
}

/* ---------- Panel de marca (izquierda) ---------- */
.auth-brand {
  flex: 1 1 45%;
  background: linear-gradient(160deg, var(--body-color) 0%, var(--header) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px;
  overflow: hidden;
}

.auth-brand__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(9, 255, 141, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(9, 255, 141, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.auth-brand__pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 64px);
}

.auth-brand__content {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.auth-brand__logo {
  max-height: 42px;
  margin-bottom: 48px;
}

.auth-brand__headline {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
}

.auth-brand__sub {
  color: var(--active-color);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 40px;
}

.auth-brand__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-brand__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--textcolor);
  font-size: 14px;
  line-height: 1.5;
}

.auth-brand__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--active-color);
  margin-top: 6px;
  box-shadow: 0 0 12px rgba(9, 255, 141, 0.6);
}

/* ---------- Panel de formulario (derecha) ---------- */
.auth-form-panel {
  flex: 1 1 55%;
  background: var(--body-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-form-card {
  width: 100%;
  max-width: 420px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  background: var(--slidebox);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--textcolor);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.auth-tab--activa {
  background: var(--active-color);
  color: var(--body-color);
}

.auth-form__title {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
}

.auth-form__subtitle {
  color: var(--textcolor);
  font-size: 14px;
  margin: 0 0 28px;
}

.auth-label {
  display: block;
  color: var(--textcolor);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.auth-input {
  width: 100%;
  background: var(--slidebox);
  border: 1px solid var(--signborder);
  border-radius: 8px;
  color: var(--white);
  padding: 13px 16px;
  font-size: 14px;
  outline: none;
  margin-bottom: 20px;
  transition: border-color .2s ease;
}

.auth-input:focus {
  border-color: var(--active-color);
}

.auth-input::placeholder {
  color: var(--betslip);
}

.auth-submit {
  width: 100%;
  background: var(--active-color);
  border: none;
  border-radius: 8px;
  color: var(--body-color);
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity .2s ease;
}

.auth-submit:hover:not(:disabled) {
  opacity: 0.9;
}

.auth-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-alert {
  margin-top: 20px;
  background: rgba(243, 72, 106, 0.1);
  border: 1px solid var(--button-one);
  color: var(--button-one);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .auth-screen {
    flex-direction: column;
  }
  .auth-brand {
    flex: 0 0 auto;
    padding: 40px 30px;
  }
  .auth-brand__headline {
    font-size: 30px;
  }
  .auth-brand__features {
    display: none;
  }
  .auth-form-panel {
    padding: 30px 20px 60px;
  }
}
