/* =======================================================
   TEMA INSTITUCIONAL AZUL REY (CONFECAP) - ACCESO / LOGIN
   ======================================================= */
:root {
    --brand-blue: #0c326f;
    --brand-blue-dark: #071e45;
    --brand-blue-hover: #08214d;
    --brand-blue-subtle: #eaf1fc;
}

body {
    /* Degradado institucional azul rey profundo */
    background: linear-gradient(135deg, #0c326f 0%, #071e45 60%, #04122b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background-color: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 15px 35px rgba(4, 18, 43, 0.35);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    border-top: 4px solid #0c326f; /* Borde superior en azul rey */
    position: relative;
}

.brand-logo {
    color: #0c326f;
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.brand-logo i {
    filter: drop-shadow(0 2px 4px rgba(12, 50, 111, 0.2));
}

.login-title {
    color: #0c326f;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 3px;
    background-color: #0c326f; /* Acento en azul rey */
    border-radius: 2px;
}

/* Estilización de los inputs al hacer focus */
.form-control:focus {
    border-color: #0c326f !important;
    box-shadow: 0 0 0 0.25rem rgba(12, 50, 111, 0.22) !important;
}

.input-group-text {
    border-color: #dee2e6;
}

.form-check-input:checked {
    background-color: #0c326f;
    border-color: #0c326f;
}

.form-check-input:focus {
    border-color: #0c326f;
    box-shadow: 0 0 0 0.25rem rgba(12, 50, 111, 0.22);
}

.text-primary {
    color: #0c326f !important;
    transition: color 0.2s ease;
}

a.text-primary:hover {
    color: #071e45 !important;
}

.btn-primary {
    background-color: #0c326f !important;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ffffff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #071e45 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(12, 50, 111, 0.4);
    color: #ffffff !important;
}

.text-muted-custom {
    color: #526077;
    font-size: 0.9rem;
}