:root {
    --site-bg-900: #06131a;
    --site-bg-850: #0a1b24;
    --site-bg-800: #0d2531;
    --site-surface-1: rgba(10, 31, 42, 0.82);
    --site-surface-2: rgba(12, 39, 52, 0.68);
    --site-surface-3: rgba(255, 255, 255, 0.08);
    --site-line-soft: rgba(132, 214, 228, 0.22);
    --site-line-strong: rgba(169, 244, 255, 0.38);
    --site-text-main: #ecf7fb;
    --site-text-soft: #b8d1db;
    --site-accent-a: #63d7c5;
    --site-accent-b: #2db6ff;
    --site-accent-c: #ff8f5a;
    --site-shadow: 0 24px 70px rgba(1, 12, 18, 0.34);
}

html {
    scroll-behavior: smooth;
}

body.site-theme {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif !important;
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 10%, rgba(99, 215, 197, 0.18), transparent 42%),
        radial-gradient(circle at 82% 16%, rgba(45, 182, 255, 0.16), transparent 38%),
        linear-gradient(150deg, var(--site-bg-900) 0%, var(--site-bg-850) 44%, var(--site-bg-800) 100%) !important;
    color: var(--site-text-main) !important;
    position: relative;
    overflow-x: hidden;
}

body.site-theme::before,
body.site-theme::after {
    content: '';
    position: fixed;
    width: min(40vw, 420px);
    height: min(40vw, 420px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
    opacity: 0.5;
}

body.site-theme::before {
    background: radial-gradient(circle, rgba(45, 182, 255, 0.3), transparent 62%);
    top: -120px;
    right: -80px;
}

body.site-theme::after {
    background: radial-gradient(circle, rgba(255, 143, 90, 0.22), transparent 64%);
    left: -80px;
    bottom: 12vh;
}

body.site-theme > * {
    position: relative;
    z-index: 1;
}

body.site-theme a {
    color: #a9f4ff;
}

body.site-theme .container,
body.site-theme .content,
body.site-theme .main-content,
body.site-theme .dashboard-container,
body.site-theme .page-wrapper {
    position: relative;
    z-index: 1;
}

body.site-theme .header,
body.site-theme .page-header,
body.site-theme .top-bar,
body.site-theme .header-bar,
body.site-theme .nav-header {
    background: rgba(3, 18, 25, 0.74) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: 0 12px 40px rgba(0, 10, 16, 0.34) !important;
    backdrop-filter: blur(18px);
    color: var(--site-text-main) !important;
}

body.site-theme .header,
body.site-theme .nav-header {
    border-radius: 20px;
}

body.site-theme .logo-section {
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
}

body.site-theme .logo-section img {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 3px 14px rgba(99, 215, 197, 0.22));
}

body.site-theme .nav-header {
    position: fixed !important;
    top: 18px !important;
    left: 24px !important;
    right: auto !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.site-theme .nav-header a {
    display: inline-flex;
    align-items: center;
}

body.site-theme #site-fixed-logo {
    position: fixed;
    top: 18px;
    left: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

body.site-theme #site-fixed-logo img {
    height: 38px;
    width: auto;
    display: block;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 3px 14px rgba(99, 215, 197, 0.22));
}

