/* assets/css/login.css */
:root { 
    --primary-color: #003399; 
    --text-color: #333; 
    --bg-color: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }

body {
    background-color: var(--bg-color);
    display: flex; flex-direction: column; align-items: center;
    min-height: 100vh;
    padding-top: 8vh; padding-left: 20px; padding-right: 20px;
}

/* TARJETA CENTRAL */
.login-card, .card {
    background: white; width: 100%; max-width: 500px;
    text-align: center; margin-bottom: auto;
}

.logo-main { max-height: 100px; width: auto; margin-bottom: 0.5rem; }

h2 { margin-bottom: 2rem; color: #333; font-weight: 400; font-size: 1.2rem; }

/* FORMULARIOS E INPUTS */
.input-group, .section-label { margin-bottom: 1.2rem; text-align: left; }

.section-label { 
    font-size: 11px; font-weight: bold; color: #666; 
    margin: 20px 0 5px 0; text-transform: uppercase; 
}

input {
    width: 100%; padding: 14px;
    border: 1px solid #ccc; border-radius: 4px;
    font-size: 14px; color: #333;
}
input::placeholder { color: #888; text-transform: uppercase; }
input:focus { border-color: var(--primary-color); outline: none; }

/* NOTA */
.input-hint {
    font-size: 11px; color: #666; margin-top: 4px;
    font-style: normal; /* Eliminado italic */
    margin-left: 2px;
}

/* BOTONES */
.btn-main, .btn-save {
    width: 100%; padding: 14px;
    background-color: var(--primary-color); color: white;
    border: none; border-radius: 4px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    text-transform: uppercase; margin-bottom: 1.5rem; margin-top: 10px;
}
.btn-main:hover, .btn-save:hover { opacity: 0.9; }

.btn-gestion {
    display: flex; align-items: center; justify-content: flex-start;
    width: 100%; padding: 12px 15px;
    background-color: #e6e6e6; color: #003399;
    text-decoration: none; border-radius: 4px;
    font-size: 14px; font-weight: 700; border: none; gap: 15px;
    box-sizing: border-box;
}
.btn-gestion:hover { background-color: #dcdcdc; }

.btn-back { display: block; margin-top: 20px; color: #666; text-decoration: none; font-size: 14px; }
.btn-back:hover { color: #333; text-decoration: underline; }

.icon-gestion { height: 24px; width: auto; }

/* MENSAJES */
.error-msg, .alert {
    padding: 10px; border-radius: 4px; font-size: 12px; margin-bottom: 1.5rem; text-align: left;
}
.error-msg, .alert.error { background-color: #fff; color: #d93025; border: 1px solid #f5c6cb; border-left: 5px solid #d93025; }
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* FOOTER */
.footer-ap {
    display: flex; align-items: center; justify-content: center;
    gap: 15px; margin-top: auto; margin-bottom: 20px; white-space: nowrap; 
}
.logo-ap { height: 35px; width: auto; }
.footer-text { font-size: 11px; color: #888; line-height: 1.1; }
.footer-pipe { margin: 0 5px; color: #ccc; }