.sidebar {
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    padding: 20px;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #6c757d;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0d6efd;
    margin: 0;
}

.table th {
    font-weight: 600;
    color: #495057;
}

.table td {
    vertical-align: middle;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
        padding-top: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Personalización de gráficos */
canvas {
    max-height: 300px;
    width: 100% !important;
}

/* Estilos para los filtros */
.form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card {
    animation: fadeIn 0.5s ease-in;
}

/* Estilos para el formulario de predicción */
.needs-validation .form-label {
    font-weight: 500;
    color: #495057;
}

.needs-validation .form-control:focus,
.needs-validation .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Animaciones de confeti */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    top: -20px;
    opacity: 0;
    animation: confetti 3s ease-in-out infinite;
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Estilos para los resultados */
#predictionResult .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#positiveResult {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

#negativeResult {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

#negativeResult ul li {
    margin: 10px 0;
    color: #495057;
}