/* Importar fuente profesional de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f6f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Para que el footer se quede abajo */
}

/* --- Cabecera de Logos --- */
.header-logo {
    height: 70px;
    object-fit: contain;
}

.header-title {
    letter-spacing: 1px;
    color: #1a252f !important;
}

/* --- Barra de Navegación Institucional --- */
.custom-navbar {
    background: linear-gradient(90deg, #1a252f 0%, #2c3e50 100%) !important;
    border-bottom: 3px solid #b8860b; /* Línea dorada institucional */
}

/* El contenedor principal empuja el footer hacia abajo */
.main-container {
    flex: 1;
    margin-bottom: 40px;
}

/* --- Tarjetas (Cards) --- */
.card {
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* --- Tablas --- */
.table-hover tbody tr:hover {
    background-color: #f1f4f8;
}

.table-dark th {
    background-color: #2c3e50 !important;
    border-color: #34495e !important;
}

/* Mejorar lectura de colores de estado */
.text-warning {
    color: #d97706 !important; /* Un naranja más oscuro para que se lea mejor sobre fondo blanco */
}

/* --- Footer --- */
footer {
    background: #1a252f !important;
    border-top: 3px solid #b8860b;
}