@charset "utf-8";
/* CSS Document */

 
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            padding: 20px;
        }
        .header {
            background-color: #1e2164;
            color: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .header img {
            max-height: 160px;
            border-radius: 5px;
            background: #FFFFFF;
        }
        .header-text {
            flex: 1;
        }
        .header-text h1 {
            font-size: 1.8rem;
            margin-bottom: 5px;
        }
        .header-text p {
            font-size: 1rem;
            margin: 0;
        }
        .filter-section {
            background-color: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 25px;
        }
        .chart-container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            height: 160px;
             
        }
        .chart {
            width: 100%;
            min-height: 400px;
        }
        .chart-title {
            color: #0056b3;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 1.25rem;
        }
        .indicator-info {
            background-color: #f1f8ff;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            border-left: 4px solid #0056b3;
        }
        .nav-tabs {
            border-bottom: 2px solid #dee2e6;
            margin-bottom: 20px;
        }
        .nav-tabs .nav-link {
            color: #495057;
            border-radius: 8px 8px 0 0;
            padding: 10px 20px;
            font-weight: 500;
        }
        .nav-tabs .nav-link.active {
            color: #0056b3;
            border-color: #dee2e6 #dee2e6 #fff;
            border-bottom: 3px solid #0056b3;
            background-color: white;
        }
        .error-message {
            color: #dc3545;
            text-align: center;
            padding: 20px;
            font-weight: 500;
        }
        .loading-message {
            color: #6c757d;
            text-align: center;
            padding: 20px;
            font-weight: 500;
        }
        .chart-type-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
            margin-top: 20px;
        }
        .chart-type-btn {
            background-color: #f1f8ff;
            color: #0056b3;
            border: 1px solid #1e2164;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .chart-type-btn:hover {
            background-color: #e1f0ff;
        }
        .chart-type-btn.active {
            background-color: #1e2164;
            color: white;
        }

        /* Improved filter section styles */
        .filter-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .filter-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #495057;
            font-size: 0.95rem;
        }
        
        .filter-group .form-select {
            border-radius: 8px;
            border: 2px solid #e9ecef;
            padding: 12px 15px;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            min-height: 46px;
        }
        
        .filter-group .form-select:focus {
            border-color: #0056b3;
            box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
        }
        
        .filter-group .form-select[disabled] {
            background-color: #f8f9fa;
            opacity: 0.7;
        }
        
        /* Improved multi-select styling */
        .multi-select-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .multi-select {
            flex: 1;
            min-width: 200px;
            position: relative;
        }
        
        .multi-select-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }
        
        .select-all-btn {
            background: none;
            border: none;
            color: #0056b3;
            font-size: 0.8rem;
            cursor: pointer;
            padding: 2px 5px;
            border-radius: 4px;
        }
        
        .select-all-btn:hover {
            background-color: #e9ecef;
        }
        
        .multi-select select {
            height: auto;
            min-height: 120px;
        }
        
        .multi-select option {
            padding: 8px 12px;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .multi-select option:hover {
            background-color: #f1f8ff;
        }
        
        .multi-select option:checked {
            background-color: #0056b3;
            color: white;
        }
        
        /* Search box for dropdowns */
        .search-box {
            width: 100%;
            padding: 8px 12px;
            margin-bottom: 5px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        
        /* Loading indicator */
        .loading-indicator {
            position: absolute;
            right: 15px;
            top: 40px;
            color: #6c757d;
            font-size: 0.9rem;
            display: none;
        }
        
        .loading .loading-indicator {
            display: block;
        }
        
        /* Action buttons */
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        
        .btn-custom {
            background-color: #1e2164;
            color: white;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 500;
            transition: all 0.2s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;
        }
        
        .btn-custom:hover {
            background-color: #1e2164;
            transform: translateY(-1px);
            color: #F9FF00;
        }
        
        .btn-custom:active {
            transform: translateY(0);
        }
        
        .btn-custom i {
            margin-right: 8px;
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid #0056b3;
            color: #0056b3;
        }
        
        .btn-outline:hover {
            background-color: #f1f8ff;
            color: #0056b3;
        }
        .indicator-info {
    min-height: 120px; /* Ensure consistent height */
}

.indicator-description {
    background-color: #f8f9fa;
    border-left: 3px solid #0056b3;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.indicator-description p {
    margin-bottom: 0.5rem;
}

.indicator-description p:last-child {
    margin-bottom: 0;
}

.chart-legend-table {
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
}

.chart-legend-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.chart-legend-table th {
    background-color: #f2f2f2;
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
    font-weight: bold;
}


.chart-legend-table td {
    padding: 8px;
    border: 1px solid #ddd;
    word-break: break-word;
}


.color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border: 1px solid #ccc;
}

.multi-select {
    height: auto;
    min-height: 38px;
    max-height: 200px;
    overflow-y: auto;
}

.multi-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.select-all-btn {
    background: none;
    border: none;
    color: #0d6efd;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
}

.dimension-description {
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid #4e73df;
    margin-bottom: 10px;
}

.indicator-description {
    padding: 10px;
    background-color: #f0f8ff;
    border-left: 4px solid #1cc88a;
    margin-bottom: 10px;
}

.indicator-description p, .dimension-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}


.select-all-btn:hover {
    text-decoration: underline;
}

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .filter-group {
                margin-bottom: 15px;
            }
            
            .multi-select {
                min-width: 100%;
            }
            
            .btn-custom {
                width: 100%;
                padding: 12px;
            }
        }