body.site-theme h1,
body.site-theme .title-wrap h1,
body.site-theme .title-section h1,
body.site-theme .page-title,
body.site-theme .section-title,
body.site-theme .header h1 {
    font-family: 'Sora', 'Space Grotesk', sans-serif !important;
    background: linear-gradient(120deg, #f4feff 0%, #9feeff 38%, #9effd7 78%, #ffd7bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: -0.03em;
}

body.site-theme h2,
body.site-theme h3,
body.site-theme h4,
body.site-theme .card-title,
body.site-theme .stat-label,
body.site-theme .section-heading {
    color: var(--site-text-main);
}

body.site-theme p,
body.site-theme .subtitle,
body.site-theme .muted,
body.site-theme .text-muted,
body.site-theme .section-subtitle,
body.site-theme label,
body.site-theme small,
body.site-theme .header p,
body.site-theme .title-wrap p {
    color: var(--site-text-soft) !important;
}

body.site-theme .container,
body.site-theme .card,
body.site-theme .stat-card,
body.site-theme .summary-card,
body.site-theme .login-container,
body.site-theme .register-container,
body.site-theme .table-container,
body.site-theme .filter-section,
body.site-theme .year-filters,
body.site-theme .holiday-section,
body.site-theme .panel,
body.site-theme .content-card,
body.site-theme .info-card,
body.site-theme .list-card,
body.site-theme .grid-card,
body.site-theme .metrics-card,
body.site-theme .tab-panel,
body.site-theme .sub-tab-panel,
body.site-theme .chart-card,
body.site-theme .box,
body.site-theme .section-box,
body.site-theme .widget,
body.site-theme .floating-summary,
body.site-theme .summary-box,
body.site-theme .messages .message {
    background: linear-gradient(165deg, var(--site-surface-1), var(--site-surface-2)) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: var(--site-shadow) !important;
    color: var(--site-text-main);
    backdrop-filter: blur(10px);
}

body.site-theme .login-container,
body.site-theme .register-container {
    width: min(92vw, 430px) !important;
    border-radius: 24px !important;
    padding: 34px 28px !important;
    margin: 0 auto !important;
}

body.site-theme .login-header,
body.site-theme .register-header {
    text-align: center;
    margin-bottom: 24px;
}

body.site-theme .login-header h2,
body.site-theme .register-header h2 {
    font-family: 'Sora', 'Space Grotesk', sans-serif !important;
    background: linear-gradient(120deg, #f4feff 0%, #9feeff 42%, #9effd7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

body.site-theme .login-header p,
body.site-theme .register-header p,
body.site-theme .footer-text,
body.site-theme .login-link,
body.site-theme .help-text {
    color: var(--site-text-soft) !important;
}

body.site-theme form p,
body.site-theme .form-group {
    margin-bottom: 16px;
}

body.site-theme form p label,
body.site-theme .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #dff7ff !important;
}

body.site-theme .required {
    color: #ffb08a !important;
}

body.site-theme .error-list,
body.site-theme .form-errors {
    background: rgba(239, 68, 68, 0.14) !important;
    border: 1px solid rgba(252, 165, 165, 0.35) !important;
    color: #fecaca !important;
    border-radius: 12px !important;
}

body.site-theme .login-link a,
body.site-theme .back-link {
    color: #a9f4ff !important;
}

body.site-theme .login-link a:hover,
body.site-theme .back-link:hover {
    color: #9effd7 !important;
}

body.site-theme .form-card,
body.site-theme .menu-card,
body.site-theme .action-card {
    display: block;
    background: linear-gradient(165deg, rgba(10, 34, 45, 0.9), rgba(11, 41, 55, 0.72)) !important;
    color: var(--site-text-main) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: 0 10px 24px rgba(1, 12, 18, 0.24) !important;
}

body.site-theme .form-card:hover,
body.site-theme .menu-card:hover,
body.site-theme .action-card:hover {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
    border-color: transparent !important;
}

body.site-theme .back-btn,
body.site-theme .home-btn,
body.site-theme .back-link {
    color: var(--site-text-main) !important;
}

body.site-theme .floating-summary,
body.site-theme .badge,
body.site-theme .filter-badge,
body.site-theme .pill,
body.site-theme .chip {
    background: linear-gradient(135deg, rgba(99, 215, 197, 0.18), rgba(45, 182, 255, 0.12)) !important;
    border: 1px solid rgba(132, 214, 228, 0.32) !important;
    color: #dff7ff !important;
}

body.site-theme .badge-unread,
body.site-theme .status-badge,
body.site-theme .warning-badge,
body.site-theme .error-badge {
    background: linear-gradient(135deg, #ff8f5a, #ff5f6d) !important;
    color: #fff !important;
    border-color: transparent !important;
}

body.site-theme .tabs,
body.site-theme .sub-tabs,
body.site-theme .tab-list,
body.site-theme .tab-bar {
    background: linear-gradient(165deg, rgba(10, 34, 45, 0.9), rgba(11, 41, 55, 0.72)) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: var(--site-shadow) !important;
    backdrop-filter: blur(12px);
}

body.site-theme .tab-btn,
body.site-theme .sub-tab-btn,
body.site-theme .tab,
body.site-theme .nav-tab {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--site-text-soft) !important;
    border: 1px solid rgba(169, 244, 255, 0.16) !important;
}

body.site-theme .tab-btn.active,
body.site-theme .sub-tab-btn.active,
body.site-theme .tab.active,
body.site-theme .nav-tab.active {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(45, 182, 255, 0.24) !important;
}

body.site-theme :is(.btn, .btn-primary, .btn-submit, .btn-filter, .btn-request, .btn-history, .btn-team, .btn-desk, .btn-apply, .year-btn, .back-buttons a, .back-buttons button, .header-actions a, .header-actions button, button[type='submit'], input[type='submit']) {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 28px rgba(45, 182, 255, 0.22) !important;
    font-weight: 700 !important;
}

body.site-theme :is(.btn-back, .btn-reset, .btn-ghost, .back-link, .secondary-btn, .outline-btn) {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--site-text-main) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: none !important;
}

body.site-theme :is(.btn, .btn-primary, .btn-submit, .btn-filter, .btn-request, .btn-history, .btn-team, .btn-desk, .btn-apply, .year-btn, .tab-btn, .sub-tab-btn, .back-buttons a, .back-buttons button, .header-actions a, .header-actions button, button, input[type='submit']) {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

body.site-theme :is(.btn, .btn-primary, .btn-submit, .btn-filter, .btn-request, .btn-history, .btn-team, .btn-desk, .btn-apply, .year-btn, .tab-btn, .sub-tab-btn, .back-buttons a, .back-buttons button, .header-actions a, .header-actions button, button, input[type='submit']):hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(45, 182, 255, 0.28) !important;
}

body.site-theme input,
body.site-theme select,
body.site-theme textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--site-text-main) !important;
    border: 1px solid var(--site-line-soft) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.site-theme input::placeholder,
