/* auth.css — estilos específicos de las páginas de autenticación */

.auth-left {
  position: relative;
  width: 37.5%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #F4F7FA 0%, #EAF1F6 100%);
  border-right: 1px solid #DCE3EA;
  padding: 60px 48px;
  overflow: visible;
}
.auth-left__inner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 80px;
}
.auth-logo { width: 140px; margin-bottom: 16px; }
.auth-title { font-size: 32px; font-weight: 600; letter-spacing: -0.5px; margin: 0; }
.brand-dark { color: #0F172A; }
.brand-accent { color: #2CA6A4; }
.auth-divider { width: 60px; height: 3px; background: #2CA6A4; border-radius: 2px; margin: 12px auto 16px; }
.auth-tagline { font-size: 18px; color: #475569; line-height: 1.5; max-width: 280px; }
.auth-trust { margin-bottom: 20px; }
.auth-shield { font-size: 52px; margin-bottom: 8px; color: #2CA6A4; }
.auth-trust-text { font-size: 14px; color: #64748B; line-height: 1.4; }
.auth-bg-logo {
  position: absolute;
  bottom: -40px;
  left: -154px;
  width: 451px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* ── Panel derecho ── */
.auth-right {
  background: #ffffff;
  padding: 20px 48px 60px;
  min-height: 100vh;
  width: 62.5%;
}

.auth-right .form-control {
  background: #EEF4FF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #0F172A;
}

.auth-right .form-control:focus {
  border-color: #2CA6A4;
  box-shadow: 0 0 0 3px rgba(44, 166, 164, 0.1);
  background: #EEF4FF;
}

.auth-right .input-group-text {
  background: #EEF4FF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px 0 0 12px;
  color: #64748B;
  border-right: none;
}

.auth-right .input-group .form-control {
  border-radius: 0 12px 12px 0;
  border-left: none;
}

.auth-right .input-group-append .btn,
.auth-right .input-group .btn {
  background: #EEF4FF;
  border: 1.5px solid #E2E8F0;
  border-left: none;
  border-radius: 0 12px 12px 0;
  color: #64748B;
}

.auth-right .btn-ingresar {
  background: #0F172A;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.auth-right .btn-ingresar:hover {
  background: #1E293B;
}

.auth-forgot {
  color: #2CA6A4;
  font-size: 0.9rem;
  text-decoration: none;
}

.auth-forgot:hover {
  color: #0096C7;
  text-decoration: underline;
}

.auth-subtitle {
  color: #020817;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.auth-footer {
  color: #020817;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-footer i {
  color: #1e7d7b;
  font-size: 2rem;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.panel-derecho {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
}

.panel-derecho .titulo-bienvenido {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 0.3rem;
}

.panel-derecho .subtitulo {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.panel-derecho .form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.35rem;
}

.panel-derecho .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: #adb5bd;
    border-radius: 8px 0 0 8px;
}

.panel-derecho .form-control {
    border-left: none;
    background-color: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-size: 0.93rem;
}

.panel-derecho .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
    background-color: #f8f9fa;
}

.panel-derecho .input-group:focus-within .input-group-text,
.panel-derecho .input-group:focus-within .form-control {
    border-color: #2CA6A4;
}

.panel-derecho .btn-ojo {
    background-color: #f8f9fa;
    border-left: none;
    border-color: #dee2e6;
    color: #adb5bd;
    border-radius: 0 8px 8px 0;
}

.panel-derecho .btn-ojo:focus {
    box-shadow: none;
}

.panel-derecho .input-group:focus-within .btn-ojo {
    border-color: #2CA6A4;
}

.btn-ingresar {
    background-color: #1a2332;
    border-color: #1a2332;
    color: #fff;
    font-weight: 600;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 0.97rem;
    transition: background-color 0.2s ease;
}

.btn-ingresar:hover {
    background-color: #0f1826;
    border-color: #0f1826;
    color: #fff;
}

.link-olvide {
    color: #6c757d;
    font-size: 0.83rem;
    text-decoration: none;
}

.link-olvide:hover {
    color: #2CA6A4;
    text-decoration: underline;
}

.separador-o {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #dee2e6;
    font-size: 0.82rem;
    margin: 0.75rem 0;
}

.separador-o::before,
.separador-o::after {
    content: '';
    flex: 1;
    border-top: 1px solid #dee2e6;
}
