body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.chart-container {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* Toggle button styles */
#toggleButton {
    min-width: 40px;
    transition: all 0.3s ease;
}

#toggleButton:hover {
    transform: scale(1.1);
}

#toggleIcon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

/* Smooth collapse animation */
.collapse {
    transition: height 0.35s ease;
}

.collapsing {
    transition: height 0.35s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin: 0 10px;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
}