body.site-theme textarea::placeholder {
    color: rgba(184, 209, 219, 0.72) !important;
}

body.site-theme input:focus,
body.site-theme select:focus,
body.site-theme textarea:focus {
    outline: none;
    border-color: rgba(169, 244, 255, 0.48) !important;
    box-shadow: 0 0 0 3px rgba(45, 182, 255, 0.12) !important;
}

body.site-theme input:-webkit-autofill,
body.site-theme input:-webkit-autofill:hover,
body.site-theme input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--site-text-main);
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.08) inset;
    transition: background-color 9999s ease-in-out 0s;
}

body.site-theme table,
body.site-theme .table {
    color: var(--site-text-main) !important;
}

body.site-theme th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #dff7ff !important;

body.site-theme :is(
    .form-container,
    .info-section,
    .permission-panel,
    .travel-header,
    .timeline-container,
    .map-panel,
    .filters-section,
    .summary-container,
    .page-container,
    .holiday-section,
    .attendance-table-container,
    .location-list,
    .map-container,
    .travel-card,
    .report-shell .report-card,
    .history-card,
    .report-card,
    .table-wrap,
    .table-container,
    .pings-table-wrap,
    .summary-row,
    .filters-row,
    .user-card,
    .modal-content,
    .popup-content,
    .details-panel,
    .content-section,
    .section-panel,
    .panel-card,
    .data-card,
    .overview-card,
    [style*="background: white"],
    [style*="background:white"],
    [style*="background: #fff"],
    [style*="background:#fff"],
    [style*="background: #ffffff"],
    [style*="background:#ffffff"],
    [style*="background-color: white"],
    [style*="background-color:white"],
    [style*="background-color: #fff"],
    [style*="background-color:#fff"],
    [style*="background-color: #ffffff"],
    [style*="background-color:#ffffff"]
) {
    background: linear-gradient(165deg, rgba(7, 27, 36, 0.94), rgba(10, 39, 52, 0.82)) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: 0 20px 48px rgba(1, 12, 18, 0.28) !important;
    color: var(--site-text-main) !important;
    backdrop-filter: blur(14px);
}

body.site-theme :is(
    .form-container,
    .info-section,
    .permission-panel,
    .travel-header,
    .timeline-container,
    .map-panel,
    .filters-section,
    .summary-container,
    .page-container,
    .holiday-section,
    .attendance-table-container,
    .location-list,
    .map-container,
    .travel-card,
    .report-shell .report-card,
    .history-card,
    .report-card,
    .table-wrap,
    .table-container,
    .pings-table-wrap,
    .filters-row,
    .user-card,
    .modal-content,
    .popup-content,
    .details-panel,
    .content-section,
    .section-panel,
    .panel-card,
    .data-card,
    .overview-card,
    [style*="background: white"],
    [style*="background:white"],
    [style*="background: #fff"],
    [style*="background:#fff"],
    [style*="background: #ffffff"],
    [style*="background:#ffffff"],
    [style*="background-color: white"],
    [style*="background-color:white"],
    [style*="background-color: #fff"],
    [style*="background-color:#fff"],
    [style*="background-color: #ffffff"],
    [style*="background-color:#ffffff"]
) :is(h1, h2, h3, h4, h5, h6, strong, label, .info-label, .section-title, .card-title, .title) {
    color: var(--site-text-main) !important;
}

