/* Vaccine Utilization Report System - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4FC3F7;
    --primary-dark: #29B6F6;
    --primary-light: #81D4FA;
    --primary-lighter: #B3E5FC;
    --primary-accent: #03A9F4;
    --secondary-color: #90A4AE;
    --success-color: #66BB6A;
    --warning-color: #FFA726;
    --error-color: #EF5350;
    --info-color: #42A5F5;
    --dark-color: #263238;
    --light-color: #F5F7FA;
    --border-color: #CFD8DC;
    --text-color: #37474F;
    --text-light: #78909C;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(79, 195, 247, 0.15);
    --shadow-lg: 0 4px 16px rgba(79, 195, 247, 0.2);
    --gradient-primary: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 50%, #03A9F4 100%);
    --gradient-light: linear-gradient(135deg, #81D4FA 0%, #4FC3F7 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8F4F8 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

/* Top Navigation Bar */
.top-navbar {
    background: #ffffff;
    color: #0f172a;
    padding: 0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    border-bottom: 1px solid #e2e8f0;
    pointer-events: auto;
}

.top-navbar * {
    pointer-events: auto;
}

/* Sidebar Navigation */
.sidebar-desktop,
.sidebar-mobile {
    width: 270px;
    background: #f8fafc;
    color: #111827;
    border-right: 1px solid #e2e8f0;
    box-shadow: none;
}

.sidebar-desktop,
.sidebar-mobile {
    position: relative;
}

.sidebar-desktop {
    position: fixed;
    top: 70px;
    left: 0;
    height: calc(100vh - 70px);
    padding: 1rem 0.75rem;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 900;
    overflow: hidden;
    background-color: #f8fafc;
}

.sidebar-mobile .offcanvas-header {
    border-bottom: 1px solid #e2e8f0;
    color: #111827;
}

.sidebar-mobile.offcanvas {
    background: #f8fafc;
    color: #111827;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0284c7;
}

