/* ==========================================
   ZuKizZ�ƴ洢 �� ǳɫ��̬����
   Light Fluid Theme
   ========================================== */

/* ---------- ��̬���屳�� ---------- */
@keyframes fluidMove {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    25%  { transform: translate(60px,-40px) rotate(90deg) scale(1.1); }
    50%  { transform: translate(-30px,60px) rotate(180deg) scale(0.95); }
    75%  { transform: translate(40px,20px) rotate(270deg) scale(1.05); }
    100% { transform: translate(0,0) rotate(360deg) scale(1); }
}
@keyframes fluidMove2 {
    0%   { transform: translate(0,0) scale(1); }
    33%  { transform: translate(-50px,30px) scale(1.15); }
    66%  { transform: translate(40px,-50px) scale(0.9); }
    100% { transform: translate(0,0) scale(1); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

:root {
    --zk-primary: #5b8def;
    --zk-primary-light: #5b8def;
    --zk-gradient: #5b8def;
    --zk-primary-bg: #eef2ff;
    --zk-accent: #f472b6;
    --zk-accent-light: #f9a8d4;
    --zk-cyan: #22d3ee;
    --zk-bg: #f5f7fa;
    --zk-surface: #ffffff;
    --zk-surface-solid: #ffffff;
    --zk-card: #ffffff;
    --zk-border: #e2e8f0;
    --zk-text: #1e293b;
    --zk-text-sub: #64748b;
    --zk-text-dim: #94a3b8;
    --zk-success: #10b981;
    --zk-success-bg: #ecfdf5;
    --zk-warning: #f59e0b;
    --zk-warning-bg: #fffbeb;
    --zk-danger: #ef4444;
    --zk-danger-bg: #fef2f2;
    --zk-info: #3b82f6;
    --zk-info-bg: #eff6ff;
    --zk-radius: 12px;
    --zk-radius-sm: 8px;
    --zk-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --zk-shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
}

/* ����ģʽ */
htmlhtml[data-theme="dark"] {
    --zk-primary: #5b8def;
    --zk-primary-light: #5b8def;
    --zk-gradient: #5b8def;
    --zk-primary-bg: #1e293b;
    --zk-accent: #f472b6;
    --zk-accent-light: #f9a8d4;
    --zk-cyan: #22d3ee;
    --zk-bg: #0f172a;
    --zk-surface: #1e293b;
    --zk-surface-solid: #1e293b;
    --zk-card: #1e293b;
    --zk-border: #334155;
    --zk-text: #f1f5f9;
    --zk-text-sub: #94a3b8;
    --zk-text-dim: #64748b;
    --zk-success: #10b981;
    --zk-success-bg: #064e3b;
    --zk-warning: #f59e0b;
    --zk-warning-bg: #78350f;
    --zk-danger: #ef4444;
    --zk-danger-bg: #7f1d1d;
    --zk-info: #3b82f6;
    --zk-info-bg: #1e3a5f;
    --zk-shadow: 0 1px 3px rgba(0,0,0,0.3);
    --zk-shadow-hover: 0 4px 12px rgba(0,0,0,0.4);
}
/* ����ģʽ - ������� */
htmlhtml[data-theme="dark"] .table > thead > tr > th {
    background: var(--zk-surface);
    color: var(--zk-text-sub);
    border-bottom-color: var(--zk-border);
}
htmlhtml[data-theme="dark"] .table > tbody > tr > td {
    border-bottom-color: var(--zk-border);
    color: var(--zk-text);
}
htmlhtml[data-theme="dark"] .table-hover > tbody > tr:hover > td {
    background: rgba(99,102,241,0.1);
}
/* ����ģʽ - �ļ�ͼ������ */
htmlhtml[data-theme="dark"] .file-icon.img { background: rgba(236,72,153,0.15); color: #f472b6; }
htmlhtml[data-theme="dark"] .file-icon.audio { background: rgba(14,165,233,0.15); color: #0ea5e9; }
htmlhtml[data-theme="dark"] .file-icon.video { background: rgba(245,158,11,0.15); color: #f59e0b; }
htmlhtml[data-theme="dark"] .file-icon.doc { background: rgba(139,92,246,0.15); color: #8b5cf6; }
htmlhtml[data-theme="dark"] .file-icon.other { background: rgba(148,163,184,0.15); color: var(--zk-text-dim); }
/* ����ģʽ - �ϴ��������� */
htmlhtml[data-theme="dark"] .upload-area {
    background: var(--zk-card) !important;
    border-color: var(--zk-border) !important;
}
htmlhtml[data-theme="dark"] .upload-area h1 { color: var(--zk-text-sub) !important; }
/* ����ģʽ - ��¼ҳ���� */
htmlhtml[data-theme="dark"] .login-card {
    background: var(--zk-card);
    border-color: var(--zk-border);
}
htmlhtml[data-theme="dark"] .login-card h4 { color: var(--zk-text); }
htmlhtml[data-theme="dark"] .login-card .subtitle { color: var(--zk-text-sub); }
/* ����ģʽ - ���������䣨���ںϣ� */
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
    box-shadow: none !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-collapse.collapse,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-collapse.collapsing,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-collapse.in {
    background: #0f172a !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .nav-glider-tabs {
    background: #1e293b !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .nav-glider {
    background: #334155 !important;
    box-shadow: none !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-toggle .icon-bar {
    background: #f1f5f9 !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-collapse {
    background: #1e293b !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-brand {
    color: #5b8def !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .nav-glider-tabs {
    background: #0f172a !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .nav-glider {
    background: #1e293b !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .nav-glider-tab {
    color: #94a3b8 !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .nav-glider-tab.active {
    color: #5b8def !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .navbar-toggle .icon-bar {
    background: #f1f5f9 !important;
}
htmlhtml[data-theme="dark"] .navbar-default .navbar-nav > li > a { color: var(--zk-text) !important; }
htmlhtml[data-theme="dark"] .navbar-default .navbar-nav > li > a:hover { background: rgba(99,102,241,0.1) !important; }
/* ����ģʽ - ͨ���������� */
htmlhtml[data-theme="dark"] .text-muted { color: #94a3b8 !important; }
htmlhtml[data-theme="dark"] small { color: #94a3b8; }

/* ����ģʽ - body ����ǿ�����䣨ֱ��д��ɫֵ�������������� */
htmlhtml[data-theme="dark"] body:not(.admin-body) {
    background: #0f172a !important;
    color: #f1f5f9 !important;
}
htmlhtml[data-theme="dark"] body.admin-body {
    background: #0f172a !important;
}

/* ����ģʽ - ��񱳾�ǿ�����䣨��ǿ���ȼ��� */
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .table,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .filelist {
    background-color: #1e293b !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .table > thead > tr > th,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .table > tbody > tr > td,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .filelist > thead > tr > th,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .filelist > tbody > tr > td {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .table-hover > tbody > tr:hover > td,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .filelist.table-hover > tbody > tr:hover > td {
    background-color: #334155 !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .table-striped > tbody > tr:nth-of-type(odd) > td,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .filelist.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: #263548 !important;
}
/* ����ģʽ - �ϴ�ҳ��ǿ�����䣨��ǿ���ȼ��� */
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .upload-box,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .upload-area,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .upload-page-wrapper {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .upload-box .upload-text-main,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .upload-box .upload-text-sub {
    color: #94a3b8 !important;
}
/* ����ģʽ - �հ��ļ��б�ǿ������ */
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .well .text-center,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) .bs-component .text-center {
    color: #94a3b8 !important;
}
/* ����ģʽ - ǿ�Ƹ������а�ɫ���� */
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) tr > td,
htmlhtmlhtml[data-theme="dark"] body:not(.admin-body) tr > th {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

/* ����ģʽ - ���Ԫ������ */
htmlhtml[data-theme="dark"] input[type="text"],
htmlhtml[data-theme="dark"] input[type="password"],
htmlhtml[data-theme="dark"] input[type="email"],
htmlhtml[data-theme="dark"] input[type="number"],
htmlhtml[data-theme="dark"] input[type="search"],
htmlhtml[data-theme="dark"] textarea,
htmlhtml[data-theme="dark"] select {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}
htmlhtml[data-theme="dark"] input::placeholder,
htmlhtml[data-theme="dark"] textarea::placeholder {
    color: #64748b !important;
}
htmlhtml[data-theme="dark"] select option {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}
/* ����ģʽ - ��ť���� */
htmlhtml[data-theme="dark"] .btn-default {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
    border-color: #475569 !important;
}
htmlhtml[data-theme="dark"] .btn-default:hover {
    background-color: #475569 !important;
}
/* ����ģʽ - �����˵����� */
htmlhtml[data-theme="dark"] .dropdown-menu {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}
htmlhtml[data-theme="dark"] .dropdown-menu > li > a {
    color: #f1f5f9 !important;
}
htmlhtml[data-theme="dark"] .dropdown-menu > li > a:hover {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
}

/* ����ģʽ - �ϴ�����ǿ������ */
htmlhtml[data-theme="dark"] .upload-area,
htmlhtml[data-theme="dark"] .upload-page-wrapper,
htmlhtml[data-theme="dark"] .upload-area-wrapper,
htmlhtml[data-theme="dark"] .upload-box {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
htmlhtml[data-theme="dark"] .upload-area h1,
htmlhtml[data-theme="dark"] .upload-box .upload-text-main {
    color: #94a3b8 !important;
}
htmlhtml[data-theme="dark"] .upload-box:hover {
    background: #334155 !important;
}

/* ����ģʽ - �ļ��б�ǿ������ */
htmlhtml[data-theme="dark"] .filelist,
htmlhtml[data-theme="dark"] .filelist > thead > tr > th,
htmlhtml[data-theme="dark"] .filelist > tbody > tr > td {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}
htmlhtml[data-theme="dark"] .filelist.table-hover > tbody > tr:hover > td {
    background: #334155 !important;
}
htmlhtml[data-theme="dark"] .filelist.table-striped > tbody > tr:nth-of-type(odd) > td {
    background: #263548 !important;
}

/* ����ģʽ - �հ��ļ��б� */
htmlhtml[data-theme="dark"] .well .text-center,
htmlhtml[data-theme="dark"] .filelist td.text-center {
    background: transparent !important;
    color: #94a3b8 !important;
}

/* ����ģʽ - well/panel ����ǿ������ */
htmlhtml[data-theme="dark"] .well,
htmlhtml[data-theme="dark"] .bs-component {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
htmlhtml[data-theme="dark"] .panel-heading {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
}
htmlhtml[data-theme="dark"] .panel-body {
    color: #f1f5f9 !important;
}

/* ����ģʽ - �������� */
htmlhtml[data-theme="dark"] .container,
htmlhtml[data-theme="dark"] .container-fluid {
    background: transparent !important;
}

/* ����ģʽ - �������� */
htmlhtml[data-theme="dark"] .container,
htmlhtml[data-theme="dark"] .container-fluid {
    background: transparent;
}
htmlhtml[data-theme="dark"] .well,
htmlhtml[data-theme="dark"] .bs-component {
    background: var(--zk-card) !important;
    border-color: var(--zk-border) !important;
    color: var(--zk-text) !important;
}

/* ����ģʽ - ������屳�� */
htmlhtml[data-theme="dark"] .table {
    background: var(--zk-card) !important;
    color: var(--zk-text) !important;
}
htmlhtml[data-theme="dark"] .table > thead > tr > th {
    background: var(--zk-surface) !important;
    color: var(--zk-text-sub) !important;
    border-bottom-color: var(--zk-border) !important;
}
htmlhtml[data-theme="dark"] .table > tbody > tr > td {
    background: var(--zk-card) !important;
    border-bottom-color: var(--zk-border) !important;
    color: var(--zk-text) !important;
    vertical-align: middle;
}
htmlhtml[data-theme="dark"] .table-hover > tbody > tr:hover > td {
    background: rgba(99,102,241,0.15) !important;
}
htmlhtml[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > td {
    background: rgba(255,255,255,0.03) !important;
}
htmlhtml[data-theme="dark"] .table-responsive {
    background: transparent;
}

/* ����ģʽ - �ϴ�ҳ�� */
htmlhtml[data-theme="dark"] .upload-page-wrapper,
htmlhtml[data-theme="dark"] .upload-area-wrapper {
    background: var(--zk-bg) !important;
}
htmlhtml[data-theme="dark"] .upload-area {
    background: var(--zk-card) !important;
    border-color: var(--zk-border) !important;
}
htmlhtml[data-theme="dark"] .upload-area h1 { color: var(--zk-text-sub) !important; }

/* ����ģʽ - �հ��ļ��б� */
htmlhtml[data-theme="dark"] .empty-files,
htmlhtml[data-theme="dark"] .no-files {
    background: var(--zk-card) !important;
    color: var(--zk-text-sub) !important;
}

/* ����ģʽ - panel ��� */
htmlhtml[data-theme="dark"] .panel {
    background: var(--zk-card) !important;
    border-color: var(--zk-border) !important;
}
htmlhtml[data-theme="dark"] .panel-heading {
    background: var(--zk-surface) !important;
    border-bottom-color: var(--zk-border) !important;
    color: var(--zk-text) !important;
}
htmlhtml[data-theme="dark"] .panel-body {
    color: var(--zk-text) !important;
}
htmlhtml[data-theme="dark"] .table-hover > tbody > tr:hover > td {
    background: rgba(99,102,241,0.15) !important;
}
/* ����ģʽ - well/panel ���� */
htmlhtml[data-theme="dark"] .well,
htmlhtml[data-theme="dark"] .bs-component {
    background: var(--zk-card) !important;
    border-color: var(--zk-border) !important;
}
/* ����ģʽ - �ϴ�ҳ�����屳�� */
htmlhtml[data-theme="dark"] body:not(.admin-body) {
    background: var(--zk-bg);
}
/* ����ģʽ - �հ��ļ��б����� */
htmlhtml[data-theme="dark"] .well .text-center,
htmlhtml[data-theme="dark"] .bs-component .text-center {
    color: var(--zk-text-sub);
}
/* ����ģʽ - ������ */
htmlhtml[data-theme="dark"] .searchbox .form-control {
    background: var(--zk-surface);
    color: var(--zk-text);
}
htmlhtml[data-theme="dark"] .searchbox button {
    background: var(--zk-primary) !important;
    color: #fff !important;
}
/* ����ģʽ - ��ҳ */
htmlhtml[data-theme="dark"] .pagination > li > a {
    background: var(--zk-surface);
    color: var(--zk-primary);
    border-color: var(--zk-border);
}
htmlhtml[data-theme="dark"] .pagination > li.active > a {
    background: var(--zk-primary) !important;
    color: #fff !important;
    border-color: var(--zk-primary);
}
htmlhtml[data-theme="dark"] .pagination > li > a:hover {
    background: var(--zk-border);
}

/* ������ɫԤ�� */
.theme-rose { --zk-primary: #e11d48; --zk-primary-light: #e11d48; --zk-gradient: #e11d48; --zk-primary-bg: #fff1f2; }
.theme-pink { --zk-primary: #f472b6; --zk-primary-light: #f472b6; --zk-gradient: #f472b6; --zk-primary-bg: #fdf2f8; }
.theme-orange { --zk-primary: #fb923c; --zk-primary-light: #fb923c; --zk-gradient: #fb923c; --zk-primary-bg: #fff7ed; }
.theme-yellow { --zk-primary: #facc15; --zk-primary-light: #facc15; --zk-gradient: #facc15; --zk-primary-bg: #fefce8; }
.theme-lime { --zk-primary: #84cc16; --zk-primary-light: #84cc16; --zk-gradient: #84cc16; --zk-primary-bg: #f7fee7; }
.theme-emerald { --zk-primary: #10b981; --zk-primary-light: #10b981; --zk-gradient: #10b981; --zk-primary-bg: #ecfdf5; }
.theme-sky { --zk-primary: #0ea5e9; --zk-primary-light: #0ea5e9; --zk-gradient: #0ea5e9; --zk-primary-bg: #f0f9ff; }
.theme-blue { --zk-primary: #3b82f6; --zk-primary-light: #3b82f6; --zk-gradient: #3b82f6; --zk-primary-bg: #eff6ff; }
.theme-violet { --zk-primary: #8b5cf6; --zk-primary-light: #8b5cf6; --zk-gradient: #8b5cf6; --zk-primary-bg: #f5f3ff; }
.theme-purple { --zk-primary: #a78bfa; --zk-primary-light: #a78bfa; --zk-gradient: #a78bfa; --zk-primary-bg: #f5f3ff; }

/* ---------- ȫ�� ---------- */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    min-height: 100vh;
    background: var(--zk-bg);
    color: var(--zk-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}
/* Sticky footer with vertical centering */
body:not(.admin-body) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Navbar stays at top */
body:not(.admin-body) > .navbar {
    flex-shrink: 0;
}
/* Main content area - flex to fill space and center content */
body:not(.admin-body) > div.container,
body:not(.admin-body) > div.container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
/* Footer always at bottom */
body:not(.admin-body) footer.footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* �򵥱��� */
.fluid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background: var(--zk-bg);
}
.fluid-blob {
    display: none;
}

/* ---------- ������ ---------- */
body:not(.admin-body) .navbar {
    background: var(--zk-surface);
    border: none;
    border-bottom: 1px solid var(--zk-border);
    border-radius: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    box-shadow: 0 2px 12px rgba(99,102,245,0.06);
    min-height: 60px;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.navbar > .container-fluid {
    max-width: 940px;
    margin: 0 auto;
    padding: 0;
}
.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--zk-primary) !important;
    padding: 10px 12px !important;
    height: 60px;
    display: flex !important;
    align-items: center;
    transition: opacity .2s;
}
.navbar-brand:hover { opacity: 0.85; }
.navbar-brand .zk-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--zk-primary);
    border-radius: 8px;
    margin-right: 10px;
    color: #fff; font-size: 18px;
}

/* ===== Glider �����������ˮƽ�� ===== */
@media (min-width: 768px) {
    .navbar-collapse.collapse {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .nav-glider-wrap {
        display: flex;
        align-items: center;
        height: 60px;
        flex: 0 1 auto;
        justify-content: center;
    }
    .nav-glider-tabs {
        display: flex;
        position: relative;
        align-items: center;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 5px;
        border-radius: 99px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.3);
        gap: 2px;
    }
}
@media (max-width: 767px) {
    .navbar-collapse.collapse.in {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        padding: 0 8px 8px;
    }
    .desktop-only {
        display: none !important;
    }
}
/* nav-glider-wrap �� nav-glider-tabs ��������ʽ�� @media (min-width: 768px) �ж��� */
.nav-glider-wrap {
    display: flex;
    flex: 1;
}
.nav-glider-tabs {
    display: flex;
    position: relative;
    align-items: center;
    gap: 2px;
}
.nav-glider-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--zk-text-sub);
    border-radius: 99px;
    cursor: pointer;
    text-decoration: none !important;
    transition: color .2s;
    z-index: 2;
    white-space: nowrap;
}
.nav-glider-tab:hover {
    color: var(--zk-primary);
}
.nav-glider-tab.active {
    color: var(--zk-primary);
    font-weight: 600;
}
.nav-glider-tab .fa {
    font-size: 14px;
}
.nav-glider {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: var(--zk-surface);
    border-radius: 99px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(99,102,245,0.12), 0 1px 2px rgba(0,0,0,0.06);
    transition: left .3s cubic-bezier(.4,0,.2,1), width .25s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}

.navbar-default .navbar-nav > li > a {
    color: var(--zk-text) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 20px 14px !important;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0;
    transition: all .2s;
    margin: 0;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a {
    background: rgba(99,102,245,0.08) !important;
    color: var(--zk-primary) !important;
}
.navbar-default .navbar-nav > li > a .fa { font-size: 15px; }
.navbar-default .navbar-nav.navbar-right > li > a {
    height: 60px;
}
.navbar-default .navbar-nav > li > a.user-nick {
    background: rgba(99,102,245,0.06);
    border-radius: 20px;
    margin: 10px 0;
    padding: 8px 14px !important;
    height: 40px;
}
.navbar-toggle { border: none; padding: 16px 12px; margin: 12px 0; }
.navbar-toggle .icon-bar { background: var(--zk-text-sub); border-radius: 2px; height: 2px; width: 22px; }
.dropdown-menu {
    background: var(--zk-surface-solid);
    border: 1px solid var(--zk-border);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 6px;
}
.dropdown-menu > li > a { border-radius: 6px; padding: 8px 14px; font-size: 13px; color: var(--zk-text); }
.dropdown-menu > li > a:hover { background: rgba(99,102,241,0.08); color: var(--zk-primary); }

/* ---------- ���� ---------- */
.container { max-width: 940px; }

/* ---------- ��Ƭ ---------- */
.well, .bs-component {
    background: transparent !important;
    border: none !important;
    border-radius: var(--zk-radius) !important;
    box-shadow: none;
    padding: 24px;
    transition: box-shadow .2s;
}
.well:hover, .bs-component:hover {
    box-shadow: none;
}
.bs-component .well { padding: 16px; }

/* ---------- �ļ���� ---------- */
.table { margin-bottom: 0; }
.table > thead > tr > th {
    color: var(--zk-text-sub);
    border-bottom: 2px solid rgba(99,102,241,0.2);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 10px 14px;
    background: transparent;
}
.table > tbody > tr > td {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(99,102,241,0.08);
    vertical-align: middle;
    line-height: 1;
    display: table-cell;
    background: transparent;
}
.table-hover > tbody > tr:hover > td { 
    background: rgba(99,102,241,0.08); 
}
.table .filename { font-weight: 600; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table .file-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 9px; font-size: 15px; margin-right: 10px; flex-shrink: 0;
}
.file-icon.img { background: rgba(236,72,153,0.1); color: #ec4899; }
.file-icon.audio { background: rgba(2,132,199,0.1); color: #0284c7; }
.file-icon.video { background: rgba(217,119,6,0.1); color: #d97706; }
.file-icon.doc { background: rgba(124,58,237,0.1); color: #7c3aed; }
.file-icon.other { background: rgba(148,163,184,0.1); color: #94a3b8; }

/* ---------- ��ť ---------- */
.btn-primary { background: var(--zk-primary) !important; border: none !important; color: #fff !important; border-radius: var(--zk-radius-sm); font-weight: 600; transition: all .2s; }
.btn-primary:hover { background: var(--zk-primary-light) !important; }
.btn-raised { border-radius: var(--zk-radius-sm) !important; padding: 10px 24px; font-size: 14px; font-weight: 600; }
.btn-success { background: var(--zk-success) !important; border: none !important; color: #fff !important; border-radius: var(--zk-radius-sm); }
.btn-info { background: var(--zk-info) !important; border: none !important; color: #fff !important; border-radius: var(--zk-radius-sm); }
.btn-default { background: var(--zk-surface) !important; border: 1px solid var(--zk-border) !important; color: var(--zk-text) !important; border-radius: var(--zk-radius-sm); }
.btn-default:hover { background: var(--zk-bg) !important; }

/* ---------- ��� ---------- */
.form-control {
    background: var(--zk-surface);
    border: 1.5px solid var(--zk-border);
    color: var(--zk-text);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all .2s;
}
.form-control:focus {
    background: var(--zk-surface-solid);
    border-color: var(--zk-primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.form-group { margin-bottom: 16px; }
.form-group label, .form-label { font-weight: 600; font-size: 13px; color: var(--zk-text); }
.help-block { color: var(--zk-text-dim); font-size: 12px; }
.checkbox label { color: var(--zk-text-sub); font-size: 13px; }

/* ---------- ������ ---------- */
.progress {
    height: 22px;
    border-radius: 11px;
    background: var(--zk-border);
    overflow: hidden;
    position: relative;
}
.progress-bar {
    background: var(--zk-primary);
    border-radius: 11px;
    transition: width .3s ease;
    min-width: 2%;
    height: 100%;
}
.progress-striped .progress-bar {
    background-image: linear-gradient(
        45deg,
        rgba(255,255,255,.35) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,.35) 50%,
        rgba(255,255,255,.35) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1.5rem 1.5rem;
}
.progress-striped.active .progress-bar {
    animation: progressStriped 0.6s linear infinite;
}
@keyframes progressStriped {
    from { background-position: 1.5rem 0; }
    to { background-position: 0 0; }
}

/* ===== ����μ��ض��� ===== */
.upload-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 10px 0;
}

/* �򵥼��ض��� */
.arc-loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--zk-border);
    border-top-color: var(--zk-primary);
    border-radius: 50%;
    animation: arcLoader 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes arcLoader {
    to { transform: rotate(360deg); }
}
@keyframes arcLoader {
    33%  { inset: -11.2px; transform: rotate(0deg); }
    66%  { inset: -11.2px; transform: rotate(90deg); }
    100% { inset: 0;       transform: rotate(90deg); }
}

/* �򵥼��ض��� */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--zk-border);
    border-top-color: var(--zk-primary);
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* �򵥼��ض��� */
.poly-loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--zk-border);
    border-top-color: var(--zk-primary);
    border-radius: 50%;
    animation: polyLoader 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes polyLoader {
    to { transform: rotate(360deg); }
}
.poly-loader:before,
.poly-loader:after {
    display: none;
}

/* ��״��λ��ͨ�� poly-loader �� phase ����Ƴߴ磩 */
.poly-loader.phase-0 { transform: rotate(0deg); }
.poly-loader.phase-1 { transform: rotate(90deg); }
.poly-loader.phase-2 { transform: rotate(180deg); }
.poly-loader.phase-3 { transform: rotate(270deg); }

.upload-loading .loading-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.upload-loading .loading-info .filename {
    font-size: 13px;
    font-weight: 600;
    color: var(--zk-text);
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.upload-loading .loading-info .status {
    font-size: 12px;
    color: var(--zk-text-sub);
}

/* ---------- 搜索框 ---------- */
.searchbox { margin-top: -8px; }
.searchbox .form-control { border-radius: 25px; padding: 8px 18px; }
.searchbox button { border-radius: 0 25px 25px 0 !important; padding: 8px 18px; }

/* ---------- �ϴ��� ---------- */
.upload-area {
    border: 2px dashed var(--zk-border) !important;
    border-radius: var(--zk-radius) !important;
    background: var(--zk-card) !important;
    padding: 50px 30px;
    transition: all .3s;
    cursor: pointer;
}
.upload-area:hover { border-color: var(--zk-primary) !important; background: var(--zk-bg) !important; }
.upload-area h1 { color: var(--zk-text-sub) !important; font-weight: 300 !important; }

/* ---------- ��¼ҳ ---------- */
.login-page-wrapper { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card {
    background: var(--zk-card);
    border: 1px solid var(--zk-border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 44px 36px;
    width: 100%; max-width: 380px;
    text-align: center;
}
.login-card .zk-login-logo {
    width: 60px; height: 60px;
    background: var(--zk-primary);
    border-radius: 12px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px;
}
.login-card h4 { font-weight: 800; font-size: 22px; color: var(--zk-text); margin-bottom: 6px; }
.login-card .subtitle { color: var(--zk-text-sub); font-size: 13px; margin-bottom: 28px; }
.social-btn-row { display: flex; justify-content: center; gap: 16px; }
.social-btn {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none !important;
}
.social-btn:hover { transform: translateY(-3px); color: #fff !important; }
.social-btn.qq { background: #3b82f6; }
.social-btn.wx { background: #22c55e; }
.social-hint { color: var(--zk-text-dim); font-size: 12px; margin-top: 18px; }

/* ---------- ���ӽ���ҳ ---------- */
.parse-card {
    background: var(--zk-card);
    border: 1px solid var(--zk-border);
    border-radius: var(--zk-radius);
    box-shadow: var(--zk-shadow);
    padding: 36px;
}

/* ---------- ҳ�� ---------- */
.footer { 
    text-align: center; 
    padding: 20px 0; 
    color: var(--zk-text-dim); 
    font-size: 12px; 
    border: none !important; 
    background: transparent !important; 
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}
.footer .container {
    flex: none;
}
.footer a { color: var(--zk-text-sub); }
.footer a:hover { color: var(--zk-primary); }

/* ---------- Ʒ������ ---------- */
.brand-link { color: var(--zk-primary) !important; font-weight: 700; text-decoration: none !important; transition: opacity .2s; }
.brand-link:hover { opacity: 0.8; }

/* ---------- �����̨ ---------- */
.admin-sidebar {
    width: 230px;
    background: var(--zk-surface);
    border-right: 1px solid var(--zk-border);
    padding: 20px 14px;
    position: fixed; top: 0; left: 0; bottom: 0;
    overflow-y: auto;
}
.admin-sidebar .sidebar-brand .sb-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; background: var(--zk-primary);
    border-radius: 8px; color: #fff; font-size: 14px; margin-right: 8px; vertical-align: middle;
}
.admin-sidebar .sidebar-brand {
    font-weight: 800; font-size: 16px;
    color: var(--zk-primary);
    padding: 0 10px 20px;
    border-bottom: 1px solid var(--zk-border);
    margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center; text-decoration: none !important;
}
.admin-sidebar .sidebar-brand .sb-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; background: var(--zk-gradient);
    border-radius: 9px; color: #fff; font-size: 14px; margin-right: 8px; vertical-align: middle;
}
.admin-sidebar .nav-pills > li > a { border-radius: 8px; padding: 9px 12px; color: var(--zk-text-sub); font-size: 13px; font-weight: 500; margin-bottom: 2px; transition: all .15s; text-align: center; display: block; }
.admin-sidebar .nav-pills > li > a:hover { background: rgba(99,102,241,0.08); color: var(--zk-primary); }
.admin-sidebar .nav-pills > li.active > a { background: var(--zk-primary); color: #fff; }
.admin-sidebar .nav-pills > li > a > .fa { width: 18px; text-align: center; margin-right: 6px; }
.admin-content { margin-left: 230px; padding: 24px; flex: 1; }
.stat-card {
    background: var(--zk-card);
    border: 1px solid var(--zk-border);
    border-radius: var(--zk-radius); padding: 20px; text-align: center;
    box-shadow: var(--zk-shadow); transition: box-shadow .2s;
}
.stat-card:hover { box-shadow: var(--zk-shadow-hover); }
.stat-card .stat-icon {
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px; font-size: 18px; color: #fff;
}
.stat-card .stat-icon.cyan { background: var(--zk-info); }
.stat-card .stat-icon.pink { background: var(--zk-danger); }
.stat-card .stat-icon.green { background: var(--zk-success); }
.stat-card .stat-icon.purple { background: var(--zk-primary); }
.stat-card .stat-num { font-size: 26px; font-weight: 800; color: var(--zk-text); }
.stat-card .stat-label { font-size: 11px; color: var(--zk-text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- ��� ---------- */
.panel { border: 1px solid var(--zk-border); border-radius: var(--zk-radius); box-shadow: var(--zk-shadow); background: var(--zk-card); }
.panel-heading { border-radius: var(--zk-radius) var(--zk-radius) 0 0; padding: 14px 18px; border-bottom: 1px solid var(--zk-border); }
.panel-title { font-weight: 700; font-size: 14px; }

/* ---------- ��ʾ�� ---------- */
.alert { border: 1px solid; border-radius: var(--zk-radius-sm); font-size: 13px; }
.alert-success { background: var(--zk-success-bg); color: #059669; border-color: var(--zk-success); }
.alert-danger { background: var(--zk-danger-bg); color: #dc2626; border-color: var(--zk-danger); }
.alert-info { background: var(--zk-info-bg); color: #3b82f6; border-color: var(--zk-info); }

/* ---------- ���� ---------- */
.badge { background: var(--zk-primary); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; color: #fff; display: inline-flex; align-items: center; justify-content: center; min-height: 20px; }

/* ---------- ��ҳ ---------- */
.pagination > li > a { color: var(--zk-primary); border-radius: 8px; margin: 0 2px; border: 1px solid var(--zk-border); background: #fff; }
.pagination > li > a:hover { background: var(--zk-primary-bg); }
.pagination > .active > a { background: var(--zk-primary); color: #fff; border-color: var(--zk-primary); }

/* ---------- ��Ӧʽ ---------- */

/* File info table responsive */
.fileinfo-table { max-width: 80%; }

/* Form inline mobile */
.form-inline .form-control { display: inline-block; width: auto; vertical-align: middle; }
.form-inline .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; }

/* Video player responsive */
.videoplayer { width: 100%; height: 530px; }

/* Login button mobile */
#loginform .loginbtn { margin: 15px; }
.loginbtn i { padding-top: 15px; }

/* APlayer mobile */
.aplayer .aplayer-pic { height: 100px; width: 100px; }
.aplayer .aplayer-info .aplayer-music .aplayer-title { font-size: 18px; }
.aplayer .aplayer-info { margin-left: 100px; padding: 25px 7px 0 10px; height: 66px; box-sizing: border-box; }

/* File info table mobile */
@media (max-width:767px) {
    .fileinfo-table { max-width: 100%; }
}

/* Searchbox mobile */
@media (min-width:767px) {
    .searchbox { float: right; }
}

/* Video player responsive heights */
@media (max-width:1999px) { .videoplayer { height: 500px; } }
@media (max-width:991px) { .videoplayer { height: 450px; } }
@media (max-width:767px) { .videoplayer { height: 400px; } }

/* More mobile adjustments */
@media (max-width:767px) {
    .container { padding: 0 10px; }
    .panel-body { padding: 12px; }
    .stat-card { margin-bottom: 12px; }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 11px; }
    .btn-lg { padding: 10px 16px; font-size: 14px; }
    .form-horizontal .control-label { text-align: left; margin-bottom: 5px; }
    .col-sm-2.control-label { width: 100%; text-align: left; }
    .col-sm-10 { width: 100%; }
    .table-responsive { font-size: 12px; }
    .well { padding: 12px; }
}

@media (max-width:767px) {
    .well, .bs-component { 
        padding: 18px; 
        border-radius: 12px !important;
        background: transparent !important;
        border: none !important;
    }
    .login-card { padding: 28px 20px; border-radius: 16px; }
    .admin-content { margin-left: 0; padding: 14px; }
    .fluid-blob { opacity: 0.2; }
    /* Glider �����ƶ��ˣ�ǰ̨ר��� */
    body:not(.admin-body) .navbar { padding: 0 12px; }
    body:not(.admin-body) .navbar-default .navbar-nav > li > a { padding: 14px 10px !important; height: auto; }
    body:not(.admin-body) .nav-glider-wrap {
        width: 100%;
        padding: 8px 0;
    }
    body:not(.admin-body) .nav-glider-tabs {
        display: flex;
        flex-direction: column;
        width: 100%;
        transform: none;
        min-width: auto;
        background: transparent;
        box-shadow: none;
        gap: 2px;
        padding: 4px;
    }
    body:not(.admin-body) .nav-glider-tab {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 16px;
        border-radius: 10px;
        font-size: 14px;
        height: auto;
    }
    body:not(.admin-body) .nav-glider {
        display: none;
    }
    body:not(.admin-body) .nav-glider-tab.active {
        background: rgba(99,102,241,0.1);
    }
    body:not(.admin-body) .navbar-collapse .nav-glider-wrap {
        border-bottom: 1px solid var(--zk-border);
        margin-bottom: 8px;
    }
    body:not(.admin-body) .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    body:not(.admin-body) .navbar-collapse .navbar-nav > li {
        width: 100%;
    }
    body:not(.admin-body) .navbar-collapse .navbar-nav > li > a {
        padding: 10px 16px !important;
        border-radius: 8px;
        margin: 2px 0;
        display: flex !important;
        align-items: center;
        gap: 8px;
        height: auto !important;
    }
    body:not(.admin-body) .navbar-collapse .navbar-nav > li > a:hover,
    body:not(.admin-body) .navbar-collapse .navbar-nav > li.active > a {
        background: rgba(99,102,241,0.08) !important;
    }
    /* Ʒ��������� */
    body:not(.admin-body) .navbar-brand {
        font-size: 1.1rem !important;
        float: left;
        display: flex !important;
        align-items: center;
        padding: 0 12px !important;
        height: 50px;
    }
    body:not(.admin-body) .navbar-brand .zk-logo {
        width: 30px;
        height: 30px;
        font-size: 15px;
        margin-right: 8px;
    }
    body:not(.admin-body) .navbar-toggle {
        position: absolute;
        right: 8px;
        top: 8px;
        margin: 0;
        padding: 12px 10px;
    }
    body:not(.admin-body) .navbar-toggle .icon-bar {
        height: 2px;
        width: 20px;
    }
    body:not(.admin-body) .navbar {
        min-height: 50px;
        position: sticky;
        top: 0;
        z-index: 1030;
    }
    body:not(.admin-body) .navbar-header {
        min-height: 50px;
    }
    /* ���ݿ��ƶ�������Ӧ */
    .container {
        padding: 0 8px;
        width: 100% !important;
        max-width: 100% !important;
    }
    .well, .bs-component {
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 10px;
    }
    .well h2 {
        font-size: 18px;
    }
    .panel-heading {
        padding: 10px 14px !important;
    }
    .panel-title {
        font-size: 13px;
    }
    .filelist .file-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
        margin-right: 6px;
    }
    /* ���屳����С */
    .fluid-blob {
        opacity: 0.15;
        transform: scale(0.6);
    }
    /* �ļ��б��ƶ��� */
    .table-responsive {
        border: none !important;
        overflow-x: visible !important;
    }
    .filelist { font-size: 13px; }
    .filelist th { display: none; }
    .filelist td {
        display: block; width: 100% !important;
        padding: 4px 14px !important; border: none !important;
        text-align: left; vertical-align: middle;
    }
    .filelist tr {
        display: block; margin-bottom: 10px;
        background: var(--zk-card); border-radius: 12px;
        padding: 8px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: 1px solid var(--zk-border) !important;
    }
    .filelist td:first-child { display: none; }
    /* 空列表提示移动端样式 */
    .filelist tr.empty-list-row {
        display: block !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .filelist tr.empty-list-row td {
        display: block !important;
        padding: 60px 20px !important;
        text-align: center !important;
    }
    .filelist .filename {
        font-weight: 600; font-size: 14px;
        margin: 4px 0; max-width: 100% !important;
    }
    /* 分页移动端 */
    .pagination { margin: 10px 0; flex-wrap: wrap; justify-content: center; }
    .pagination > li > a { padding: 6px 10px; font-size: 13px; }
    .row > div[class*="col-"] { text-align: center !important; float: none; }
    /* �������ƶ��� */
    .searchbox { float: none !important; margin-top: 10px; display: block; }
    .searchbox .form-control { width: 70%; display: inline-block; }
    /* ���ӽ���ҳ�ƶ��� */
    .form-inline { flex-direction: column; gap: 10px; }
    .form-inline .form-control { width: 100% !important; border-radius: 25px !important; }
    .form-inline .btn { width: 100%; border-radius: 25px !important; }
    /* �ļ�����ҳ�ƶ��� */
    .input-group-btn .btn { padding: 8px 14px !important; font-size: 13px !important; }
    .input-group .form-control { font-size: 12px; }
    .panel-body .tab-content { padding: 12px !important; }
    .nav-tabs > li > a { font-size: 13px; padding: 8px 10px; }
    /* ===== ������ƶ�������Ӧ ===== */
    .admin-sidebar {
        width: 240px;
        padding: 16px 12px;
    }
    .admin-sidebar .sidebar-brand {
        font-size: 14px;
        padding: 0 8px 16px;
    }
    .admin-sidebar .sidebar-brand .sb-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .admin-sidebar .nav-pills > li > a {
        padding: 8px 10px;
        font-size: 13px;
    }
    /* �Ǳ���ͳ�ƿ�Ƭ 2x2 ���� */
    .row > .col-xs-6 {
        width: 50% !important;
        float: left !important;
        padding: 0 6px;
    }
    .stat-card {
        padding: 12px 8px;
        text-align: center;
    }
    .stat-card .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin: 0 auto 8px;
    }
    .stat-card .stat-num { font-size: 22px; }
    .stat-card .stat-label { font-size: 10px; }
    /* ������ļ�������Ƭ�����޶� .table-striped����Ӱ��ϵͳ��Ϣ��� */
    .admin-body .table-responsive {
        border: none !important;
        overflow: visible !important;
    }
    .admin-body .table-striped {
        font-size: 13px;
        display: block;
    }
    .admin-body .table-striped thead {
        display: none;
    }
    .admin-body .table-striped tbody {
        display: block;
    }
    .admin-body .table-striped tbody tr {
        display: block;
        margin-bottom: 10px;
        background: var(--zk-card) !important;
        border-radius: 12px;
        padding: 8px 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: 1px solid var(--zk-border) !important;
    }
    .admin-body .table-striped tbody tr td {
        display: inline-block;
        padding: 3px 6px !important;
        border: none !important;
        vertical-align: middle;
        font-size: 13px;
    }
    .admin-body .table-striped tbody tr td:nth-child(1) {
        display: inline-block;
        width: 30px;
        vertical-align: middle;
        padding-right: 4px !important;
    }
    .admin-body .table-striped tbody tr td:nth-child(2) {
        display: none;
    }
    .admin-body .table-striped tbody tr td:nth-child(3) {
        font-weight: 600;
        font-size: 14px;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .admin-body .table-striped tbody tr td:nth-child(4),
    .admin-body .table-striped tbody tr td:nth-child(5),
    .admin-body .table-striped tbody tr td:nth-child(6) {
        font-size: 12px;
        color: var(--zk-text-sub);
    }
    .admin-body .table-striped tbody tr td:last-child {
        display: flex;
        gap: 8px;
        align-items: center;
        margin-top: 6px;
        width: 100%;
        justify-content: stretch;
    }
    .admin-body .table-striped tbody tr td:last-child a,
    .admin-body .table-striped tbody tr td:last-child .btn-del-item {
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 6px 0 !important;
        border-radius: 8px;
        font-size: 12px;
        min-height: 32px;
    }
    .admin-body .table-striped tbody tr td:last-child .btn-del-item {
        width: auto;
    }
    /* ϵͳ��Ϣ����ƶ������� */
    .admin-body .well table.table td {
        display: table-cell;
        padding: 8px 12px;
        font-size: 13px;
    }
    .admin-body .well table.table td:first-child {
        width: 35% !important;
        font-size: 12px;
    }
    .admin-content { margin-left: 0 !important; padding: 10px !important; }
    /* �������Ӧ */
    .form-horizontal .control-label {
        text-align: left !important;
        margin-bottom: 5px;
        float: none !important;
        width: 100% !important;
    }
    .form-horizontal .col-sm-2.control-label { width: 100% !important; }
    .form-horizontal .col-sm-10,
    .form-horizontal .col-sm-offset-2 {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 16px;
    }
    .form-group { margin-bottom: 12px; padding: 0 8px; }
    .form-control { font-size: 14px; }
    textarea.form-control { min-height: 80px; }
    /* ��ѡ/��ѡ�� */
    .radio-inline, .checkbox-inline {
        display: inline-block;
        margin-right: 12px;
        font-size: 14px;
        padding-left: 4px;
    }
    /* �������Ӧ */
    .panel { margin-bottom: 12px; }
    .panel-heading { padding: 10px 14px !important; }
    .panel-title { font-size: 13px; }
    .panel-body { padding: 12px !important; }
    .panel-body .btn { width: 100%; margin-bottom: 8px; }
    /* �������Ӧ */
    .table-responsive { font-size: 13px; border: none; }
    .table > thead > tr > th { font-size: 11px; padding: 8px 8px; }
    .table > tbody > tr > td { padding: 8px; font-size: 13px; }
    .table .btn-xs { padding: 3px 8px; font-size: 11px; }
    /* �洢ѡ��������Ӧ */
    .storage-select {
        width: 100% !important;
        min-width: auto !important;
    }
    /* ��ҳ����Ӧ */
    body.admin-body .pagination {
        margin: 8px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    body.admin-body .pagination > li > a,
    body.admin-body .pagination > li > span {
        padding: 5px 8px;
        font-size: 12px;
        margin: 1px;
    }
    /* ��¼ҳ����Ӧ */
    .mobile-menu-overlay { z-index: 10000; }
    /* ��ť������Ӧ */
    .btn-block-option { padding: 4px 8px; }
    /* help-block */
    .help-block { font-size: 11px; margin-top: 4px; }
}
/* ===== Modal �������ο�����ϵͳ�� ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.modal-overlay .modal {
    display: flex !important;
    flex-direction: column;
    background: var(--zk-surface);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    transition: all .3s ease;
}
.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}
.modal-overlay .modal .modal-header {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 0;
}
.modal-overlay .modal .modal-header .modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.modal-header .modal-icon i {
    font-size: 22px;
    color: #fff;
}
.modal-header .modal-icon.success { background: #10b981; box-shadow: 0 4px 12px rgba(16,185,129,.3); }
.modal-header .modal-icon.error { background: #ef4444; box-shadow: 0 4px 12px rgba(239,68,68,.3); }
.modal-header .modal-icon.warning { background: #f59e0b; box-shadow: 0 4px 12px rgba(245,158,11,.3); }
.modal-header .modal-icon.info { background: #6366f1; box-shadow: 0 4px 12px rgba(99,102,245,.3); }
.modal-header .modal-icon.danger { background: #ef4444; box-shadow: 0 4px 12px rgba(239,68,68,.3); }
.modal-header-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--zk-text);
    margin: 0 0 2px;
}
.modal-header-text p {
    font-size: 13px;
    color: var(--zk-text-dim);
    margin: 0;
}
.modal-body {
    padding: 16px 24px 24px;
}
.modal-body p {
    color: var(--zk-text-sub);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.modal-overlay .modal .modal-footer {
    display: flex !important;
    gap: 10px;
    justify-content: flex-end;
    padding: 0 24px 20px;
}
.modal-overlay .modal .modal-footer .btn {
    padding: 10px 24px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all .2s;
}
.modal-overlay .modal .modal-footer .btn-cancel {
    background: var(--zk-bg) !important;
    color: var(--zk-text-sub) !important;
}
.modal-overlay .modal .modal-footer .btn-cancel:hover { background: var(--zk-border) !important; }
.modal-overlay .modal .modal-footer .btn-primary {
    background: var(--zk-primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(99,102,245,.3);
}
.modal-overlay .modal .modal-footer .btn-danger {
    background: var(--zk-danger) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(239,68,68,.3);
}
.modal-overlay .modal .modal-footer .btn-danger:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(239,68,68,.4); }
.modal-overlay .modal .modal-footer .btn-success {
    background: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(16,185,129,.3);
}

/* ===== Toast ֪ͨ ===== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    left: auto;
    transform: none;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    animation: toastIn .3s ease;
    white-space: nowrap;
    pointer-events: auto;
}
.toast i { font-size: 18px; }
.toast.success { background: #10b981; }
.toast.error   { background: #ef4444; }
.toast.warning { background: #f59e0b; }
.toast.info    { background: #6366f1; }
.toast-out {
    animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100%); }
}

/* Toast �ƶ������� */
@media (max-width: 767px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    .toast {
        min-width: auto;
        width: 100%;
        max-width: none;
    }
}