body.site-theme :is(
    .form-container,
    .info-section,
    .permission-panel,
    .travel-header,
    .timeline-container,
    .map-panel,
    .filters-section,
    .summary-container,
    .page-container,
    .holiday-section,
    .attendance-table-container,
    .location-list,
    .map-container,
    .travel-card,
    .report-shell .report-card,
    .history-card,
    .report-card,
    .table-wrap,
    .table-container,
    .pings-table-wrap,
    .filters-row,
    .user-card,
    .modal-content,
    .popup-content,
    .details-panel,
    .content-section,
    .section-panel,
    .panel-card,
    .data-card,
    .overview-card,
    [style*="background: white"],
    [style*="background:white"],
    [style*="background: #fff"],
    [style*="background:#fff"],
    [style*="background: #ffffff"],
    [style*="background:#ffffff"],
    [style*="background-color: white"],
    [style*="background-color:white"],
    [style*="background-color: #fff"],
    [style*="background-color:#fff"],
    [style*="background-color: #ffffff"],
    [style*="background-color:#ffffff"]
) :is(p, span, div, li, td, .info-value, .muted, .text-muted, .subtitle, small) {
    color: var(--site-text-soft) !important;
}

body.site-theme .top-button-bar a,
body.site-theme .top-button-bar button,
body.site-theme .quick-links a {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)) !important;
    color: #dff7ff !important;
    border: 1px solid rgba(169, 244, 255, 0.24) !important;
    box-shadow: 0 12px 28px rgba(0, 10, 16, 0.22) !important;
}

body.site-theme .top-button-bar a:hover,
body.site-theme .top-button-bar button:hover,
body.site-theme .quick-links a:hover {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
    border-color: transparent !important;
}

body.site-theme .map-link,
body.site-theme .file-chip,
body.site-theme .table a,
body.site-theme .quick-links a {
    color: #a9f4ff !important;
}

body.site-theme .travel-header .subtitle,
body.site-theme .travel-header .subtitle strong,
body.site-theme .header p,
body.site-theme .report-subtitle,
body.site-theme .filters-section label,
body.site-theme .filter-group label,
body.site-theme .field-group label,
body.site-theme .map-note,
body.site-theme .ping-detail .text,
body.site-theme .location-meta,
body.site-theme .no-data,
body.site-theme .stat-card .label,
body.site-theme .info-label,
body.site-theme .info-value {
    color: var(--site-text-soft) !important;
}

body.site-theme .travel-header h1,
body.site-theme .timeline-container h2,
body.site-theme .map-panel h2,
body.site-theme .summary-container h2,
body.site-theme .filters-section h3,
body.site-theme .report-title,
body.site-theme .section-title,
body.site-theme .ping-time,
body.site-theme .no-data h3,
body.site-theme .location-list h2 {
    color: var(--site-text-main) !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

body.site-theme .stat-card,
body.site-theme .timeline-item,
body.site-theme .holiday-card,
body.site-theme .metric-card,
body.site-theme .summary-item,
body.site-theme .location-item {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)) !important;
    border: 1px solid rgba(132, 214, 228, 0.16) !important;
    color: var(--site-text-main) !important;
    box-shadow: 0 12px 32px rgba(1, 12, 18, 0.18) !important;
}

body.site-theme .stat-card .value,
body.site-theme .metric-value,
body.site-theme .report-metric,
body.site-theme .location-count-value {
    color: #9feeff !important;
}

body.site-theme .filters-section select,
body.site-theme .filters-section input,
body.site-theme .filter-group select,
body.site-theme .filter-group input,
body.site-theme .field-group select,
body.site-theme .field-group input,
body.site-theme .field-group textarea,
body.site-theme .pagination a,
body.site-theme .pagination span {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--site-text-main) !important;
    border: 1px solid var(--site-line-soft) !important;
    box-shadow: none !important;
}

body.site-theme .filters-section select:hover,
body.site-theme .filters-section input:hover,
body.site-theme .filter-group select:hover,
body.site-theme .filter-group input:hover,
body.site-theme .pagination a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(169, 244, 255, 0.34) !important;
}

body.site-theme .summary-table,
body.site-theme .pings-table,
body.site-theme .report-table,
body.site-theme .attendance-table,
body.site-theme .table-container table,
body.site-theme .location-table {
    background: rgba(5, 20, 28, 0.92) !important;
    color: var(--site-text-main) !important;
    border: 1px solid rgba(132, 214, 228, 0.16) !important;
    box-shadow: 0 12px 32px rgba(1, 12, 18, 0.18) !important;
}

body.site-theme .summary-table th,
body.site-theme .pings-table th,
body.site-theme .report-table th,
body.site-theme .attendance-table th,
body.site-theme .location-table th {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #dff7ff !important;
    border-bottom: 1px solid rgba(169, 244, 255, 0.18) !important;
}

