/* Fondo general */
.auth-body {
    min-height: 100vh;
    background: radial-gradient(1200px 800px at 10% 10%, #e6f0ff 0, transparent 50%),
    radial-gradient(1000px 700px at 90% 20%, #fff4e6 0, transparent 55%),
    linear-gradient(135deg, #f5f7fb 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

/* shapes decorativas */
.auth-bg .shape {
    position: absolute;
    filter: blur(50px);
    opacity: .35;
}
.auth-bg .s1 { width: 380px; height: 380px; background: #0d6efd; top: -80px; left: -80px; border-radius: 50%; }
.auth-bg .s2 { width: 420px; height: 420px; background: #20c997; bottom: -120px; right: -100px; border-radius: 50%; }
.auth-bg .s3 { width: 260px; height: 260px; background: #ffc107; top: 40%; left: 60%; border-radius: 50%; }

/* contenedor */
.auth-wrapper { position: relative; z-index: 1; }

/* lado visual */
.hero-left { min-height: 88vh; }
.hero-illustration { max-width: 640px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.08)); }

/* card glass */
.auth-card.glass {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(39, 61, 130, 0.10);
}

/* form */
.form-floating > .form-control {
    border-radius: 14px;
}
.form-floating > label i {
    opacity: .7;
}

/* botón del ojo */
.toggle-pass {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: .25rem .5rem;
    color: #6c757d;
    text-decoration: none;
}
.toggle-pass:hover { color: #212529; }

/* brand */
.brand-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: #eff4ff;
    color: #0d6efd;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    box-shadow: inset 0 -4px 10px rgba(13,110,253,.08);
}

/* enlaces sutiles */
.link-underline-light {
    text-decoration: none;
    position: relative;
}
.link-underline-light::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: currentColor; transition: width .2s ease;
}
.link-underline-light:hover::after { width: 100%; }

/* estados focus */
.form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.15);
    border-color: #0d6efd;
}

/* responsive */
@media (max-width: 1199.98px) {
    .hero-left { display: none; }
}

/* Botón inline dentro del input (RNC y ojo password reutiliza .toggle-pass) */
.action-inline {
    position: absolute;
    right: 2.5rem; /* deja espacio al icono del ojo en password */
    top: 50%;
    transform: translateY(-50%);
    padding: .25rem .5rem;
    color: #6c757d;
    text-decoration: none;
}
.action-inline:hover { color: #212529; }

/* Medidor fuerza password */
.password-meter {
    height: 6px;
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.password-meter .bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #10b981);
    transition: width .25s ease;
    border-radius: 8px;
}
