
html, body {
    width: 100%;
    height: 100%;
}

.loading {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000a3;
    color: #fff;
    z-index: 99999;
}

.alert-login {
    background-color: #F8D7DA;
    color: #58151C;
}

/* Estilos específicos para la página de login */
.login-page {
    min-height: 100vh;
    background-image: url('../img/fondo.png'); /* Ajustar ruta al fondo real */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 3rem;
}

.login-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Tarjeta centrada */
.login-card {
    width: 460px;
    z-index: 3;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
    border: 0;
}

/* Logo */
.login-logo {
    height: 80px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.login-logo-conavicoop {
    width: 80%;
}

/* Divider */
.divider-line {
    height: 3px;
    width: 60px;
    background: #0b5cff;
    margin-top: 8px;
    border-radius: 2px;
}

/* Inputs */
.input-group .form-control {
    border-left: 0;
    border-radius: 0.5rem;
    box-shadow: none;
}

.input-group .input-group-text {
    border-radius: 0.5rem 0 0 0.5rem;
    border-right: 0;
}

/* Botón toggle password */
.toggle-password {
    border-radius: 0 0.5rem 0.5rem 0;
    border-color: #DEE2E6;
}

/* Botón primario */
.btn-primary {
    background: linear-gradient(90deg,#0b5cff,#0058d4);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
}

/* Tipografía para encabezado y subtítulo */
.login-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* peso fuerte para el título */
    font-size: 1.6rem; /* ajustar tamaño según diseño */
    letter-spacing: 1px; /* ligero tracking */
    text-transform: uppercase; /* texto en mayúsculas */
    color: #1C51FC  ; /* color aproximado (ajusta) */
    margin-bottom: 0.25rem;
}

.login-card small {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* subtítulo más ligero */
    font-size: 0.78rem;
    letter-spacing: 2px; /* mayor separación como en la imagen */
    text-transform: uppercase;
    color: rgba(11,47,138,0.65); /* tono azulado semitransparente */
    margin-bottom: 0.6rem;
}

/* Responsivo */
@media (max-width: 576px) {
    .login-card {
        width: 92%;
        margin: 1rem;
    }
}