body.site-theme .summary-table td,
body.site-theme .pings-table td,
body.site-theme .report-table td,
body.site-theme .attendance-table td,
body.site-theme .location-table td {
    color: var(--site-text-soft) !important;
    border-bottom: 1px solid rgba(169, 244, 255, 0.08) !important;
    background: transparent !important;
}

body.site-theme .summary-table tbody tr:hover,
body.site-theme .pings-table tbody tr:hover,
body.site-theme .report-table tbody tr:hover,
body.site-theme .attendance-table tbody tr:hover,
body.site-theme .location-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

body.site-theme .report-table tbody tr:nth-child(even),
body.site-theme .summary-table tbody tr:nth-child(even),
body.site-theme .pings-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02) !important;
}

body.site-theme .report-table td:nth-child(-n+8),
body.site-theme .report-table th[rowspan='2'] {
    background: rgba(5, 20, 28, 0.96) !important;
    color: var(--site-text-main) !important;
}

body.site-theme .distance-badge,
body.site-theme .location-count,
body.site-theme .map-button,
body.site-theme .ping-type,
body.site-theme .type-pill,
body.site-theme .location-status,
body.site-theme .pill {
    box-shadow: none !important;
}
    border-bottom: 1px solid rgba(169, 244, 255, 0.18) !important;
}

body.site-theme td {
    color: var(--site-text-soft) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.site-theme tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

body.site-theme .success-message,
body.site-theme .message.success,
body.site-theme .alert-success {
    background: rgba(34, 197, 94, 0.16) !important;
    border-color: rgba(134, 239, 172, 0.45) !important;
    color: #bbf7d0 !important;
}

body.site-theme .message.error,
body.site-theme .alert-danger,
body.site-theme .error-message {
    background: rgba(239, 68, 68, 0.16) !important;
    border-color: rgba(252, 165, 165, 0.45) !important;
    color: #fecaca !important;
}

body.site-theme .message.warning,
body.site-theme .alert-warning {
    background: rgba(245, 158, 11, 0.14) !important;
    border-color: rgba(251, 191, 36, 0.42) !important;
    color: #fde68a !important;
}

body.site-theme #global-quick-nav .gq-btn {
    border: 1px solid var(--site-line-soft) !important;
    background: linear-gradient(165deg, rgba(10, 34, 45, 0.94), rgba(11, 41, 55, 0.78)) !important;
    color: var(--site-text-main) !important;
    box-shadow: 0 10px 30px rgba(0, 10, 16, 0.38) !important;
}

body.site-theme #global-quick-nav .gq-btn:hover {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
}

body.site-theme :is(
    .section,
    .tab-content,
    .stock-card,
    .stock-option,
    .filter-group,
    .tab-filter-group,
    .filters-section,
    .export-buttons,
    .scrollable,
    .no-data,
    .sn-suggestions-list,
    .suggestions-list,
    .dropdown-menu,
    .select2-dropdown,
    .select2-results,
    .table-shell
) {
    background: linear-gradient(165deg, rgba(7, 27, 36, 0.94), rgba(10, 39, 52, 0.82)) !important;
    border: 1px solid rgba(132, 214, 228, 0.18) !important;
    box-shadow: 0 20px 48px rgba(1, 12, 18, 0.24) !important;
    color: var(--site-text-main) !important;
}

body.site-theme .stock-card h2,
body.site-theme .section-title,
body.site-theme .tab-content h2,
body.site-theme .tab-content h3,
body.site-theme .filter-group label,
body.site-theme .tab-filter-group label,
body.site-theme .stock-card .stock-description,
body.site-theme .no-data,
body.site-theme .no-data p {
    color: var(--site-text-soft) !important;
}

body.site-theme .stock-card:hover,
body.site-theme .section:hover {
    border-color: rgba(169, 244, 255, 0.32) !important;
    box-shadow: 0 24px 56px rgba(1, 12, 18, 0.3) !important;
}

body.site-theme .tab-btn,
body.site-theme .quick-action-btn,
body.site-theme .filter-btn,
body.site-theme .clear-btn,
body.site-theme .export-btn,
body.site-theme .page-link,
body.site-theme .back-btn,
body.site-theme .home-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--site-text-main) !important;
    border: 1px solid rgba(169, 244, 255, 0.18) !important;
    box-shadow: 0 10px 24px rgba(1, 12, 18, 0.18) !important;
}

body.site-theme .tab-btn.active,
body.site-theme .tab-btn:hover,
body.site-theme .quick-action-btn:hover,
body.site-theme .filter-btn:hover,
body.site-theme .clear-btn:hover,
body.site-theme .export-btn:hover,
body.site-theme .page-link:hover,
body.site-theme .back-btn:hover,
body.site-theme .home-btn:hover {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
    border-color: transparent !important;
}

