/* Maxfiy davlat — barcha ichki sahifalar (kinematografik qatlam) */

body.classified-app {
    --bg: #040a14;
    --surface: rgba(8, 16, 28, 0.92);
    --surface-elevated: rgba(12, 22, 38, 0.96);
    --border: rgba(34, 211, 238, 0.18);
    --text: #e2e8f0;
    --text-muted: #64748b;
    --accent: #22d3ee;
    --accent-gold: #fbbf24;
    background: #040a14 !important;
    color: #e2e8f0;
}

body.classified-app .classified-shell {
    position: relative;
    min-height: calc(100vh - 52px);
    z-index: 0;
}

body.classified-app .classified-topbar {
    position: relative;
    z-index: 4;
}

body.classified-app .classified-shell__fx {
    position: fixed;
    inset: 52px 0 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

body.classified-app .classified-shell__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    animation: classified-grid-drift 36s linear infinite;
}

body.classified-app .classified-shell__scan {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

body.classified-app .classified-shell__scan::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), transparent);
    animation: classified-scan 3.5s linear infinite;
}

body.classified-app .classified-shell__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(2, 6, 14, 0.65) 100%);
}

@keyframes classified-grid-drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 52px 52px;
    }
}

@keyframes classified-scan {
    0% {
        top: -2px;
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

body.classified-app .classified-main {
    position: relative;
    z-index: 1;
    padding: 0 clamp(14px, 3vw, 28px) 28px;
    max-width: 1440px;
    margin: 0 auto;
}

body.classified-app .user-info-bar,
body.classified-app .app-main-nav,
body.classified-app .header,
body.classified-app .footer {
    display: none !important;
}

body.classified-app .container,
body.classified-app .command-deck-root {
    background: transparent !important;
    box-shadow: none !important;
    max-width: none;
    padding: 0;
    margin: 0;
}

body.classified-app .classified-shell__fx {
    contain: strict;
    transform: translateZ(0);
}

body.classified-app .command-deck-root::after {
    opacity: 0.08;
}

body.classified-app {
    scroll-behavior: auto;
}

body.classified-app .classified-main {
    scroll-behavior: auto;
}

body.classified-app .admin-rail-footer,
body.classified-app .classified-cards-grid,
body.classified-app .ai-chat-terminal__body {
    overscroll-behavior: contain;
}

body.classified-app .classified-flash {
    position: relative;
    z-index: 2;
    padding: 10px clamp(14px, 3vw, 28px) 0;
    max-width: 1440px;
    margin: 0 auto;
}

body.classified-app .classified-flash__item {
    padding: 10px 14px;
    margin-bottom: 8px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 2px;
    background: rgba(8, 20, 38, 0.9);
    font-family: "Share Tech Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
}

body.classified-app .classified-flash__item--error {
    border-color: rgba(248, 113, 113, 0.45);
    color: #fca5a5;
}

body.classified-app .classified-flash__item--success {
    border-color: rgba(34, 211, 238, 0.45);
    color: #67e8f9;
}

/* Sahifa sarlavhasi */
body.classified-app .classified-page-head {
    position: relative;
    z-index: 1;
    padding: 20px clamp(14px, 3vw, 28px) 12px;
    max-width: 1440px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}

body.classified-app .classified-page-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

body.classified-app .classified-page-head__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.classified-app .classified-page-head__emblem {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.25));
}

body.classified-app .classified-page-head__title {
    margin: 0;
    font-size: clamp(1.1rem, 2.8vw, 1.65rem);
    color: #f8fafc;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

body.classified-app .classified-page-head__sub {
    margin: 6px 0 0;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

body.classified-app .classified-page-head__badge {
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 6px 12px;
    animation: seal-pulse 2.4s ease-in-out infinite;
}

/* Panel / bo‘lim */
body.classified-app .map-section,
body.classified-app .form-section,
body.classified-app .complaint-detail-card,
body.classified-app .data-management,
body.classified-app .sidebar {
    border: 1px solid rgba(34, 211, 238, 0.16) !important;
    border-radius: 2px !important;
    background: linear-gradient(165deg, rgba(10, 20, 36, 0.94), rgba(6, 12, 22, 0.98)) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    color: #e2e8f0 !important;
}

body.classified-app .map-section::before,
body.classified-app .form-section::before {
    content: "";
    display: block;
    height: 2px;
    margin: -1px -1px 14px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.55), transparent);
    border-radius: 2px 2px 0 0;
}