.sidebar-brand-text .sidebar-title {
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-brand-text .sidebar-subtitle {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sidebar-nav {
    flex: 1;
    overflow: auto;
    padding-right: 0.25rem;
    padding-left: 0.35rem;
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 6px;
}

.sidebar-desktop .nav-link,
.sidebar-mobile .nav-link {
    color: #334155;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    margin: 0.25rem 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: #ffffff;
}

.sidebar-desktop .nav-link:hover,
.sidebar-mobile .nav-link:hover {
    border-color: #e2e8f0;
    background: #f1f5f9;
    color: #0f172a;
}

.sidebar-desktop .nav-link.active,
.sidebar-mobile .nav-link.active {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}

.sidebar-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 0 1rem;
    margin: 0.4rem 0 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0.75rem;
}

.sidebar-logout {
    color: #b91c1c;
}

.sidebar-logout i {
    color: #b91c1c;
    background: #fee2e2;
    box-shadow: inset 0 0 0 1px #fecaca;
}

.sidebar-logout:hover {
    color: #991b1b;
    background: #fef2f2;
}

.sidebar-logout:hover i {
    color: #991b1b;
    background: #fecaca;
}

.sidebar-desktop .nav-link i,
.sidebar-mobile .nav-link i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.sidebar-desktop .nav-link:hover i,
.sidebar-mobile .nav-link:hover i {
    color: #0f172a;
}

.sidebar-desktop .nav-link.active i,
.sidebar-mobile .nav-link.active i {
    background: #dbeafe;
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

@media (min-width: 992px) {
    .sidebar-desktop {
        display: flex;
    }

    body.has-sidebar .top-navbar {
        padding-left: 270px;
    }

    body.has-sidebar .main-content {
        margin-left: 270px;
        max-width: calc(100% - 270px);
    }
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    flex-shrink: 0;
}

.nav-brand i {
    font-size: 2rem;
    color: #2563eb;
}

.brand-name {
    white-space: nowrap;
}

/* Hamburger Menu Toggle */
.nav-toggle {
    border: none;
}

/* Navigation Menu */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: white;
    border-radius: 3px 3px 0 0;
}

.nav-link i {
    font-size: 1.1rem;
}

/* User Section */
.nav-user-section {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3500;
}

#themeToggle,
.user-dropdown,
.user-btn {
    position: relative;
    z-index: 3600;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.user-btn i:first-child {
    font-size: 1.5rem;
}

.user-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.user-dropdown.active .user-btn i:last-child {
    transform: rotate(180deg);
}

.user-name {
    white-space: nowrap;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 3100;
    overflow: hidden;
}

.user-dropdown.active .user-dropdown-menu,
.user-dropdown .user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #2563eb;
    color: white;
}

.user-info-header i {
    font-size: 2.5rem;
}

.user-full-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.user-role-badge {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dropdown-item.logout-item {
    color: var(--error-color);
}

.dropdown-item.logout-item:hover {
    background: #FFEBEE;
    color: var(--error-color);
}

.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    z-index: 0;
}

body.has-sidebar .main-content {
    transition: margin-left 0.2s ease;
    padding-top: 0 !important;
    margin-top: -420px;
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-box {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.login-header h1 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
}

.login-form {
    margin-top: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.readonly-field {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--gradient-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #616161;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
}

.btn-danger {
    background: var(--error-color);
    color: var(--white);
}

.btn-info {
    background: var(--info-color);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(79, 195, 247, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(79, 195, 247, 0.2);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.card-header h2 {
    color: var(--dark-color);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table thead {
    background: var(--light-color);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: rgba(79, 195, 247, 0.05);
    transition: background 0.2s;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-warning {
    background: #FFF3E0;
    color: #E65100;
}

.badge-error {
    background: #FFEBEE;
    color: #C62828;
}

.badge-info {
    background: #E0F7FA;
    color: #006064;
}

.badge-secondary {
    background: #F5F5F5;
    color: #616161;
}

.expired-row {
    background-color: #FFEBEE !important;
}

.expiring-row {
    background-color: #FFF3E0 !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.status-draft { background: #6c757d; }
.status-submitted { background: #0d6efd; }
.status-verified { background: #198754; }
.status-rejected { background: #dc3545; }

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border-left: 4px solid var(--error-color);
}

.alert-warning {
    background: #FFF3E0;
    color: #E65100;
    border-left: 4px solid var(--warning-color);
}

.alert-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-size: 1rem;
    line-height: 1;
}

.alert-close:hover {
    opacity: 1;
}

/* Dashboard */
.dashboard {
    margin-bottom: 2rem;
    margin-top: -420px;
    padding-top: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(79, 195, 247, 0.1);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.25);
    border-color: rgba(79, 195, 247, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    background: var(--primary-color) !important;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.dashboard-card h2 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Reports */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.report-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.report-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.report-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.report-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.report-summary {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.report-summary h2,
.report-summary h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.form-help-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.monitoring-table {
    font-size: 0.85rem;
}

.monitoring-table th {
    white-space: nowrap;
    font-size: 0.8rem;
}

.vaccine-select {
    min-width: 140px;
}

.wastage-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.legend-item {
    padding: 0.5rem;
    background: #f9f9f9;
    border-left: 3px solid var(--primary-color);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
}

.detail-item span {
    color: var(--text-color);
    font-size: 1rem;
}

.detail-item-full {
    grid-column: 1 / -1;
}

.detail-section-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.detail-section-title.border-danger {
    border-bottom-color: #dc3545;
    color: #dc3545;
}

.stats-mini {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.stat-mini {
    text-align: center;
}

.stat-mini h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.stat-mini p {
    color: var(--text-light);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 250px;
}

.filter-form {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #334155;
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content p {
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Import Forms */
.import-instructions {
    background: rgba(79, 195, 247, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.template-download {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.import-instructions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.import-instructions ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.import-instructions ol li {
    margin-bottom: 0.5rem;
}

.import-form {
    margin-top: 2rem;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(79, 195, 247, 0.05);
}

.file-upload-label i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-upload-label span {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.file-upload-label small {
    color: var(--text-light);
    font-size: 0.875rem;
}

.health-centers-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.health-centers-list h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.health-centers-list .data-table {
    font-size: 0.9rem;
}

/* Login Page New Design - Two Panel Layout */
.login-page-new {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.login-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-shape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 15s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.2;
    }
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.login-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Panel: Informational */
.login-info-panel {
    flex: 0 0 40%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset -2px 0 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.login-info-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.info-content {
    text-align: center;
    color: white;
}

.info-icon-wrapper {
    margin-bottom: 2rem;
}

.info-icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.info-icon-circle i {
    font-size: 4.5rem;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.info-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.info-subtitle {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
}

.info-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-features {
    margin-top: 3rem;
    text-align: left;
    max-width: 300px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.feature-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Right Panel: Login Form */
.login-form-panel {
    flex: 0 0 60%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.login-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.form-panel-content {
    width: 100%;
    max-width: 450px;
}

.form-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.logo-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.logo-icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--dark-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.welcome-section {
    margin-bottom: 2.5rem;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.login-form-new {
    margin-top: 2rem;
}

.form-group-new {
    margin-bottom: 1.5rem;
}

.form-group-new {
    margin-bottom: 1.75rem;
}

.form-group-new label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group-new label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper.focused .input-focus-line {
    width: 100%;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s;
}

.input-wrapper.focused .input-icon {
    color: var(--primary-dark);
}

.input-icon-right {
    position: absolute;
    right: 1.25rem;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s;
}

.input-icon-right:hover {
    color: var(--primary-color);
}

.form-group-new input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: #F8F9FA;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.form-group-new input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.15);
    transform: translateY(-2px);
    padding-left: 3.5rem;
}

.form-group-new input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group-new input::placeholder {
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-btn-new {
    width: 100%;
    padding: 1.1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.login-btn-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.5);
    background: var(--gradient-light);
}

.login-btn-new:active {
    transform: translateY(-1px);
}

.login-btn-new i {
    transition: transform 0.3s;
}

.login-btn-new:hover i {
    transform: translateX(3px);
}

.btn-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.login-btn-new:active {
    transform: translateY(0);
}

.login-btn-new i {
    font-size: 0.9rem;
}

.login-footer-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.default-credentials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(79, 195, 247, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.default-credentials i {
    color: var(--primary-color);
}

.default-credentials strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.alert-error-new {
    background: #FFEBEE;
    border-left: 4px solid #F44336;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    animation: shake 0.5s;
}

.alert-icon {
    font-size: 1.5rem;
    color: #F44336;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    color: #C62828;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.alert-content p {
    color: #C62828;
    margin: 0;
    font-size: 0.9rem;
}

.alert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.alert-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.login-page-footer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    text-align: center;
    color: white;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.login-page-footer p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-wrapper {
        flex-direction: column;
    }
    
    .login-info-panel {
        flex: 0 0 auto;
        min-height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .login-form-panel {
        flex: 0 0 auto;
        min-height: calc(100vh - 380px);
    }
    
    .info-title {
        font-size: 2rem;
    }
    
    .info-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .login-info-panel,
    .login-form-panel {
        padding: 2rem 1.5rem;
    }
    
    .info-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .info-icon-circle i {
        font-size: 3rem;
    }
    
    .info-title {
        font-size: 1.75rem;
    }
    
    .welcome-title {
        font-size: 1.75rem;
    }
}

/* Advanced Features */

/* Notification System */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

.notification {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    border-left: 4px solid;
    min-width: 300px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left-color: var(--success-color);
    background: #E8F5E9;
}

.notification-error {
    border-left-color: var(--error-color);
    background: #FFEBEE;
}

.notification-warning {
    border-left-color: var(--warning-color);
    background: #FFF3E0;
}

.notification-info {
    border-left-color: var(--info-color);
    background: #E3F2FD;
}

.notification i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-success i {
    color: var(--success-color);
}

.notification-error i {
    color: var(--error-color);
}

.notification-warning i {
    color: var(--warning-color);
}

.notification-info i {
    color: var(--info-color);
}

.notification span {
    flex: 1;
    color: var(--text-color);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.notification-close:hover {
    opacity: 1;
}

/* Bulk Operations */
.bulk-actions {
    background: var(--primary-lighter);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

.bulk-actions-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.selected-count {
    font-weight: 600;
    color: var(--primary-dark);
}

.bulk-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Advanced Search Highlight */
.search-highlight {
    background: #FFF9C4 !important;
    font-weight: 600;
}

/* Form Validation */
.field-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.1) !important;
}

input.valid,
select.valid,
textarea.valid {
    border-color: var(--success-color) !important;
}

/* Chart Container */
.dashboard-card canvas {
    max-height: 300px;
    width: 100% !important;
}

/* Export Button Enhancement */
.btn-export {
    position: relative;
    overflow: hidden;
}

.btn-export::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-export:active::after {
    width: 300px;
    height: 300px;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced Table Features */
.data-table .row-checkbox {
    width: 40px;
    text-align: center;
}

.data-table .select-all {
    width: 40px;
    text-align: center;
}

/* Print Styles */
@media print {
    .navbar,
    .page-actions,
    .btn,
    .search-form,
    .filter-form,
    .bulk-actions,
    .notification-container {
        display: none;
    }
    
    .main-content {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .nav-menu-wrapper {
        background: var(--gradient-primary);
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .nav-menu {
        width: 100%;
        gap: 0.25rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        justify-content: flex-start;
    }

    .nav-user-section {
        margin: 0;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .user-btn {
        width: 100%;
        justify-content: space-between;
    }

    .main-content {
        padding: 1rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }
}

/* Day/Night Theme Support */
html[data-bs-theme="dark"] body {
    background: #0b1220;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .top-navbar {
    background: #0f172a;
    color: #e2e8f0;
    border-bottom-color: #1f2937;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

html[data-bs-theme="dark"] .nav-brand,
html[data-bs-theme="dark"] .nav-brand .brand-name {
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .sidebar-desktop,
html[data-bs-theme="dark"] .sidebar-mobile {
    background: #0f172a;
    color: #e2e8f0;
    border-right-color: #1f2937;
}

html[data-bs-theme="dark"] .sidebar-brand,
html[data-bs-theme="dark"] .sidebar-section-title {
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .sidebar-brand {
    background: #0b1220;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .sidebar-logo {
    background: #111827;
    color: #7dd3fc;
}

html[data-bs-theme="dark"] .sidebar-brand-text .sidebar-subtitle {
    color: #94a3b8;
}

html[data-bs-theme="dark"] .nav-link {
    color: #e2e8f0;
    background: #0f172a;
    border: 1px solid #1f2937;
}

html[data-bs-theme="dark"] .sidebar-desktop .nav-link i,
html[data-bs-theme="dark"] .sidebar-mobile .nav-link i {
    background: #111827;
    color: #e2e8f0;
    box-shadow: inset 0 0 0 1px #1f2937;
}

html[data-bs-theme="dark"] .sidebar-desktop .nav-link:hover i,
html[data-bs-theme="dark"] .sidebar-mobile .nav-link:hover i {
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .sidebar-desktop .nav-link.active i,
html[data-bs-theme="dark"] .sidebar-mobile .nav-link.active i {
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px #1d4ed8;
}

html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link.active {
    background: #111827;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .nav-link i,
html[data-bs-theme="dark"] .nav-link span {
    color: inherit;
}

html[data-bs-theme="dark"] .sidebar-logout {
    color: #fecaca;
}

html[data-bs-theme="dark"] .sidebar-logout:hover {
    background: #111827;
    color: #fecaca;
}

html[data-bs-theme="dark"] .user-btn {
    color: #e2e8f0;
    border-color: #334155;
    background: #0f172a;
}

html[data-bs-theme="dark"] .user-dropdown-menu {
    background: #0f172a;
    border-color: #1f2937;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .user-info-header {
    background: #111827;
    border-bottom: 1px solid #1f2937;
}

html[data-bs-theme="dark"] .user-info-header,
html[data-bs-theme="dark"] .user-info-header .user-full-name,
html[data-bs-theme="dark"] .user-info-header .user-role-badge {
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .dropdown-item {
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .dropdown-item:hover {
    background: #111827;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .dropdown-item.logout-item {
    color: #fecaca;
}

html[data-bs-theme="dark"] .dropdown-item.logout-item:hover {
    background: #2b1b1b;
    color: #fecaca;
}

html[data-bs-theme="dark"] .stat-card {
    background: #0f172a;
    border-color: #1e293b;
}

html[data-bs-theme="dark"] .stat-content h3,
html[data-bs-theme="dark"] .page-title,
html[data-bs-theme="dark"] .card-header h2,
html[data-bs-theme="dark"] .dashboard-card h2 {
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .dashboard-card,
html[data-bs-theme="dark"] .report-card,
html[data-bs-theme="dark"] .login-box {
    background: #0f172a;
    border-color: #1e293b;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .data-table thead {
    background: #111827;
}

html[data-bs-theme="dark"] .data-table th,
html[data-bs-theme="dark"] .data-table td {
    color: #e2e8f0;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .form-group input,
html[data-bs-theme="dark"] .form-group select,
html[data-bs-theme="dark"] .form-group textarea {
    background: #0f172a;
    color: #e2e8f0;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .btn-outline-secondary {
    color: #e2e8f0;
    border-color: #334155;
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background: #111827;
    border-color: #475569;
}

html[data-bs-theme="dark"] .footer {
    background: #0b1220;
    color: #e2e8f0;
    border-top: 1px solid #1f2937;
}