body.site-theme .filter-group input,
body.site-theme .filter-group select,
body.site-theme .tab-filter-group input,
body.site-theme .tab-filter-group select,
body.site-theme .filter-select,
body.site-theme .filter-input,
body.site-theme .form-control,
body.site-theme .sn-suggestions-list,
body.site-theme .suggestions-list {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--site-text-main) !important;
    border: 1px solid rgba(132, 214, 228, 0.22) !important;
}

body.site-theme select,
body.site-theme option,
body.site-theme optgroup {
    background-color: #0d2531 !important;
    color: #ecf7fb !important;
}

body.site-theme option:checked,
body.site-theme option:hover {
    background: linear-gradient(135deg, var(--site-accent-a), var(--site-accent-b)) !important;
    color: #04131d !important;
}

body.site-theme .sn-suggestions-list,
body.site-theme .suggestions-list,
body.site-theme .select2-dropdown,
body.site-theme .dropdown-menu {
    overflow: hidden;
}

body.site-theme .suggest-item,
body.site-theme .select2-results__option,
body.site-theme .dropdown-item {
    background: rgba(7, 27, 36, 0.96) !important;
    color: var(--site-text-main) !important;
    border-bottom: 1px solid rgba(169, 244, 255, 0.08) !important;
}

body.site-theme .suggest-item:hover,
body.site-theme .select2-results__option--highlighted,
body.site-theme .dropdown-item:hover {
    background: rgba(99, 215, 197, 0.16) !important;
    color: #dff7ff !important;
}

body.site-theme .section table,
body.site-theme .tab-content table,
body.site-theme .scrollable table,
body.site-theme .stock-card table {
    background: rgba(5, 20, 28, 0.92) !important;
}

body.site-theme .section tbody tr:hover td,
body.site-theme .tab-content tbody tr:hover td,
body.site-theme .scrollable tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04) !important;
}

@media (max-width: 900px) {
    body.site-theme .header,
    body.site-theme .page-header,
    body.site-theme .nav-header {
        border-radius: 16px;
    }
}

@media (max-width: 640px) {
    body.site-theme {
        background:
            radial-gradient(circle at 20% 10%, rgba(99, 215, 197, 0.15), transparent 32%),
            radial-gradient(circle at 82% 12%, rgba(45, 182, 255, 0.14), transparent 30%),
            linear-gradient(160deg, var(--site-bg-900) 0%, var(--site-bg-850) 48%, var(--site-bg-800) 100%) !important;
    }

    body.site-theme .nav-header {
        top: 14px !important;
        left: 16px !important;
    }

    body.site-theme #site-fixed-logo {
        top: 14px;
        left: 16px;
    }

    body.site-theme #site-fixed-logo img {
        height: 34px;
    }

    body.site-theme .login-container,
    body.site-theme .register-container {
        width: min(92vw, 100%) !important;
        padding: 28px 22px !important;
    }
}