body.classified-app .map-section h2,
body.classified-app .map-section h3,
body.classified-app .map-section h4,
body.classified-app .form-section h2,
body.classified-app .form-section h3 {
    color: #f1f5f9 !important;
}

body.classified-app .map-hint,
body.classified-app .map-filters-float__hint,
body.classified-app .text-muted {
    color: #64748b !important;
}

/* Dashboard / xarita */
body.classified-app .map-command-deck,
body.classified-app .admin-workspace {
    background: transparent !important;
}

body.classified-app .map-command-header {
    border-bottom-color: rgba(34, 211, 238, 0.2) !important;
}

body.classified-app .map-command-header__title {
    color: #f8fafc !important;
}

body.classified-app .map-osm-badge--command {
    border-color: rgba(251, 191, 36, 0.35) !important;
    color: #fbbf24 !important;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
}

body.classified-app .gov-filter-panel,
body.classified-app .map-filter-dock {
    background: rgba(6, 14, 26, 0.96) !important;
    border-color: rgba(34, 211, 238, 0.22) !important;
}

body.classified-app .modal-stat-card,
body.classified-app .intel-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(8, 14, 26, 0.98)) !important;
}

body.classified-app .legend-text {
    color: #94a3b8 !important;
}

/* Formalar */
body.classified-app input[type="text"],
body.classified-app input[type="password"],
body.classified-app input[type="email"],
body.classified-app input[type="tel"],
body.classified-app input[type="number"],
body.classified-app input[type="date"],
body.classified-app input[type="search"],
body.classified-app input[type="file"],
body.classified-app select,
body.classified-app textarea {
    background: rgba(4, 10, 20, 0.85) !important;
    border: 1px solid rgba(34, 211, 238, 0.22) !important;
    color: #e2e8f0 !important;
    border-radius: 2px !important;
}

body.classified-app input:focus,
body.classified-app select:focus,
body.classified-app textarea:focus {
    border-color: rgba(34, 211, 238, 0.55) !important;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.12) !important;
    outline: none !important;
}

body.classified-app label {
    color: #94a3b8 !important;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.classified-app .btn-submit,
body.classified-app .data-btn,
body.classified-app .gov-filter-btn--primary,
body.classified-app .map-btn-filter-submit {
    background: linear-gradient(145deg, rgba(14, 116, 144, 0.9), rgba(8, 80, 100, 0.95)) !important;
    border: 1px solid rgba(34, 211, 238, 0.4) !important;
    color: #f0fdfa !important;
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px !important;
}

body.classified-app .btn-submit:hover,
body.classified-app .data-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

/* Murojaatlar ro‘yxati */
body.classified-app.complaints-list-view .complaints-list-page {
    width: 100%;
    overflow: visible;
}

body.classified-app.complaints-list-view .complaints-list-filters-wrap.gov-filter-panel {
    max-width: none !important;
    width: 100% !important;
    flex: none !important;
    overflow: visible !important;
}

body.classified-app.complaints-list-view .complaints-list-filters__grid {
    width: 100%;
}

body.classified-app.complaints-list-view .complaints-list-cards.classified-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px)) !important;
    justify-content: center !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

body.classified-app.complaints-list-view .classified-case-card {
    max-width: 260px;
    animation: none;
}

body.classified-app.complaints-list-view .classified-case-card:hover {
    transform: translateY(-2px);
}

body.classified-app .classified-shell .secure-export-banner {
    max-width: none;
    margin: 0 0 16px;
}

/* Murojaatlar kartalari */
body.classified-app .classified-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

body.classified-app .classified-cards-grid--loading {
    opacity: 0.55;
    pointer-events: none;
}

