
/* ==========================================================================
   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 {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden; 
    position: relative;
}


body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url('../img/portada.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    
    

}

.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;
}

.captcha-input {
    width: 100%;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.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;
}


.dynamic-toast {
    border-radius: 6px !important;
    padding: 10px 15px !important;
    margin-bottom: 20px !important;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0px 4px 12px rgba(217, 83, 79, 0.2); 
    animation: slideDownIn 0.4s ease-out;
}

@keyframes slideDownIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}