/* ============================================
   Estilos de Autenticación Local
   Usado en: login, forgot-password, reset-password
   ============================================ */

body {
    background-color: #f1f4f5;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Contenedor Principal
   ============================================ */

.login-container,
.forgot-container,
.reset-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card,
.forgot-card,
.reset-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ============================================
   Header
   ============================================ */

.login-header,
.forgot-header,
.reset-header {
    background-color: white;
    padding: 40px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f4f5;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container img {
    max-height: 50px;
    width: auto;
}

.login-header h1,
.forgot-header h1,
.reset-header h1 {
    font-size: 24px;
    font-weight: 300;
    color: #3b4858;
    margin: 0 0 5px 0;
}

.login-header p,
.forgot-header p,
.reset-header p {
    font-size: 14px;
    font-weight: 200;
    color: #677178;
    margin: 0;
}

/* ============================================
   Body
   ============================================ */

.login-body,
.forgot-body,
.reset-body {
    padding: 30px;
}

/* ============================================
   Checkbox (solo en login)
   ============================================ */

.checkbox {
    margin-bottom: 20px;
}

.checkbox label {
    font-size: 14px;
    font-weight: 300;
    color: #3b4858;
    cursor: pointer;
}

/* ============================================
   Enlaces
   ============================================ */

.forgot-password,
.back-to-login {
    text-align: center;
}

.forgot-password a,
.back-to-login a {
    color: #6c757d;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password a:hover,
.back-to-login a:hover {
    color: #3b4858;
    text-decoration: underline;
}

/* ============================================
   Botones
   ============================================ */

.btn-login,
.btn-reset {
    width: 100%;
    height: 33px;
    background-color: #005fab;
    border: 1px solid #005fab;
    border-radius: var(--border-radius-m);
    color: white;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-login:hover,
.btn-reset:hover {
    background-color: #004a8a;
    border-color: #004a8a;
}

/* ============================================
   Alertas
   ============================================ */

.alert {
    border-radius: var(--border-radius-m);
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
    padding: 12px 15px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}

.alert-success {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 13px;
    font-weight: 300;
    margin-top: 5px;
}

/* ============================================
   Info Box
   ============================================ */

.info-text {
    background-color: #e7f3ff;
    border-left: 3px solid #0d6efd;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-m);
    font-size: 13px;
    color: #084298;
    font-weight: 300;
}

/* ============================================
   Footer
   ============================================ */

.login-footer,
.forgot-footer,
.reset-footer {
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

.login-footer small,
.forgot-footer small,
.reset-footer small {
    color: #677178;
    font-size: 12px;
    font-weight: 300;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 576px) {
    .login-container,
    .forgot-container,
    .reset-container {
        padding: 15px;
    }
    
    .login-body,
    .forgot-body,
    .reset-body {
        padding: 20px;
    }
    
    .login-header,
    .forgot-header,
    .reset-header {
        padding: 30px 20px 15px;
    }
}
