/* ---------------------------------------------------- */
/* ESTILOS GENERALES Y LAYOUT
/* ---------------------------------------------------- */
body {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif, sans-serif;
}

.container {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dashboard-footer {
    margin-top: 10px;
    padding-top: 10px;
    /* border-top: 1px solid #e0e0e0; */
    text-align: center;
    font-size: 0.9em;
    color: #6c757d;
}

.dashboard-footer a {
    color: #000099;
    text-decoration: none;
}

.dashboard-footer a:hover {
    text-decoration: underline;
}

.footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 5px;
}

/* ---------------------------------------------------- */
/* TIPOGRAFÍA
/* ---------------------------------------------------- */
h2, h3, h4 {
    color: #000099;
    margin-bottom: 25px;
	font-weight: bold; 
}

/* ---------------------------------------------------- */
/* BARRA DE NAVEGACIÓN (NAVBAR)
/* ---------------------------------------------------- */
.navbar {
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #000099 !important;
}

.navbar-brand, .navbar-nav .nav-link {
    color: #ffffff !important;
}

.navbar-nav .nav-link:hover {
    color: #cccccc !important;
}

.navbar-nav .nav-item .active-user {
    color: #ffffff;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    background-color: #000099;
}

.dropdown-item {
    color: #ffffff;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #000077;
    color: #ffffff;
}

/* ---------------------------------------------------- */
/* TABLAS
/* ---------------------------------------------------- */
.table thead th {
    background-color: #000099;
    color: white;
    vertical-align: middle;
}
.table thead th[data-sort-by] {
    cursor: pointer;
}
.table thead th[data-sort-by]:hover {
    background-color: #000077;
}
.sort-icon {
    margin-left: 5px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------- */
/* PÁGINA DE LOGIN Y RESETEO
/* ---------------------------------------------------- */
.login-container, .reset-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
    text-align: center;
}
.login-container h4, .reset-container h4 {
    color: #000066;
}


/* ---------------------------------------------------- */
/* DASHBOARD Y TARJETAS DE ESTADÍSTICAS
/* ---------------------------------------------------- */
.card-metric {
    background-color: #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.2s ease-in-out;
}
.card-metric-ponencia {
    background-color: #ccccff;
}
.card-metric:hover {
    transform: translateY(-5px);
}
.card-metric .value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000099;
    line-height: 1;
}
.card-metric .label {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Línea de Tiempo */
.timeline-horizontal-container { overflow-x: auto; padding: 20px 0; }
.timeline-horizontal { display: flex; flex-wrap: nowrap; position: relative; margin: 0; padding: 0; justify-content: center; }
.timeline-horizontal::before { content: ''; position: absolute; top: 25px; left: 0; right: 0; height: 4px; background-color: #e9ecef; z-index: 1; }
.timeline-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; padding: 0 15px; min-width: 180px; }
.timeline-step-icon { width: 50px; height: 50px; border-radius: 50%; background-color: #adb5bd; color: white; display: inline-flex; justify-content: center; align-items: center; font-size: 1.5rem; border: 4px solid #f8f9fa; margin-bottom: 10px; }
.timeline-step.past .timeline-step-icon { background-color: #6c757d; }
.timeline-step.present .timeline-step-icon { background-color: #198754; }
.timeline-step.future .timeline-step-icon { background-color: #0d6efd; }
.timeline-step.today .timeline-step-icon { background-color: #dc3545; }
.timeline-step-content { background-color: #f8f9fa; padding: 10px; border-radius: 6px; }
.timeline-step-title { font-weight: bold; font-size: 0.9rem; margin: 0; }
.timeline-step-date { font-size: 0.8rem; color: #6c757d; }


/* ---------------------------------------------------- */
/* BOTONES
/* ---------------------------------------------------- */
.btn-primary {
    background-color: #000099 !important;
    border-color: #000099 !important;
}
.btn-primary:hover {
    background-color: #000077 !important;
    border-color: #000077 !important;
}