@media (max-width: 1024px) {
    body.site-theme {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.site-theme .container,
    body.site-theme .content,
    body.site-theme .main-content,
    body.site-theme .dashboard-container,
    body.site-theme .page-wrapper,
    body.site-theme .page-container,
    body.site-theme .form-container,
    body.site-theme .form-wrap,
    body.site-theme .gf-card,
    body.site-theme .section,
    body.site-theme .stock-card,
    body.site-theme .table-container,
    body.site-theme .table-card,
    body.site-theme .report-card,
    body.site-theme .summary-container,
    body.site-theme .timeline-container,
    body.site-theme .map-panel,
    body.site-theme .map-container,
    body.site-theme .travel-header,
    body.site-theme .filters-section,
    body.site-theme .tab-content,
    body.site-theme .sub-tab-panel,
    body.site-theme .panel,
    body.site-theme .content-card,
    body.site-theme .info-card,
    body.site-theme .holiday-section {
        width: min(100% - 24px, 100%) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    body.site-theme .tabs,
    body.site-theme .sub-tabs,
    body.site-theme .tab-list,
    body.site-theme .tab-bar,
    body.site-theme .header-actions,
    body.site-theme .back-buttons,
    body.site-theme .filters-row,
    body.site-theme .tab-filters-row,
    body.site-theme .filter-row,
    body.site-theme .btn-group,
    body.site-theme .action-row,
    body.site-theme .actions-row,
    body.site-theme .export-buttons,
    body.site-theme .tab-export,
    body.site-theme .stats-grid,
    body.site-theme .summary-grid,
    body.site-theme .holiday-grid {
        gap: 10px !important;
    }

    body.site-theme .tabs,
    body.site-theme .sub-tabs,
    body.site-theme .tab-list,
    body.site-theme .tab-bar,
    body.site-theme .header-actions,
    body.site-theme .back-buttons,
    body.site-theme .export-buttons,
    body.site-theme .tab-export {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin;
        padding-bottom: 4px !important;
    }

    body.site-theme .tabs > *,
    body.site-theme .sub-tabs > *,
    body.site-theme .tab-list > *,
    body.site-theme .tab-bar > *,
    body.site-theme .header-actions > *,
    body.site-theme .back-buttons > *,
    body.site-theme .export-buttons > *,
    body.site-theme .tab-export > * {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    body.site-theme .filters-row,
    body.site-theme .tab-filters-row,
    body.site-theme .filter-row,
    body.site-theme .stats-grid,
    body.site-theme .summary-grid,
    body.site-theme .holiday-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.site-theme .filter-group,
    body.site-theme .tab-filter-group,
    body.site-theme .field-group,
    body.site-theme .form-group,
    body.site-theme .input-group,
    body.site-theme .stat-card,
    body.site-theme .summary-card,
    body.site-theme .holiday-column {
        min-width: 0 !important;
    }

    body.site-theme table,
    body.site-theme .table,
    body.site-theme .summary-table,
    body.site-theme .pings-table,
    body.site-theme .report-table,
    body.site-theme .attendance-table,
    body.site-theme .location-table,
    body.site-theme .section table,
    body.site-theme .tab-content table,
    body.site-theme .scrollable table,
    body.site-theme .stock-card table {
        min-width: 840px !important;
    }

    body.site-theme .scrollable,
    body.site-theme .table-wrap,
    body.site-theme .table-container,
    body.site-theme .pings-table-wrap,
    body.site-theme .attendance-table-container,
    body.site-theme .report-shell,
    body.site-theme .report-table-wrap {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

@media (max-width: 768px) {
    body.site-theme {
        font-size: 15px !important;
    }

    body.site-theme #site-fixed-logo,
    body.site-theme .nav-header {
        top: 12px !important;
        left: 12px !important;
    }

    body.site-theme #site-fixed-logo img {
        height: 30px !important;
    }

    body.site-theme #global-quick-nav {
        right: 10px !important;
        left: 10px !important;
        bottom: 10px !important;
        max-width: none !important;
        justify-content: stretch !important;
    }

    body.site-theme #global-quick-nav .gq-btn {
        flex: 1 1 0 !important;
        justify-content: center !important;
        min-height: 40px !important;
    }

    body.site-theme h1,
    body.site-theme .page-title,
    body.site-theme .section-title,
    body.site-theme .header h1 {
        font-size: clamp(1.5rem, 5.8vw, 2rem) !important;
        line-height: 1.12 !important;
    }

    body.site-theme h2,
    body.site-theme .card-title,
    body.site-theme .section-heading {
        font-size: clamp(1.15rem, 4.4vw, 1.4rem) !important;
        line-height: 1.2 !important;
    }

    body.site-theme .container,
    body.site-theme .content,
    body.site-theme .main-content,
    body.site-theme .dashboard-container,
    body.site-theme .page-wrapper,
    body.site-theme .page-container,
    body.site-theme .form-container,
    body.site-theme .form-wrap,
    body.site-theme .gf-card,
    body.site-theme .section,
    body.site-theme .stock-card,
    body.site-theme .table-container,
    body.site-theme .table-card,
    body.site-theme .report-card,
    body.site-theme .summary-container,
    body.site-theme .timeline-container,
    body.site-theme .map-panel,
    body.site-theme .map-container,
    body.site-theme .travel-header,
    body.site-theme .filters-section,
    body.site-theme .tab-content,
    body.site-theme .sub-tab-panel,
    body.site-theme .panel,
    body.site-theme .content-card,
    body.site-theme .info-card,
    body.site-theme .holiday-section {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    body.site-theme .filters-row,
    body.site-theme .tab-filters-row,
    body.site-theme .filter-row,
    body.site-theme .stats-grid,
    body.site-theme .summary-grid,
    body.site-theme .holiday-grid {
        grid-template-columns: 1fr !important;
    }

    body.site-theme .tabs,
    body.site-theme .sub-tabs,
    body.site-theme .tab-list,
    body.site-theme .tab-bar {
        padding: 8px !important;
        border-radius: 14px !important;
    }

    body.site-theme .tab-btn,
    body.site-theme .sub-tab-btn,
    body.site-theme .tab,
    body.site-theme .nav-tab,
    body.site-theme .btn,
    body.site-theme .btn-primary,
    body.site-theme .btn-submit,
    body.site-theme .btn-filter,
    body.site-theme .btn-request,
    body.site-theme .btn-history,
    body.site-theme .btn-team,
    body.site-theme .btn-desk,
    body.site-theme .btn-apply,
    body.site-theme .year-btn,
    body.site-theme .back-buttons a,
    body.site-theme .back-buttons button,
    body.site-theme .header-actions a,
    body.site-theme .header-actions button,
    body.site-theme button[type='submit'],
    body.site-theme input[type='submit'] {
        min-height: 42px !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
    }

    body.site-theme input,
    body.site-theme select,
    body.site-theme textarea,
    body.site-theme .filter-input,
    body.site-theme .filter-select,
    body.site-theme .gf-input,
    body.site-theme .gf-select,
    body.site-theme .gf-textarea,
    body.site-theme .form-control,
    body.site-theme .inline-input,
    body.site-theme .inline-select {
        min-height: 42px !important;
        font-size: 14px !important;
    }

    body.site-theme textarea,
    body.site-theme .gf-textarea {
        min-height: 110px !important;
    }

    body.site-theme table,
    body.site-theme .table,
    body.site-theme .summary-table,
    body.site-theme .pings-table,
    body.site-theme .report-table,
    body.site-theme .attendance-table,
    body.site-theme .location-table,
    body.site-theme .section table,
    body.site-theme .tab-content table,
    body.site-theme .scrollable table,
    body.site-theme .stock-card table {
        min-width: 720px !important;
    }

    body.site-theme th,
    body.site-theme td {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    body.site-theme {
        padding-bottom: 74px !important;
    }

    body.site-theme #site-fixed-logo,
    body.site-theme .nav-header {
        top: 10px !important;
        left: 10px !important;
    }

    body.site-theme #site-fixed-logo img {
        height: 28px !important;
    }

    body.site-theme .container,
    body.site-theme .content,
    body.site-theme .main-content,
    body.site-theme .dashboard-container,
    body.site-theme .page-wrapper,
    body.site-theme .page-container,
    body.site-theme .form-container,
    body.site-theme .form-wrap,
    body.site-theme .gf-card,
    body.site-theme .section,
    body.site-theme .stock-card,
    body.site-theme .table-container,
    body.site-theme .table-card,
    body.site-theme .report-card,
    body.site-theme .summary-container,
    body.site-theme .timeline-container,
    body.site-theme .map-panel,
    body.site-theme .map-container,
    body.site-theme .travel-header,
    body.site-theme .filters-section,
    body.site-theme .tab-content,
    body.site-theme .sub-tab-panel,
    body.site-theme .panel,
    body.site-theme .content-card,
    body.site-theme .info-card,
    body.site-theme .holiday-section {
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        padding: 12px !important;
    }

    body.site-theme .tabs,
    body.site-theme .sub-tabs,
    body.site-theme .tab-list,
    body.site-theme .tab-bar,
    body.site-theme .header-actions,
    body.site-theme .back-buttons,
    body.site-theme .export-buttons,
    body.site-theme .tab-export {
        gap: 8px !important;
    }

    body.site-theme .tab-btn,
    body.site-theme .sub-tab-btn,
    body.site-theme .tab,
    body.site-theme .nav-tab,
    body.site-theme .btn,
    body.site-theme .btn-primary,
    body.site-theme .btn-submit,
    body.site-theme .btn-filter,
    body.site-theme .btn-request,
    body.site-theme .btn-history,
    body.site-theme .btn-team,
    body.site-theme .btn-desk,
    body.site-theme .btn-apply,
    body.site-theme .year-btn,
    body.site-theme .back-buttons a,
    body.site-theme .back-buttons button,
    body.site-theme .header-actions a,
    body.site-theme .header-actions button,
    body.site-theme button[type='submit'],
    body.site-theme input[type='submit'] {
        font-size: 12px !important;
        min-height: 40px !important;
        padding: 9px 12px !important;
    }

    body.site-theme table,
    body.site-theme .table,
    body.site-theme .summary-table,
    body.site-theme .pings-table,
    body.site-theme .report-table,
    body.site-theme .attendance-table,
    body.site-theme .location-table,
    body.site-theme .section table,
    body.site-theme .tab-content table,
    body.site-theme .scrollable table,
    body.site-theme .stock-card table {
        min-width: 640px !important;
    }

    body.site-theme th,
    body.site-theme td {
        padding: 9px 10px !important;
        font-size: 11.5px !important;
    }
}