/* Estilos generales */
body {
    background-color: #f8f9fa;
}

/* Estilos para las tarjetas */
.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Estilos para las métricas */
.display-6 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}

.card-title {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Estilos para la barra de navegación */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    font-weight: 600;
}

/* Estilos para las gráficas */
canvas {
    margin: 1rem 0;
}

/* Contenedor principal */
.container {
    padding: 2rem 1rem;
}

/* Estilos para los títulos */
h1 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Estilos para las alertas */
.alert {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilos para los botones */
.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

/* Estilos para los botones flotantes de navegación */
.scroll-button {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    color: white;
}

.scroll-to-summary {
    bottom: 30px;
    background-color: #3498db;
}

.scroll-to-results {
    bottom: 90px;
    background-color: #2980b9;
}

.scroll-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.scroll-to-summary:hover {
    background-color: #2980b9;
}

.scroll-to-results:hover {
    background-color: #3498db;
}
