/* ============================================
   飞手管理系统 - 统一样式表
   合并自: variables.css + globals.css + glass.css
   ============================================ */

/* ============================================
   1. CSS 变量 - 设计系统
   ============================================ */
:root {
    /* 主题色系（商务蓝） */
    --color-primary: #3B82F6;
    --color-primary-hover: #2563EB;
    --color-primary-light: rgba(59, 130, 246, 0.1);

    --color-success: #10B981;
    --color-success-light: rgba(16, 185, 129, 0.1);

    --color-warning: #F59E0B;
    --color-warning-light: rgba(245, 158, 11, 0.1);

    --color-danger: #EF4444;
    --color-danger-light: rgba(239, 68, 68, 0.1);

    --color-gray: #6B7280;
    --color-gray-light: #9CA3AF;

    /* 浅色模式 */
    --bg-page: #F8FAFC;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-sidebar: rgba(255, 255, 255, 0.9);
    --bg-header: rgba(255, 255, 255, 0.85);
    --bg-hover: rgba(59, 130, 246, 0.08);
    --bg-selected: rgba(59, 130, 246, 0.12);

    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.04);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* 尺寸 */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --header-height: 64px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;

    /* 动画 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
}

/* 深色模式 */
[data-theme="dark"] {
    --bg-page: #0F172A;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-sidebar: rgba(15, 23, 42, 0.95);
    --bg-header: rgba(15, 23, 42, 0.9);
    --bg-hover: rgba(59, 130, 246, 0.15);
    --bg-selected: rgba(59, 130, 246, 0.2);

    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   2. 全局样式
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ============================================
   3. 公共工具类
   ============================================ */
.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: 8px;
}

.gap-md {
    gap: 16px;
}

.gap-lg {
    gap: 24px;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 12px;
}

