@charset "UTF-8";

/* ============================================================
   Brain México · Login 2026
   Solo formas y detalles UX/UI. Se respeta la identidad visual:
   imagen de fondo, logo de Brain, azul nativo (#3bafda) y Roboto.
   ============================================================ */

/* ---------- Lienzo: imagen de fondo + overlay azul de marca ---------- */
.auth-fluid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-fluid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(70deg, rgba(10, 52, 76, 0.80) 0%, rgba(59, 175, 218, 0.32) 100%);
}

/* ---------- Formulario: tarjeta flotante redondeada ---------- */
.auth-fluid .auth-fluid-form-box {
    max-width: 470px;
    margin: 30px;
    border-radius: 28px;
    background-color: #ffffff;
    align-self: center;
    box-shadow: 0 26px 70px rgba(8, 47, 73, 0.28);
    padding: 2.75rem 2.25rem !important;
}

/* Logo en flujo (evita sobreponerse al título) */
.auth-fluid .auth-brand {
    position: static;
    top: auto;
    text-align: center;
    margin-bottom: 22px;
}

/* ---------- Tipografía del formulario ---------- */
.auth-fluid-form-box h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0c4a6e;
}

.auth-fluid-form-box .form-label {
    font-weight: 600;
    color: #3d4756;
}

/* ---------- Campos ---------- */
.auth-fluid .form-control {
    border-radius: 12px;
    border-color: #e2e8f0;
    background-color: #f8fafc;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
}

.auth-fluid .form-control:focus {
    border-color: #3bafda;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(59, 175, 218, 0.16);
}

.input-group-merge .input-group-text {
    border-color: #e2e8f0;
    background-color: #f8fafc;
    color: #3bafda;
}

/* Unión redondeada del grupo: esquina izquierda y derecha */
.auth-fluid .input-group-merge > .input-group-text:first-child,
.auth-fluid .input-group-merge > .form-control:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.auth-fluid .input-group-merge > .input-group-text:last-child,
.auth-fluid .input-group-merge > .form-control:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* ---------- Botón ---------- */
.btn-login {
    background: linear-gradient(135deg, #3bafda, #1e82ad) !important;
    border: none !important;
    border-radius: 12px;
    padding: 0.72rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(59, 175, 218, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(59, 175, 218, 0.45);
}

/* ---------- Pie: en flujo bajo el botón (sin sobreponerse) ---------- */
.auth-fluid .footer.footer-alt {
    position: static;
    left: auto;
    right: auto;
    padding: 22px 0 0;
    margin: 0;
    text-align: center;
    color: #6c757d;
}

.auth-fluid .footer.footer-alt a {
    color: #3bafda;
}

/* ---------- Pantallas pequeñas ---------- */
@media (max-width: 767.98px) {
    .auth-fluid {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .auth-fluid .auth-fluid-form-box {
        border-radius: 22px;
        max-width: 100%;
        min-height: auto;
        width: auto;
        margin: 20px auto;
        padding: 2.25rem 1.5rem !important;
    }
}