/* ============================================================
   Aunclick / Inder · Pantallas de autenticación (login, registro,
   recuperación). Override on-brand sobre main.css (login100 template).
   Cargar SIEMPRE después de main.css.
   ============================================================ */

html, body { height: 100%; }
body { margin: 0; background-color: #F4F2E9; }

/* Contenedor a pantalla completa */
.auth-section { min-height: 100vh; }
.auth-section > .container-fluid,
.auth-section > .container-fluid > .row { min-height: 100vh; }

/* ---------- Columna del formulario ---------- */
.auth-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
    background-color: #FFFFFF;
}
.auth-form-col .auth-form-inner {
    width: 100%;
    max-width: 380px;
}

/* Logo + tagline */
.auth-form-col .logo-login { text-align: center; margin-bottom: 1.75rem; }
.auth-form-col .logo-login img { max-width: 180px; height: auto; }
.auth-form-col .logo-login p {
    color: #6b7a72;
    font-size: .9rem;
    margin: .6rem 0 0;
    line-height: 1.4;
}

/* Título */
.auth-form-col .login100-form-title {
    display: block;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1A5D4C;
    margin-bottom: 1.5rem;
}

/* ---------- Inputs ---------- */
.auth-form-col .wrap-input100 {
    position: relative;
    align-items: center;
    height: 52px;
    border: 1px solid #d9d5c5;
    border-radius: .6rem;
    background-color: #fff;
    margin-bottom: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-form-col .wrap-input100:focus-within {
    border-color: #1A5D4C;
    box-shadow: 0 0 0 .2rem rgba(26, 93, 76, .15);
}
.auth-form-col .wrap-input100 .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa39d;
    font-size: 1rem;
    z-index: 2;
    transition: color .2s ease;
}
.auth-form-col .wrap-input100:focus-within .input-icon { color: #1A5D4C; }
.auth-form-col .input100 {
    font-size: 1rem;
    color: #333;
    padding: 0 16px 0 44px;
    height: 100%;
}
.auth-form-col .input100::placeholder { color: #9aa39d; }
.auth-form-col .input100:focus { height: 100%; }
/* Se anula el efecto de borde escalado del template */
.auth-form-col .focus-input100 { display: none; }

/* ---------- Links ---------- */
.auth-form-col .auth-links { text-align: center; margin: .25rem 0 1rem; }
.auth-form-col .auth-links a,
.auth-form-col .auth-links .btn-link,
.auth-form-col .btn-link {
    color: #1A5D4C !important;
    font-weight: 600;
    padding: 0;
    text-decoration: none;
}
.auth-form-col .auth-links a:hover,
.auth-form-col .auth-links .btn-link:hover,
.auth-form-col .btn-link:hover { color: #134A3D !important; text-decoration: underline; }

/* ---------- Toggle ver/ocultar contraseña ---------- */
.auth-form-col .input-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa39d;
    cursor: pointer;
    z-index: 3;
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
    background: none;
    border: 0;
}
.auth-form-col .input-toggle:hover { color: #1A5D4C; }
.auth-form-col .input100.has-toggle { padding-right: 44px; }

/* ---------- Botón ---------- */
.auth-form-col .login100-form-btn {
    background: #1A5D4C;
    border-radius: .6rem;
    height: 52px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .5px;
}
.auth-form-col .login100-form-btn:hover { background: #134A3D; }

/* ---------- Panel derecho: hero de marca ---------- */
.auth-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #fff;
    background: linear-gradient(135deg, #1A5D4C 0%, #134A3D 55%, #0F3830 100%);
    overflow: hidden;
}
.auth-hero::before,
.auth-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}
.auth-hero::before { width: 460px; height: 460px; top: -140px; right: -130px; }
.auth-hero::after  { width: 320px; height: 320px; bottom: -110px; left: -90px; }
.auth-hero__content {
    position: relative;
    max-width: 540px;
    font-family: 'Nunito', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.auth-hero__content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
}
.auth-hero__content h2 .accent { color: #4ADE80; }
.auth-hero__content .lead {
    font-size: 1.15rem;
    color: #EAF3EF;
    margin-bottom: 2.25rem;
}
.auth-hero__features { list-style: none; padding: 0; margin: 0; }
.auth-hero__features li {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}
.auth-hero__features li i {
    color: #28C76F;
    font-size: 1.2rem;
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .auth-form-col { min-height: 100vh; }
}