.text-lg {
    font-size: 16px;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-primary-color {
    color: var(--color-primary);
}

.text-success {
    color: var(--color-success);
}

.text-warning {
    color: var(--color-warning);
}

.text-danger {
    color: var(--color-danger);
}

/* ============================================
   4. 按钮样式
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
}

.btn-success {
    background: var(--color-success);
    color: white;
}

.btn-success:hover {
    opacity: 0.9;
}

.btn-danger {
    background: var(--color-danger);
    color: white;
}

.btn-danger:hover {
    opacity: 0.9;
}

.btn-warning {
    background: var(--color-warning);
    color: white;
}

.btn-warning:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-hover);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ============================================
   5. 输入框样式
   ============================================ */
.input {
    width: 100%;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   6. 表格样式
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: var(--bg-hover);
}

/* ============================================
   7. 标签样式
   ============================================ */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.tag-primary {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.tag-success {
    background: var(--color-success-light);
    color: var(--color-success);
}

.tag-warning {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.tag-danger {
    background: var(--color-danger-light);
    color: var(--color-danger);
}

.tag-gray {
    background: rgba(107, 114, 128, 0.1);
    color: var(--color-gray);
}

/* ============================================
   8. 页面标题
   ============================================ */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================
   9. 毛玻璃效果 - Glassmorphism
   ============================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.glass-sidebar {
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
}

.glass-header {
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.glass-modal {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 毛玻璃悬停效果 */
.glass-card:hover,
.glass-interactive:hover {
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

/* 统计卡片特殊样式 */
.stat-card {
    position: relative;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

/* 移除顶部渐变边框，保持纯净白卡风格 */

/* 渐变背景装饰 - 已禁用 */
/*
.gradient-decoration {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.gradient-1 {
    top: -200px;
    right: -200px;
    background: var(--color-primary);
}

.gradient-2 {
    bottom: -200px;
    left: -200px;
    background: var(--color-success);
}
*/

/* ============================================
   10. 布局样式
   ============================================ */
.layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: width var(--transition-normal);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.collapse-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.collapse-btn:hover {
    background: var(--bg-selected);
    color: var(--color-primary);
}

/* 导航 */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-icon {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.nav-text {
    font-weight: 500;
    white-space: nowrap;
}

.badge {
    margin-left: auto;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--color-danger);
    color: white;
    border-radius: 10px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-light);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-hover);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.logout-btn:hover {
    background: var(--color-danger-light);
    color: var(--color-danger);
}

/* 主内容区 */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left var(--transition-normal);
}

.main-wrapper.sidebar-collapsed {
    margin-left: var(--sidebar-collapsed-width);
}

/* 顶部导航 */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 32px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.current-page {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border-radius: 10px;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-selected);
    transform: rotate(20deg);
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-hover);
    border-radius: 10px;
}

.admin-avatar {
    font-size: 18px;
}

.admin-name {
    font-weight: 500;
    color: var(--text-primary);
}

/* 主内容 */
.main-content {
    flex: 1;
    padding: 32px;
}

/* ============================================
   11. 动画
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* 过渡动画 */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* ============================================
   12. 仪表盘样式
   ============================================ */
.dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-trend {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.stat-trend.up {
    background: var(--color-success-light);
    color: var(--color-success);
}

.stat-trend.down {
    background: var(--color-danger-light);
    color: var(--color-danger);
}

/* 待处理事项 */
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pending-section {
    margin-bottom: 40px;
}

.pending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pending-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.pending-card:hover {
    box-shadow: var(--shadow-lg);
    background: var(--bg-selected);
}

.pending-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.pending-count {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.pending-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* 快捷操作 */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.action-card:hover {
    box-shadow: var(--shadow-lg);
    background: var(--bg-selected);
}

.action-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.action-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   13. 登录页样式
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    margin: 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    font-size: 48px;
    margin-bottom: 16px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
}

.login-btn {
    margin-top: 12px;
    padding: 14px;
    font-size: 16px;
}

.login-error {
    padding: 12px 16px;
    background: var(--color-danger-light);
    color: var(--color-danger);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    text-align: center;
}

/* ============================================
   14. 表单/弹窗样式
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-danger-light);
    color: var(--color-danger);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   15. 筛选工具栏
   ============================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filter-select {
    padding: 8px 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    min-width: 120px;
}

.filter-input {
    padding: 8px 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    min-width: 200px;
}

/* ============================================
   16. 分页样式
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--bg-hover);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 16px;
}

/* ============================================
   17. 批量操作栏
   ============================================ */
.batch-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 100;
}

.batch-count {
    font-weight: 500;
    color: var(--text-primary);
}

.batch-actions {
    display: flex;
    gap: 8px;
}

/* ============================================
   18. 加载状态
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

[data-theme="dark"] .loading-overlay {
    background: rgba(15, 23, 42, 0.8);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   19. 空状态
   ============================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ============================================
   20. 复选框样式
   ============================================ */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.checkbox.checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox.checked::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* ============================================
   21. 图片预览
   ============================================ */
.image-preview {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.image-preview:hover {
    transform: scale(1.1);
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
}

/* ============================================
   22. 响应式布局
   ============================================ */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .header {
        padding: 0 16px;
    }

    .main-content {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-bar {
        flex-direction: column;
    }

    .batch-bar {
        left: 16px;
        right: 16px;
        transform: none;
    }
}

/* ============================================
   23. 优化筛选器样式
   ============================================ */
.select,
.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 36px 8px 12px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    transition: all var(--transition-fast);
    min-width: 140px;
}

.select:hover,
.filter-select:hover {
    border-color: var(--color-primary);
}

.select:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    align-items: center;
}

/* ============================================
   24. 高级筛选面板
   ============================================ */
.advanced-filter-toggle {
    margin-left: auto;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.advanced-filter-panel {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    animation: slideDown 0.2s ease-out;
}

.advanced-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.date-range-group {

    color: var(--text-secondary);
}

/* ============================================
   16. 商业化 UI 增强 (Premium Enhancements)
   ============================================ */

/* 精致的下拉菜单 */
select.filter-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z' fill='%236B7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    transition: all var(--transition-fast);
}

select.filter-select:hover {
    border-color: var(--color-primary);
    background-color: var(--bg-hover);
}

select.filter-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

/* 增强的日期选择器 */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-secondary);
    font-family: inherit;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* 仪表盘卡片高级质感 */
.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-icon {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 按钮微调 */
.btn {
    letter-spacing: 0.5px;
}

.btn-primary {
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

/* 表单组统一间距 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 13px;
}

/* 统一输入框样式 */
.input,
.filter-select,
.filter-input {
    height: 40px;
    /* 统一高度 */
    border-radius: 8px;
    /* 更圆润的边角 */
}

textarea.input {
    height: auto;
}


/* ============================================
   Tags View - 标签导航栏 (Modern Pro Style)
   ============================================ */
.tags-view-container {
    height: 42px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.tags-view-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
}

.tags-view-wrapper::-webkit-scrollbar {
    height: 0px;
    /* Hide scrollbar for cleaner look */
}

/* Tag Item Style */
.tags-view-item {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 28px;
    line-height: 28px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    background: #fff;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    border-radius: 14px;
    /* Pill shape */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tags-view-item:hover {
    color: var(--color-primary);
    border-color: var(--color-primary-light);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-1px);
}

/* Active Tag Style */
.tags-view-item.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.35);
}

.tags-view-item.active::before {
    content: '';
    background: #fff;
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: relative;
    margin-right: 6px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Close Icon Style */
.tags-view-item-close {
    width: 14px;
    height: 14px;
    line-height: 13px;
    /* visual center */
    text-align: center;
    border-radius: 50%;
    margin-left: 6px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.2s;
    opacity: 0.6;
}

.tags-view-item:hover .tags-view-item-close {
    opacity: 1;
}

.tags-view-item-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #ef4444;
    /* Red color on hover */
}

.tags-view-item.active .tags-view-item-close {
    opacity: 0.8;
}

.tags-view-item.active .tags-view-item-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ============================================
   25. 企业级 UI 增强 (Enterprise Grade)
   ============================================ */

/* === 登录页渐变背景装饰 === */
.login-page::before,
.login-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.login-page::before {
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

.login-page::after {
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 10px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -10px) scale(1.02);
    }
}