/* Jadval (zaxira) */
body.classified-app .complaints-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

body.classified-app .complaints-list-table th {
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fbbf24;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
    text-align: left;
}

body.classified-app .complaints-list-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

body.classified-app .complaints-list-table a {
    color: #22d3ee;
    text-decoration: none;
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
}

body.classified-app .table-wrapper {
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 2px;
    background: rgba(6, 12, 22, 0.75);
    overflow-x: auto;
}

/* Murojaat batafsil — dosye */
body.classified-app .complaint-detail-shell {
    padding: 0;
}

body.classified-app .complaint-detail-header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
    margin-bottom: 16px;
}

body.classified-app .complaint-detail-back {
    color: #64748b !important;
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.classified-app .complaint-detail-title {
    color: #f8fafc !important;
    font-size: 1.35rem;
}

body.classified-app .complaint-detail-id {
    color: #22d3ee;
    font-family: "Share Tech Mono", monospace;
}

body.classified-app .complaint-detail-readonly dt {
    color: #64748b;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.classified-app .complaint-detail-readonly dd {
    color: #e2e8f0;
    margin-bottom: 12px;
}

body.classified-app .complaint-attachments-list__link {
    color: #22d3ee !important;
}

/* AI terminal */
body.classified-app .ai-chat-terminal {
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 2px;
    background: rgba(4, 10, 18, 0.92);
    overflow: hidden;
}

body.classified-app .ai-chat-terminal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
    background: rgba(8, 16, 28, 0.95);
}

body.classified-app .ai-chat-terminal__title {
    margin: 0;
    font-family: "Share Tech Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fbbf24;
}

body.classified-app .ai-chat-terminal__body {
    max-height: 52vh;
    overflow: auto;
    padding: 14px;
}

body.classified-app .ai-msg-item {
    padding: 12px 14px !important;
    border: 1px solid rgba(34, 211, 238, 0.12) !important;
    border-radius: 2px !important;
    margin-bottom: 10px !important;
    background: rgba(8, 16, 28, 0.85) !important;
    animation: classified-msg-in 0.35s ease both;
}

body.classified-app .ai-msg-item--assistant {
    border-left: 3px solid #22d3ee !important;
    background: rgba(14, 116, 144, 0.12) !important;
}

body.classified-app .ai-msg-item--user {
    border-left: 3px solid #fbbf24 !important;
}

body.classified-app .ai-msg-item__meta {
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
}

@keyframes classified-msg-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.classified-app .ai-chat-clear-btn {
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: transparent;
    color: #fca5a5;
    padding: 8px 12px;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
}

/* Qulflangan eksport */
body.classified-app .secure-export-banner {
    background: linear-gradient(135deg, rgba(8, 18, 32, 0.95), rgba(4, 10, 20, 0.98)) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
    max-width: none;
}

body.classified-app .secure-export-modal__panel {
    background: linear-gradient(165deg, rgba(8, 20, 38, 0.98), rgba(4, 10, 20, 0.99)) !important;
    border-color: rgba(251, 191, 36, 0.35) !important;
    color: #e2e8f0;
}

/* Pagination */
body.classified-app .pagination a,
body.classified-app .pagination span {
    border: 1px solid rgba(34, 211, 238, 0.2);
    background: rgba(6, 12, 22, 0.8);
    color: #94a3b8;
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
}

body.classified-app .pagination .current {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fbbf24;
}

