/* Modern card styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Better input styling */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Enhanced button styling */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Modern typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }

    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Success/Warning indicators */
.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #d97706 !important; /* Darker orange instead of yellow for better contrast */
}

.text-danger {
    color: #dc3545 !important;
}

/* Column distinction styling */
.parameters-column {
    border-right: 2px solid #dee2e6;
    border-radius: 8px 0 0 8px;
}

.results-column {
    border-left: 1px solid #dee2e6;
    border-radius: 0 8px 8px 0;
}

/* Enhanced card styling for different sections */
.parameters-card .card-header {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%) !important;
    color: white;
}

.results-card .card-header {
    background: linear-gradient(90deg, #28a745 0%, #1e7e34 100%) !important;
    color: white;
}

.sensitivity-card .card-header {
    background: linear-gradient(90deg, #ffc107 0%, #d97706 100%) !important;
    color: white;
}

/* Reduce vertical space in parameters card */
.parameters-card .card-body {
    padding: 1rem;
}

.parameters-card .card-body > * {
    margin-bottom: 0.75rem !important;
}

.parameters-card .card-body > *:last-child {
    margin-bottom: 0 !important;
}

.parameters-card hr {
    margin: 0.5rem 0 !important;
}

.parameters-card h5 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.95rem !important;
}

/* Tighter input group spacing */
.parameters-card .align-items-center {
    margin-bottom: 0.5rem !important;
}

/* Compact slider styling */
.parameters-card .rc-slider {
    margin: 0.25rem 0 0.5rem 0 !important;
}
