:root {
    --primary: #1a3a6e;
    --primary-light: #325990;
    --primary-dark: #0d2349;
    --secondary: #00829b;
    --secondary-light: #33a0b6;
    --secondary-dark: #006277;
    --accent: #f8a13f;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --body-bg: #f5f7fa;
}

body {
    background-color: var(--body-bg);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
}

.app-header {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.app-header h1 {
    color: white;
    font-weight: 700;
    font-size: 1.75rem;
}

.app-header .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.stats-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.stats-badge:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.stats-badge .stats-number {
    font-weight: 700;
    color: white;
}

.stats-badge .stats-label {
    color: rgba(255, 255, 255, 0.85);
}

.app-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    margin-bottom: 2rem;
}

.app-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.app-card .card-header {
    background-color: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.25rem;
}

.app-card .card-title {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.app-card .card-body {
    padding: 1.5rem;
}

.filter-form .form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.filter-form .form-control {
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    padding: 0.5rem 0.75rem;
}

.filter-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 130, 155, 0.25);
}

.filter-buttons {
    margin-top: 1.5rem;
}

.table thead th {
    background-color: var(--gray-100);
    color: var(--gray-800);
    font-weight: 600;
    border-bottom: 2px solid var(--gray-300);
    padding: 1rem 0.75rem;
}

.table thead th:hover {
    background-color: var(--gray-200);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(0, 130, 155, 0.05);
}

.table tbody td {
    vertical-align: middle;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.amount-cell {
    font-weight: 600;
    text-align: right;
}

.chart-wrapper {
    margin-bottom: 2rem;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 1rem 0;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.select2-container .select2-search--inline .select2-search__field {
    height: 35px!important;

}


.select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--multiple {
    border-radius: 6px;
    border: 1px solid var(--gray-300);
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 130, 155, 0.25);
}

.select2-container--bootstrap-5 .select2-selection {
    border-color: #dee2e6;
    min-height: 38px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    padding: 0 8px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2px 8px;
    margin: 4px 4px 4px 0;
}

.select2-container--bootstrap-5 .select2-search--inline .select2-search__field {
    margin-top: 6px;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #dee2e6;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd;
}
*/
@media (max-width: 768px) {
    .app-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-badge {
        padding: 0.4rem 0.8rem;
    }
}