/* Estilos Complementarios para el Acceso - CBTis 47 (2026) */

body {
    background-color: #f5f7fa;
    font-family: sans-serif;
}


/* Manejo de la cabecera de logotipos */
.login_header {
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #e1e4e8;
}

.header_logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logo_sep {
    height: 45px;
    width: auto;
}

.divisor_logos {
    width: 1px;
    height: 35px;
    background-color: #d4c19c; /* Tono dorado institucional */
}

.logo_dgeti {
    height: 40px;
    width: auto;
}

/* Títulos de sección */
.e_titulo_carrera {
    font-size: 24px;
    color: #69132C; /* Guinda institucional */
    text-align: center;
    margin: 15px 0;
    font-weight: bold;
}

.e_subtitulo_acceso {
    font-size: 18px;
    color: #235B4E; /* Verde complementario */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Cajas de instrucciones */
.e_instrucciones_box {
    background-color: #fdfae6;
    border-left: 4px solid #b38e5d;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
}

.e_instrucciones_box ul {
    margin: 0;
    padding-left: 20px;
    color: #614003;
    font-size: 14px;
}

/* Formulario moderno centrado */
.acc_main_login {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contenedor_login_fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Efecto de Etiqueta Flotante (Floating Label) */
.login_field_group {
    position: relative;
    width: 100%;
}

.input_login_style {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.input_login_style:focus {
    border-color: #69132C;
    outline: none;
}

.label_login_style {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 0 4px;
    color: #777777;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

/* Cuando el campo tiene foco o no está vacío, la etiqueta sube */
.input_login_style:focus ~ .label_login_style,
.input_login_style:not(:placeholder-shown) ~ .label_login_style {
    top: 0;
    font-size: 12px;
    color: #69132C;
    font-weight: bold;
}

/* Botón de Enviar Estilizado */
.btn_login_submit {
    background-color: #69132C;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 3px 6px rgba(105, 19, 44, 0.2);
}

.btn_login_submit:hover {
    background-color: #9F2241;
}

.btn_login_submit:active {
    transform: scale(0.98);
}

/* Footer de la vista de login */
.login_footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 13px;
    color: #666666;
    border-top: 1px solid #e1e4e8;
}

.pie_plantel {
    margin-top: 15px;
    font-weight: bold;
    color: #333333;
}

/* Adaptación para pantallas móviles */
@media screen and (max-width: 600px) {
    .acc_main_login {
        margin: 20px 15px;
        padding: 20px;
    }
    .header_logos {
        justify-content: center;
    }
    .e_titulo_carrera {
        font-size: 20px;
    }
}