/* Auth (OTP / yuz) */
body.classified-app .content-wrap.otp-page-wrap,
body.classified-auth .content-wrap.otp-page-wrap {
    min-height: calc(100vh - 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #040a14;
    position: relative;
}

body.classified-auth .content-wrap.otp-page-wrap::before {
    content: "";
    position: fixed;
    inset: 52px 0 0;
    background-image: linear-gradient(rgba(34, 211, 238, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    animation: classified-grid-drift 30s linear infinite;
}

body.classified-app .otp-card,
body.classified-auth .otp-card {
    width: min(520px, 100%);
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    border-radius: 2px !important;
    background: linear-gradient(165deg, rgba(8, 20, 38, 0.98), rgba(4, 10, 20, 0.99)) !important;
    box-shadow: 0 0 60px rgba(34, 211, 238, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
}

body.classified-auth .otp-card__head h2 {
    color: #f8fafc;
}

body.classified-auth .otp-card__icon {
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
}

body.classified-auth .otp-logout-link {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.9rem;
}

body.classified-auth .otp-logout-link a {
    color: #7dd3fc;
}

/* Login kinematografik */
body.classified-auth.login-page--official .login-institution::after {
    content: "MAXFIY · SNT-102";
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.45);
    padding: 5px 10px;
    animation: seal-pulse 2.4s ease-in-out infinite;
}

body.classified-auth.login-page--official .login-access-card {
    border: 1px solid rgba(34, 211, 238, 0.25) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.classified-auth .face-scanner-card {
    border-top: 2px solid rgba(251, 191, 36, 0.5) !important;
    border-image: none !important;
}

body.classified-auth .face-id-badge {
    border-color: rgba(34, 211, 238, 0.25) !important;
    background: rgba(8, 16, 28, 0.85) !important;
    border-radius: 2px !important;
}

body.classified-auth .face-scanner-ring {
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    body.classified-app .classified-shell__grid,
    body.classified-app .classified-shell__scan::after,
    body.classified-auth .content-wrap.otp-page-wrap::before {
        animation: none;
    }
}

/* —— Kun rejimi (ochiq fon) —— */
[data-theme="light"] body.classified-app {
    --bg: #e8eef6;
    --surface: #ffffff;
    --surface-elevated: #f3f6fb;
    --border: #c7d2e0;
    --text: #0f172a;
    --text-muted: #64748b;
    --accent: #0e7490;
    --accent-gold: #c9a227;
    background: var(--bg-app, #e8eef6) !important;
    color: var(--text-primary, #0f172a) !important;
}

[data-theme="light"] body.classified-app .app-global-bar {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--surface) 96%, transparent) 0%,
        color-mix(in srgb, var(--surface-elevated) 90%, transparent) 100%
    );
    border-bottom-color: color-mix(in srgb, var(--border) 80%, var(--accent) 20%);
}

[data-theme="light"] body.classified-app .classified-shell__fx {
    opacity: 0.22;
}

[data-theme="light"] body.classified-app .classified-shell__vignette {
    background: radial-gradient(ellipse at center, transparent 55%, rgba(232, 238, 246, 0.55) 100%);
}

[data-theme="light"] body.classified-app .classified-shell__grid {
    background-image: linear-gradient(rgba(14, 116, 144, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 116, 144, 0.06) 1px, transparent 1px);
}

[data-theme="light"] body.classified-app .classified-topbar {
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 85%, #0e7490 15%);
    box-shadow: 0 4px 18px rgba(15, 39, 68, 0.06);
}

[data-theme="light"] body.classified-app .classified-topbar__user {
    color: #0e7490;
}

[data-theme="light"] body.classified-app .classified-nav__link {
    color: #475569;
}

[data-theme="light"] body.classified-app .classified-nav__link:hover {
    color: #0f172a;
    background: rgba(14, 116, 144, 0.08);
}

[data-theme="light"] body.classified-app .classified-nav__link--active {
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.35);
    background: rgba(14, 116, 144, 0.1);
}

[data-theme="light"] body.classified-app .classified-page-head__title {
    color: #0f172a;
}

[data-theme="light"] body.classified-app .classified-page-head__sub {
    color: #64748b;
}

[data-theme="light"] body.classified-app .classified-page-head {
    border-bottom-color: rgba(14, 116, 144, 0.12);
}

[data-theme="light"] body.classified-app .map-section,
[data-theme="light"] body.classified-app .form-section,
[data-theme="light"] body.classified-app .complaint-detail-card,
[data-theme="light"] body.classified-app .data-management,
[data-theme="light"] body.classified-app .sidebar {
    background: linear-gradient(
        188deg,
        var(--surface, #ffffff) 0%,
        color-mix(in srgb, var(--surface-elevated, #f3f6fb) 94%, #0e7490 6%) 100%
    ) !important;
    border-color: color-mix(in srgb, var(--border) 84%, #0e7490 16%) !important;
    color: var(--text-primary, #0f172a) !important;
    box-shadow: var(--shadow-lg, 0 8px 24px rgba(15, 39, 68, 0.08)) !important;
}

[data-theme="light"] body.classified-app .map-section h2,
[data-theme="light"] body.classified-app .map-section h3,
[data-theme="light"] body.classified-app .map-section h4,
[data-theme="light"] body.classified-app .form-section h2,
[data-theme="light"] body.classified-app .form-section h3 {
    color: var(--text-primary, #0f172a) !important;
}

[data-theme="light"] body.classified-app .gov-filter-panel,
[data-theme="light"] body.classified-app .complaints-list-filters-wrap.gov-filter-panel {
    background: var(--surface, #ffffff) !important;
    border-color: color-mix(in srgb, var(--border) 70%, #c9a227 30%) !important;
    box-shadow: var(--shadow-md, 0 8px 20px rgba(15, 39, 68, 0.08)) !important;
}

[data-theme="light"] body.classified-app .gov-filter-panel__title {
    color: var(--text-primary, #0f172a) !important;
}

[data-theme="light"] body.classified-app .gov-filter-field label,
[data-theme="light"] body.classified-app .gov-filter-form .form-group label,
[data-theme="light"] body.classified-app label {
    color: var(--text-secondary, #334155) !important;
}

[data-theme="light"] body.classified-app input[type="text"],
[data-theme="light"] body.classified-app input[type="password"],
[data-theme="light"] body.classified-app input[type="email"],
[data-theme="light"] body.classified-app input[type="tel"],
[data-theme="light"] body.classified-app input[type="number"],
[data-theme="light"] body.classified-app input[type="date"],
[data-theme="light"] body.classified-app input[type="search"],
[data-theme="light"] body.classified-app input[type="file"],
[data-theme="light"] body.classified-app select,
[data-theme="light"] body.classified-app textarea {
    background: #ffffff !important;
    border-color: var(--border, #c7d2e0) !important;
    color: var(--text-primary, #0f172a) !important;
}

[data-theme="light"] body.classified-app .map-hint,
[data-theme="light"] body.classified-app .map-filters-float__hint,
[data-theme="light"] body.classified-app .text-muted {
    color: var(--text-muted, #64748b) !important;
}

[data-theme="light"] body.classified-app .table-wrapper {
    border-color: color-mix(in srgb, var(--border) 80%, #0e7490 20%);
    background: #ffffff;
}

[data-theme="light"] body.classified-app .complaints-list-table th {
    color: #0e7490;
    border-bottom-color: color-mix(in srgb, var(--border) 75%, #c9a227 25%);
    background: color-mix(in srgb, var(--surface-elevated, #f3f6fb) 90%, #0e7490 10%);
}

[data-theme="light"] body.classified-app .complaints-list-table td {
    color: var(--text-primary, #0f172a);
    border-bottom-color: var(--border, #e2e8f0);
}

[data-theme="light"] body.classified-app .complaints-list-table tbody tr:hover td {
    background: rgba(14, 116, 144, 0.05);
}

[data-theme="light"] body.classified-app .complaints-list-table a {
    color: #0e7490;
}

[data-theme="light"] body.classified-app .classified-footer-min {
    color: #64748b;
}

[data-theme="light"] body.classified-app .secure-export-banner {
    background: linear-gradient(135deg, #ffffff, #f0f9ff) !important;
    border-color: rgba(14, 116, 144, 0.25) !important;
}

[data-theme="light"] body.classified-app.complaints-list-view .complaints-list-page {
    background: transparent !important;
}

[data-theme="light"] body.classified-app.complaints-list-view .classified-case-card {
    background: linear-gradient(165deg, #ffffff 0%, #f3f6fb 100%) !important;
    border-color: color-mix(in srgb, var(--border) 80%, #0e7490 20%) !important;
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 39, 68, 0.07) !important;
}

[data-theme="light"] body.classified-app.complaints-list-view .classified-case-card__number {
    color: #0f172a !important;
}

[data-theme="light"] body.classified-app.complaints-list-view .classified-case-card__meta {
    color: #64748b !important;
}

[data-theme="light"] body.classified-app.complaints-list-view .classified-case-card__seal {
    color: #c9a227 !important;
}

[data-theme="light"] body.classified-app.complaints-list-view .classified-case-card__type {
    color: #0e7490 !important;
    border-top-color: var(--border, #e2e8f0) !important;
}

[data-theme="light"] body.classified-app .pagination a,
[data-theme="light"] body.classified-app .pagination span {
    background: #ffffff;
    border-color: var(--border, #c7d2e0);
    color: var(--text-primary, #0f172a);
}

[data-theme="light"] body.classified-app .pagination .current {
    background: rgba(14, 116, 144, 0.12);
    border-color: rgba(14, 116, 144, 0.35);
    color: #0e7490;
}

/* —— Xodimlar boshqaruvi —— */
body.classified-app.staff-manage-view .staff-manage {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 32px;
}

body.classified-app.staff-manage-view .staff-manage__grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 20px;
    align-items: start;
}

body.classified-app.staff-manage-view .staff-panel {
    background: rgba(8, 18, 32, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 14px;
    padding: 20px 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

body.classified-app.staff-manage-view .staff-panel__head {
    margin-bottom: 18px;
}

body.classified-app.staff-manage-view .staff-panel__title {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e2f4ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.classified-app.staff-manage-view .staff-panel__hint {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: rgba(186, 214, 235, 0.75);
    line-height: 1.45;
}

body.classified-app.staff-manage-view .staff-panel__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 600;
}

body.classified-app.staff-manage-view .staff-panel--list .staff-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.classified-app.staff-manage-view .staff-form__field {
    margin-bottom: 14px;
}

body.classified-app.staff-manage-view .staff-form__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(186, 214, 235, 0.85);
}

body.classified-app.staff-manage-view .staff-form__input,
body.classified-app.staff-manage-view .staff-form__select {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    background: rgba(2, 8, 18, 0.65);
    color: #f0f9ff;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.classified-app.staff-manage-view .staff-form__input:focus,
body.classified-app.staff-manage-view .staff-form__select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

body.classified-app.staff-manage-view .staff-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

body.classified-app.staff-manage-view .staff-form__error {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: #fca5a5;
}

body.classified-app.staff-manage-view .staff-form__errors {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
    font-size: 0.88rem;
}

body.classified-app.staff-manage-view .staff-form__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(14, 116, 144, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: rgba(186, 230, 253, 0.9);
    font-size: 0.84rem;
    line-height: 1.45;
}

body.classified-app.staff-manage-view .staff-form__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0e7490 0%, #0369a1 100%);
    color: #f0f9ff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.12s ease, filter 0.12s ease;
}

body.classified-app.staff-manage-view .staff-form__submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

body.classified-app.staff-manage-view .staff-districts {
    display: grid;
    gap: 12px;
    max-height: min(68vh, 640px);
    overflow-y: auto;
    padding-right: 4px;
}

body.classified-app.staff-manage-view .staff-district-card {
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.14);
    background: rgba(2, 10, 22, 0.55);
    overflow: hidden;
}

body.classified-app.staff-manage-view .staff-district-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(56, 189, 248, 0.08);
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

body.classified-app.staff-manage-view .staff-district-card__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #bae6fd;
}

body.classified-app.staff-manage-view .staff-district-card__badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    padding: 2px 8px;
}

body.classified-app.staff-manage-view .staff-district-card__list {
    list-style: none;
    margin: 0;
    padding: 8px 10px;
}

body.classified-app.staff-manage-view .staff-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 8px;
}

body.classified-app.staff-manage-view .staff-member:hover {
    background: rgba(56, 189, 248, 0.06);
}

body.classified-app.staff-manage-view .staff-member__login {
    font-family: "Share Tech Mono", monospace;
    font-size: 0.88rem;
    color: #e0f2fe;
}

body.classified-app.staff-manage-view .staff-member__otp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

body.classified-app.staff-manage-view .staff-member__otp--on {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

body.classified-app.staff-manage-view .staff-member__otp--pending {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

body.classified-app.staff-manage-view .staff-empty {
    margin: 0;
    padding: 24px 12px;
    text-align: center;
    color: rgba(186, 214, 235, 0.7);
    font-size: 0.9rem;
}

body.classified-app.staff-manage-view .staff-admin-otp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    max-width: 1100px;
    margin: 0 auto 18px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.06);
}

body.classified-app.staff-manage-view .staff-admin-otp__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.12);
    color: #fcd34d;
    font-size: 1.2rem;
}

body.classified-app.staff-manage-view .staff-admin-otp__body {
    flex: 1;
    min-width: 200px;
}

body.classified-app.staff-manage-view .staff-admin-otp__title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fde68a;
}

body.classified-app.staff-manage-view .staff-admin-otp__hint {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(253, 230, 138, 0.75);
}

body.classified-app.staff-manage-view .staff-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: filter 0.12s ease, transform 0.12s ease;
}

body.classified-app.staff-manage-view .staff-btn--ghost {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
}

body.classified-app.staff-manage-view .staff-btn--primary {
    background: linear-gradient(135deg, #0e7490, #0369a1);
    color: #f0f9ff;
}

body.classified-app.staff-manage-view .staff-btn--warn {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fca5a5;
}

body.classified-app.staff-manage-view .staff-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

body.classified-app.staff-manage-view .staff-member__details {
    border-radius: 10px;
    overflow: hidden;
}

body.classified-app.staff-manage-view .staff-member__summary {
    list-style: none;
    cursor: pointer;
}

body.classified-app.staff-manage-view .staff-member__summary::-webkit-details-marker {
    display: none;
}

body.classified-app.staff-manage-view .staff-member__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
}

body.classified-app.staff-manage-view .staff-member__summary:hover {
    background: rgba(56, 189, 248, 0.06);
}

body.classified-app.staff-manage-view .staff-member__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.classified-app.staff-manage-view .staff-member__chevron {
    font-size: 0.7rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

body.classified-app.staff-manage-view .staff-member__details[open] .staff-member__chevron {
    transform: rotate(180deg);
}

body.classified-app.staff-manage-view .staff-member__body {
    padding: 12px 10px 14px;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    margin-top: 4px;
}

body.classified-app.staff-manage-view .staff-form--compact .staff-form__field {
    margin-bottom: 10px;
}

body.classified-app.staff-manage-view .staff-member__actions {
    margin-top: 10px;
}

body.classified-app.staff-manage-view .staff-member__otp-reset {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(248, 113, 113, 0.2);
}

@media (max-width: 900px) {
    body.classified-app.staff-manage-view .staff-manage__grid {
        grid-template-columns: 1fr;
    }

    body.classified-app.staff-manage-view .staff-form__row {
        grid-template-columns: 1fr;
    }
}

[data-theme="light"] body.classified-app.staff-manage-view .staff-panel {
    background: #ffffff;
    border-color: var(--border, #dbeafe);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] body.classified-app.staff-manage-view .staff-panel__title {
    color: var(--text-primary, #0f172a);
}

[data-theme="light"] body.classified-app.staff-manage-view .staff-panel__hint {
    color: var(--text-muted, #64748b);
}

[data-theme="light"] body.classified-app.staff-manage-view .staff-form__input,
[data-theme="light"] body.classified-app.staff-manage-view .staff-form__select {
    background: #f8fafc;
    border-color: var(--border, #cbd5e1);
    color: var(--text-primary, #0f172a);
}

[data-theme="light"] body.classified-app.staff-manage-view .staff-district-card {
    background: #f8fafc;
    border-color: var(--border, #e2e8f0);
}

[data-theme="light"] body.classified-app.staff-manage-view .staff-district-card__title,
[data-theme="light"] body.classified-app.staff-manage-view .staff-member__login {
    color: var(--text-primary, #0f172a);
}