.login-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 20px -5px rgba(0, 0, 0, 0.08),
        0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .login-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-logo {
    background: linear-gradient(135deg, var(--color-primary) 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 表格企业级样式 === */
.table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
}

[data-theme="dark"] .table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: var(--bg-selected) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.table th {
    background: linear-gradient(180deg, var(--bg-hover) 0%, rgba(0, 0, 0, 0.02) 100%);
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* 金额列样式 */
.text-money,
.font-semibold.text-success {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: -0.3px;
}

/* === 按钮微立体增强 === */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2563EB 100%);
    box-shadow:
        0 2px 4px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgba(59, 130, 246, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-danger {
    background: linear-gradient(135deg, var(--color-danger) 0%, #DC2626 100%);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.btn-warning {
    background: linear-gradient(135deg, var(--color-warning) 0%, #D97706 100%);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
    transform: translateY(-1px);
}

/* === 输入框聚焦光环 === */
.input:focus,
.filter-select:focus,
.filter-input:focus {
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05);
    outline: none;
}

.input:hover,
.filter-select:hover,
.filter-input:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

/* === 统计卡片精致阴影 === */
.stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
}

[data-theme="dark"] .stat-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.stat-icon {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-value {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 待处理卡片增强 === */
.pending-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pending-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
}

.pending-count {
    background: linear-gradient(135deg, var(--color-primary) 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 空状态增强 === */
.empty-state {
    padding: 80px 20px;
}

.empty-state .empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-selected) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.empty-state .empty-text {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === 筛选栏增强 === */
.filters-bar {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .filters-bar {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.filter-group {
    background: transparent;
    border: none;
    padding: 0;
}

/* === 批量操作栏增强 === */
.batch-bar {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 -4px 20px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .batch-bar {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
}

/* === 标签样式增强 === */
.tag {
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tag-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.tag-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.tag-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tag-primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* === 侧边栏增强 === */
.sidebar {
    background: linear-gradient(180deg, var(--bg-sidebar) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .sidebar {
    background: linear-gradient(180deg, var(--bg-sidebar) 0%, rgba(15, 23, 42, 0.98) 100%);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(59, 130, 246, 0.15) 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

/* === 页面标题增强 === */
.page-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 图表区域增强 === */
.chart-section {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* === 表格容器增强 === */
.table-wrapper {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* === 弹窗增强 === */
.modal-content {
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   26. 侧边栏分组样式
   ============================================ */
.nav-group {
    margin-bottom: 8px;
}

.nav-group-title {
    padding: 8px 16px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-top: 8px;
}

.nav-group:first-child .nav-group-title {
    margin-top: 0;
}

.nav-group-divider {
    height: 1px;
    background: var(--border-light);
    margin: 12px 16px;
}

/* 折叠状态下隐藏分组标题 */
.sidebar.collapsed .nav-group-title {
    display: none;
}

.sidebar.collapsed .nav-group-divider {
    margin: 8px;
}

/* ============================================
   27. 关于页面信息样式
   ============================================ */
.about-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

/* ============================================
   28. 地勤工时审核页面样式
   ============================================ */

/* 工时标签 */
.hours-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* 工作内容文本 */
.work-content {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 13px;
}

/* 人员名称样式 */
.pilot-name {
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* tag-info 样式 */
.tag-info {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(107, 114, 128, 0.1) 100%);
    color: var(--color-gray);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* 审核对话框内容 */
.approve-dialog-content {
    padding: 0;
}

.approve-dialog-content .order-info {
    background: var(--bg-hover);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.approve-dialog-content .info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
}

.approve-dialog-content .info-row:last-child {
    border-bottom: none;
}

.approve-dialog-content .info-label {
    width: 80px;
    flex-shrink: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.approve-dialog-content .info-value {
    flex: 1;
    color: var(--text-primary);
    font-size: 13px;
}

/* 日薪输入区域 */
.wage-input-section {
    padding: 0;
}

.wage-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.wage-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--color-primary);
    font-size: 12px;
}

.wage-tip i {
    font-size: 14px;
}

.calculated-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.calculated-amount span:first-child {
    color: var(--text-secondary);
    font-size: 14px;
}

.calculated-amount .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-success);
}

/* 驳回对话框内容 */
.reject-dialog-content p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.reject-dialog-content strong {
    color: var(--text-primary);
}

/* 统计卡片内容布局 */
.stat-content {
    display: flex;
    flex-direction: column;
}

/* ========== 层级展开表格样式 ========== */
.hierarchy-row {
    transition: background-color 0.2s ease;
}

.hierarchy-row:hover {
    background-color: var(--bg-secondary) !important;
}

.hierarchy-row td:first-child {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.expand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.expand-icon.expanded {
    transform: rotate(90deg);
}

.expand-icon i {
    font-size: 16px;
    color: var(--text-muted);
}

.hierarchy-level-0 {
    background-color: transparent;
    font-weight: 500;
}

.hierarchy-level-1 {
    background-color: rgba(var(--primary-rgb, 59, 130, 246), 0.03);
}

.hierarchy-level-2 {
    background-color: rgba(var(--primary-rgb, 59, 130, 246), 0.06);
}

.hierarchy-level-3 {
    background-color: rgba(var(--primary-rgb, 59, 130, 246), 0.09);
    font-size: 13px;
}

.hierarchy-level-3 td {
    color: var(--text-secondary);
}

.row-expanded > td:first-child .expand-icon i {
    color: var(--primary);
}

@keyframes ri-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ri-spin {
    animation: ri-spin 1s linear infinite;
}
