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

.container-fluid {
    padding: 0;
}

/* Header Styles */
.header {
    background-color: #C4212A;
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.logo {
    height: 40px;
    width: auto;
}

.header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.user-name {
    margin-right: 10px;
    font-weight: 500;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0.5rem 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Main Content Styles */
.main-content {
    padding: 2rem;
}

.section-title {
    margin-bottom: 0.5rem;
    color: #0056b3;
}

.section-description {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Report Section Styles */
.report-section {
    display: none;
}

.report-section.active {
    display: block;
}

/* Report Card Styles */
.report-grid {
    margin-top: 1.5rem;
}

.report-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.report-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.report-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0056b3;
}

.report-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Parameter Form Styles */
.parameter-form {
    display: none;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

/* Range Slider Styles */
.range-slider {
    position: relative;
    padding: 1rem 0;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Report Results Styles */
.report-header {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.report-meta {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.report-actions {
    display: flex;
    justify-content: flex-end;
}

.chart-container {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    height: 400px; /* Fixed height to prevent expansion */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative; /* For proper chart positioning */
}

.chart-container canvas {
    max-height: 320px !important; /* Ensure canvas doesn't exceed container */
}

.chart-container h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #0056b3;
}

.report-content {
    display: none;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
}

.alert h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.alert ul {
    margin-bottom: 0;
}

/* Table Styles */
.table-responsive {
    margin-top: 1rem;
}

.table th {
    background-color: #f8f9fa;
}

/* Modal Styles */
.modal-header {
    background-color: #0056b3;
    color: white;
}

.modal-header .btn-close {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .report-card {
        padding: 1rem;
    }
    
    .parameter-form {
        padding: 1.5rem;
    }
}
