/* Askıda-Destek Projesi - Modern Estetik Stil Dosyası */

:root {
    /* Kurumsal Koyu Lacivert Palet */
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #475569;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0284c7;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --sidebar-bg: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background-color: #f1f5f9;
    color: #1e293b;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sidebar Styles - Modern & Estetik */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: white;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 1.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.sidebar-header h4 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar-header h4 i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.sidebar-header small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: block;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-nav .nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 0.25rem;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    margin: 0.125rem 0;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
    text-decoration: none;
}

.sidebar-nav .nav-link:hover::before {
    height: 60%;
}

.sidebar-nav .nav-link.active {
    background: rgba(30, 58, 138, 0.2);
    color: white;
    border-left-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.sidebar-nav .nav-link.active::before {
    height: 100%;
    background: var(--primary-color);
}

.sidebar-nav .nav-link i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sidebar-nav .nav-link:hover i {
    transform: scale(1.1);
}

.sidebar-nav .nav-link span {
    flex: 1;
    white-space: nowrap;
}

.sidebar.collapsed .sidebar-nav .nav-link span {
    display: none;
}

.sidebar.collapsed .sidebar-header h4 {
    font-size: 0;
}

.sidebar.collapsed .sidebar-header h4 i {
    font-size: 1.8rem;
}

.sidebar.collapsed .sidebar-header small {
    display: none;
}

.sidebar-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.sidebar-footer .user-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
    color: white;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.sidebar-footer .user-info i {
    font-size: 2.25rem;
    flex-shrink: 0;
    color: var(--primary-light);
}

.sidebar-footer .user-info div {
    flex: 1;
    min-width: 0;
}

.sidebar-footer .user-info strong {
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.sidebar-footer .user-info small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
    text-transform: capitalize;
}

.sidebar.collapsed .sidebar-footer .user-info div {
    display: none;
}

.sidebar-footer .btn {
    width: 100%;
    text-decoration: none;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: white;
    padding: 0.625rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-footer .btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f1f5f9;
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

.content-wrapper {
    flex: 1;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    background-color: #f1f5f9;
}

/* Navbar */
.navbar {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1rem 1.5rem;
    background-color: #fff !important;
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .btn-link {
    color: #475569;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.navbar .btn-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.navbar-text {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-text i {
    color: var(--primary-color);
}

.navbar .dropdown-toggle {
    border: none;
    background: transparent;
    color: #475569;
}

.navbar .dropdown-toggle:hover {
    color: var(--primary-color);
}

.navbar .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

/* Page Header */
.page-header {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.page-header .text-muted {
    font-size: 1rem;
    margin: 0;
    color: #64748b;
    font-weight: 400;
}

/* Cards - Modern Design */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.card-header {
    background: var(--primary-color);
    color: white;
    border-radius: 0 !important;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    border: none;
    font-size: 1.05rem;
}

.card-header h5 {
    color: white;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-body .list-group {
    margin: 0;
}

.card-body .list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 0;
    background: transparent;
}

.card-body .list-group-item:first-child {
    border-top: none;
    padding-top: 0;
}

.card-body .list-group-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Stats Cards - Modern & Vibrant */
.stat-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stat-card .stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.stat-card .stat-icon.bg-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
}

.stat-card .stat-icon.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
}

.stat-card .stat-icon.bg-info {
    background: linear-gradient(135deg, var(--info-color), #0891b2) !important;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
}

/* Yatay İstatistik Kartları (Restoran Paneli) */
.stat-card-horizontal {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.stat-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.stat-card-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.stat-horizontal-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.stat-icon-horizontal {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stat-icon-horizontal.bg-primary {
    background: var(--primary-color) !important;
}

.stat-icon-horizontal.bg-success {
    background: var(--success-color) !important;
}

.stat-icon-horizontal.bg-warning {
    background: var(--warning-color) !important;
}

.stat-icon-horizontal.bg-info {
    background: var(--info-color) !important;
}

.stat-horizontal-text {
    flex: 1;
    min-width: 0;
}

.stat-value-horizontal {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.stat-label-horizontal {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

/* Responsive - Yatay İstatistik Kartları */
@media (max-width: 768px) {
    .stat-horizontal-content {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .stat-icon-horizontal {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .stat-value-horizontal {
        font-size: 1.5rem;
    }
    
    .stat-label-horizontal {
        font-size: 0.75rem;
    }
}

/* Kompakt İstatistik Kartları */
.stat-card-compact {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: auto;
    min-height: 80px;
}

.stat-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.stat-icon-compact {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-icon-compact.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.stat-icon-compact.bg-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
}

.stat-icon-compact.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
}

.stat-icon-compact.bg-info {
    background: linear-gradient(135deg, var(--info-color), #0891b2) !important;
}

.stat-content-compact {
    flex: 1;
    min-width: 0;
}

.stat-value-compact {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.stat-label-compact {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
}

/* İnline İstatistik Kartları - İkon yanında rakam */
.stat-card-inline {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    height: auto;
    min-height: 70px;
}

.stat-card-inline:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.stat-inline-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon-inline {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stat-icon-inline.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.stat-icon-inline.bg-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
}

.stat-icon-inline.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
}

.stat-icon-inline.bg-info {
    background: linear-gradient(135deg, var(--info-color), #0891b2) !important;
}

.stat-text-inline {
    flex: 1;
    min-width: 0;
}

.stat-value-inline {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0.15rem;
}

.stat-label-inline {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
}

/* Accordion Stilleri */
.accordion-button {
    background: white;
    border: none;
    box-shadow: none;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.accordion-body {
    background: white;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
}

/* Tables */
.table {
    background: white;
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #475569;
    padding: 1rem;
    border-top: none;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
    color: #334155;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
    cursor: pointer;
}

.table-sm {
    font-size: 0.9rem;
}

.table-sm th,
.table-sm td {
    padding: 0.75rem;
}

/* Buttons - Modern */
.btn {
    border-radius: 10px;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    background: var(--primary-dark);
    color: white;
}

.btn-light {
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-light:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Badges */
.badge {
    padding: 0.4em 0.7em;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: var(--card-shadow);
    padding: 1rem 1.25rem;
}

/* Footer */
.footer {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    background-color: #fff !important;
    padding: 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .stat-card-compact {
        margin-bottom: 0.75rem;
    }
    
    .stat-icon-compact {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .stat-value-compact {
        font-size: 1.5rem;
    }
    
    .stat-label-compact {
        font-size: 0.7rem;
    }
    
    .stat-card-inline {
        padding: 0.75rem 1rem;
        min-height: 60px;
    }
    
    .stat-icon-inline {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .stat-value-inline {
        font-size: 1.5rem;
    }
    
    .stat-label-inline {
        font-size: 0.7rem;
    }
    
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}

/* Dashboard Modern Cards */
.section-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-title i {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
    font-weight: 400;
}

.stat-card-modern {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 75px;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 1;
    transition: opacity 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card-modern.stat-card-primary::before {
    background: var(--primary-color);
    opacity: 1;
}

.stat-card-modern.stat-card-success::before {
    background: var(--success-color);
    opacity: 1;
}

.stat-card-modern.stat-card-warning::before {
    background: var(--warning-color);
    opacity: 1;
}

.stat-card-modern.stat-card-info::before {
    background: var(--info-color);
    opacity: 1;
}

.stat-card-modern.stat-card-danger::before {
    background: var(--danger-color);
    opacity: 1;
}

.stat-modern-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-modern-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card-modern:hover .stat-modern-icon {
    transform: scale(1.05);
}

.stat-card-modern.stat-card-primary .stat-modern-icon {
    background: var(--primary-color);
    color: white;
}

.stat-card-modern.stat-card-success .stat-modern-icon {
    background: var(--success-color);
    color: white;
}

.stat-card-modern.stat-card-warning .stat-modern-icon {
    background: var(--warning-color);
    color: white;
}

.stat-card-modern.stat-card-info .stat-modern-icon {
    background: var(--info-color);
    color: white;
}

.stat-card-modern.stat-card-danger .stat-modern-icon {
    background: var(--danger-color);
    color: white;
}

.stat-modern-text {
    flex: 1;
}

.stat-modern-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.stat-card-modern.stat-card-primary .stat-modern-value {
    color: var(--primary-color);
}

.stat-card-modern.stat-card-success .stat-modern-value {
    color: var(--success-color);
}

.stat-card-modern.stat-card-warning .stat-modern-value {
    color: var(--warning-color);
}

.stat-card-modern.stat-card-info .stat-modern-value {
    color: var(--info-color);
}

.stat-card-modern.stat-card-danger .stat-modern-value {
    color: var(--danger-color);
}

.stat-modern-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Chart Card */
.chart-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
}

.chart-header {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
}

.chart-header h5 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.chart-header small {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    display: block;
    margin-top: 0.25rem;
}

.chart-body {
    padding: 1.5rem;
    background: #f8fafc;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.25rem;
    }
    
    .stat-card-modern {
        padding: 1.25rem;
    }
    
    .stat-modern-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .stat-modern-value {
        font-size: 1.75rem;
    }
    
    .chart-body {
        padding: 1.5rem;
        min-height: 300px;
    }
}

/* Select2 Custom Styles */
.select2-container--bootstrap-5 .select2-selection {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    min-height: 38px;
    padding: 2px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    padding-left: 12px;
    padding-right: 28px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.select2-container--bootstrap-5 .select2-results__option {
    padding: 8px 12px;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: var(--primary-color);
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

/* Utility Classes */
.text-muted {
    color: #64748b !important;
}

.border-bottom {
    border-bottom: 1px solid #e2e8f0 !important;
}
