
/* ==========================================================================
   ESTILOS CONTROLADOS PARA LOGIN C5 (CORRECCIÓN DE MAQUETACIÓN)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700|Roboto:300,400,500,700");





body {
    background: url('../img/portada2.png') no-repeat center center fixed;
    background-size: cover;
}

/* Capa 1: Las partículas flotan sobre la imagen de fondo */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; 
    pointer-events: none; /* Esto permite hacer clic a través de las partículas */
}

/* Capa 2: Tu cuadro de login debe tener un z-index superior para que esté al frente */
.login-pantalla-completa {
    position: relative;
    z-index: 10;
}

.login-pantalla-completa {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    z-index: 1; 
}
.login-wrapper {
    width: 100%;
    max-width: 420px; 
    padding: 15px;    
    box-sizing: border-box;
}


.login-box {
    background: #ffffff !important; 
    border-radius: 8px !important;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3) !important; 
    border: none !important;
    margin-bottom: 0 !important;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header h3 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    font-size: 22px;
}

.login-header p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.linea-separadora {
    margin-top: 12px;
    border-top: 1px solid #eee;
}


.form-group {
    display: flex !important;
    flex-direction: column !important; 
    margin-bottom: 15px;
    text-align: left;
}

.login-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    font-size: 14px;
}

.login-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Bloque del CAPTCHA */
.captcha-container {
    display: flex !important;
    flex-direction: column !important;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 15px;
    margin-bottom: 15px;
}

.captcha-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 13px;
}

.captcha-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px;
    background: #fff;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#captcha-img {
    height: 35px;
    max-width: 70%;
}

.btn-refresh {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}



.btn-submit {
    width: 100%;
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
}

.btn-submit:hover {
    background-color: #219653;
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.register-footer p {
    color: #666;
    margin: 0 0 5px 0;
}

.register-link {
    color: #27ae60;
    font-weight: bold;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

#alerta-login {
    display: none;
    position: relative !important;
    width: 100% !important; /* Ajuste al 100% del contenedor */
    box-sizing: border-box !important; /* IMPORTANTE: Esto evita que el padding sume ancho extra */
    margin: 10px 0 !important;
    padding: 10px 15px !important;
    border: 1px solid transparent; /* Alineación con el borde de los inputs */
}
/* Para que el toast no se vea raro con los otros estilos */
.dynamic-toast {
    border-radius: 6px !important;
    padding: 10px 15px !important;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0px 4px 12px rgba(217, 83, 79, 0.2); 
    animation: slideDownIn 0.4s ease-out;
}


