/* ============================================
   找�?�猫 PC 后台样式 (admin.css)
   标准后台：深色左侧菜�? + 顶栏 + 白色内�?�区
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #1f2937;
    background: #f3f4f6;
}

a { text-decoration: none; color: inherit; }

/* ---------- 整体布局 ---------- */
.pc-wrap { display: flex; min-height: 100vh; }

/* ---------- 左侧菜单 ---------- */
.pc-sidebar {
    width: 220px;
    background: #1e293b;
    color: #cbd5e1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: auto;
    overflow-y: auto;
    z-index: 50;
}
.pc-logo {
    display: flex; align-items: center; gap: 10px;
    padding: 20px 20px;
    font-size: 17px; font-weight: 700; color: #fff;
    border-bottom: 1px solid #334155;
}
.pc-logo-icon { font-size: 22px; }
.pc-nav { flex: 1; padding: 10px 0; }
.pc-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 20px;
    font-size: 14px;
    color: #cbd5e1;
    transition: background .15s;
}
.pc-nav-item:hover { background: #334155; color: #fff; }
.pc-nav-item.active { background: #4f46e5; color: #fff; }
.pc-nav-ico { width: 20px; text-align: center; font-size: 15px; }

/* ---------- 右侧主区 ---------- */
.pc-main { flex: 1; display: flex; flex-direction: column; min-width: 0; margin-left: 220px; }

.pc-topbar {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff;
    padding: 0 24px;
    height: 56px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky; top: 0; z-index: 100;
}
.pc-topbar-title { font-size: 16px; font-weight: 600; color: #111827; }
.pc-topbar-right { display: flex; align-items: center; gap: 12px; }
.pc-topbar-user { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; }
.pc-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: #4f46e5; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600;
}
.pc-role {
    background: #eef2ff; color: #4f46e5;
    font-size: 12px; padding: 2px 8px; border-radius: 10px;
}

.pc-content { padding: 20px 24px; flex: 1; min-width: 0; }

/* ---------- 卡片 ---------- */
.pc-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    min-width: 0;
}
.pc-card-head {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: space-between;
}
.pc-card-title { font-size: 15px; font-weight: 600; color: #111827; }
.pc-card-body { padding: 20px; }

/* ---------- 按钮 ---------- */
.pc-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all .15s;
}
.pc-btn:hover { border-color: #4f46e5; color: #4f46e5; }
.pc-btn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.pc-btn-primary:hover { background: #4338ca; border-color: #4338ca; color: #fff; }
.pc-btn-danger { background: #ef4444; border-color: #ef4444; color: #fff; }
.pc-btn-danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; }
.pc-btn-ghost { background: transparent; border-color: #d1d5db; color: #6b7280; }
.pc-btn-ghost:hover { color: #4f46e5; }
.pc-btn-sm { padding: 4px 10px; font-size: 12px; }

/* ---------- 表格 ---------- */
.pc-table-wrap { overflow-x: auto; max-width: 100%; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pc-table th {
    background: #f9fafb;
    color: #6b7280;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}
.pc-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}
.pc-table tbody tr:hover { background: #f9fafb; }
.pc-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* 状�?�标�? */
.pc-badge {
    display: inline-block; padding: 2px 8px; border-radius: 10px;
    font-size: 12px; line-height: 18px;
}
.pc-badge-green { background: #d1fae5; color: #047857; }
.pc-badge-yellow { background: #fef3c7; color: #b45309; }
.pc-badge-red { background: #fce4ec; color: #e11d48; }
.pc-badge-gray { background: #f1f5f9; color: #64748b; }
.pc-badge-blue { background: #dbeafe; color: #1d4ed8; }
.pc-badge-purple { background: #ede9fe; color: #6d28d9; }

/* ---------- 筛�?�区 ---------- */
.pc-filter {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    padding: 14px 20px;
}
.pc-input, .pc-select {
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    color: #1f2937;
    background: #fff;
    outline: none;
}
.pc-input:focus, .pc-select:focus { border-color: #4f46e5; }
.pc-input { min-width: 180px; }
.pc-select { min-width: 120px; }

/* ---------- 统�?�卡（仪表盘/报表�? ---------- */
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.pc-stat {
    background: #fff; border-radius: 8px; border: 1px solid #e5e7eb;
    padding: 16px 18px;
}
.pc-stat-label { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.pc-stat-num { font-size: 24px; font-weight: 700; color: #111827; }
.pc-stat-num.green { color: #059669; }
.pc-stat-num.blue { color: #2563eb; }
.pc-stat-num.orange { color: #ea580c; }
.pc-stat-num.purple { color: #7c3aed; }
.pc-stat-sub { font-size: 12px; color: #9ca3af; margin-top: 4px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 4px; list-style: none; padding: 12px 20px; flex-wrap: wrap; }
.pagination li a, .pagination li span {
    display: inline-block; padding: 5px 10px;
    border: 1px solid #d1d5db; border-radius: 4px;
    font-size: 13px; color: #374151; background: #fff;
}
.pagination li.active span { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.pagination li a:hover { border-color: #4f46e5; color: #4f46e5; }

/* ---------- 登录�? ---------- */
.login-body {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
}
.login-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.login-box h1 { font-size: 22px; text-align: center; margin-bottom: 6px; color: #111827; }
.login-box .login-sub { text-align: center; color: #6b7280; font-size: 13px; margin-bottom: 24px; }
.login-box label { display: block; font-size: 13px; color: #374151; margin-bottom: 6px; }
.login-box .pc-input { width: 100%; margin-bottom: 16px; padding: 10px 12px; font-size: 14px; }
.login-box .pc-btn-primary { width: 100%; padding: 11px; font-size: 15px; margin-top: 6px; }
.login-error {
    background: #fef2f2; color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px;
}

/* ---------- 详情弹窗 ---------- */
.pc-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    display: none; align-items: center; justify-content: center; z-index: 999;
}
.pc-modal-overlay.show { display: flex; }
.pc-modal {
    background: #fff; border-radius: 10px;
    width: 720px; max-width: 92vw; max-height: 85vh; overflow-y: auto;
}
.pc-modal-head { padding: 16px 20px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.pc-modal-title { font-size: 16px; font-weight: 600; }
.pc-modal-close { cursor: pointer; font-size: 20px; color: #9ca3af; }
.pc-modal-close:hover { color: #374151; }
.pc-modal-body { padding: 20px; }

.pc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.pc-detail-item { display: flex; gap: 8px; font-size: 13px; }
.pc-detail-item .k { color: #6b7280; width: 90px; flex-shrink: 0; text-align: right; }
.pc-detail-item .v { color: #1f2937; word-break: break-all; }

/* 空状�? */
.pc-empty { text-align: center; color: #9ca3af; padding: 40px 0; font-size: 13px; }

/* 响应式：窄屏时侧栏折叠成顶部 */
@media (max-width: 900px) {
    .pc-wrap { flex-direction: column; }
    .pc-sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .pc-logo { border-bottom: none; padding: 12px 16px; }
    .pc-nav { display: flex; flex-wrap: wrap; padding: 0; }
    .pc-nav-item { padding: 10px 14px; font-size: 13px; }
}

/* ���ڹ���������������ͨ��� */
.pc-tbsep { width:1px; height:20px; background:#e2e8f0; margin:0 4px; display:inline-block; vertical-align:middle; }
.pc-drop { position:relative; display:inline-block; }
.pc-drop-menu { display:none; position:absolute; top:100%; left:0; background:#fff; border:1px solid #e2e8f0; border-radius:8px; box-shadow:0 8px 24px rgba(15,23,42,.12); padding:6px; z-index:9000; min-width:140px; }
.pc-drop-menu a { display:block; padding:8px 12px; font-size:13px; color:#334155; text-decoration:none; border-radius:6px; }
.pc-drop-menu a:hover { background:#f1f5f9; }
.pc-btn-hot { background:#ef4444 !important; color:#fff !important; }
.pc-btn-deal { background:#f59e0b !important; color:#fff !important; }

/* ������ſ����� */
html, body { overflow-x: hidden; }

/* ===== ���ڱ������� + ��������פ ===== */
#gtMainWrap.pc-table-wrap {
    overflow-x: auto;
    max-width: 100%;
}
#gtMainWrap .pc-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,23,42,.06);
}
#gtMainWrap .pc-table thead th {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 10px;
    text-align: center;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.15);
    position: sticky;
    top: 0;
    z-index: 1;
}
#gtMainWrap .pc-table thead th:last-child {
    border-right: none;
}
#gtMainWrap .pc-table tbody td {
    padding: 9px 10px;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}
#gtMainWrap .pc-table tbody tr:nth-child(even) {
    background: #f8fafc;
}
#gtMainWrap .pc-table tbody tr:hover {
    background: #eef2ff;
}
#gtMainWrap .pc-table tbody tr:last-child td {
    border-bottom: none;
}
/* ��������פ */
#gtMainWrap::-webkit-scrollbar {
    height: 10px;
}
#gtMainWrap::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 5px;
}
#gtMainWrap::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 5px;
}
#gtMainWrap::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}
/* �����·���ʾ���� */
.gt-scroll-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* ===== �򻯷�ҳ�� ===== */
.pc-pager-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 13px;
}
.pc-pg-num {
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0 6px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
    transition: all .15s;
}
.pc-pg-num:hover {
    background: #e0e7ff;
    color: #4f46e5;
}
.pc-pg-num.active {
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
}
.pc-pg-ellipsis {
    color: #94a3b8;
    padding: 0 2px;
}
.pc-pg-btn {
    height: 30px;
    line-height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
}
.pc-pg-btn:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}
.pc-pg-jump {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    margin-left: 8px;
}
.pc-pg-input {
    width: 56px;
    height: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    outline: none;
}
.pc-pg-input:focus {
    border-color: #4f46e5;
}
.pc-pg-go {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}
.pc-pg-go:hover {
    background: #4338ca;
    border-color: #4338ca;
    color: #fff;
}

/* ===== frame Ƕ��ģʽ�����ǩ iframe�� ===== */
.pc-wrap-frame {
    display: block;
    min-height: 100vh;
    height: 100vh;
    overflow: auto;
}
.pc-main-frame {
    margin-left: 0;
    min-height: 100vh;
    height: auto;
    display: block;
}
.pc-content-frame {
    padding: 16px 20px;
}

/* ÿҳ����ѡ���� */
.pc-pg-perpage { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #64748b; margin-right: 8px; }
.pc-pg-pp {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px; padding: 0 8px;
    border-radius: 6px; border: 1px solid #e2e8f0; background: #fff;
    color: #475569; font-size: 13px; cursor: pointer; text-decoration: none;
    transition: all .15s;
}
.pc-pg-pp:hover { border-color: #4f46e5; color: #4f46e5; }
.pc-pg-pp.active { background: #4f46e5; border-color: #4f46e5; color: #fff; font-weight: 600; }

/* ---------- 分组菜单 ---------- */
.pc-nav-group { border-bottom: 1px solid #1e293b; }
.pc-nav-group-head {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    font-size: 14px; font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
    transition: background .15s;
}
.pc-nav-group-head:hover { background: #334155; color: #fff; }
.pc-nav-group-head.open { background: #1e293b; color: #e2e8f0; }
.pc-nav-group-head .pc-nav-arrow { margin-left: auto; font-size: 12px; transition: transform .2s; color: #64748b; }
.pc-nav-group-head.open .pc-nav-arrow { transform: rotate(90deg); color: #a5b4fc; }
.pc-nav-group-body { display: none; background: #0f172a; }
.pc-nav-group.open .pc-nav-group-body { display: block; }
.pc-nav-group-body .pc-nav-item { padding-left: 38px; font-size: 13px; }
.pc-nav-group-body .pc-nav-item .pc-nav-ico { font-size: 13px; }

/* ============================================
   补全缺失类 + 整体精致化 (2026-08-21)
   ============================================ */

/* ---------- 页签 (pc-tabs) ---------- */
.pc-tabs {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 12px 20px; border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}
.pc-tab {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; font-size: 13px;
    border: 1px solid #e2e8f0; border-radius: 20px;
    background: #fff; color: #475569;
    cursor: pointer; text-decoration: none; transition: all .15s;
}
.pc-tab:hover { border-color: #c7d2fe; color: #4f46e5; background: #eef2ff; }
.pc-tab.active {
    background: #4f46e5; border-color: #4f46e5; color: #fff; font-weight: 500;
    box-shadow: 0 2px 8px rgba(79,70,229,.3);
}
.pc-tab-close { margin-left: 4px; color: #94a3b8; font-size: 12px; }
.pc-tab-close:hover { color: #ef4444; }

/* ---------- 表单网格 (pc-form-grid / pc-form / pc-form-item) ---------- */
.pc-form-grid, .pc-form {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px 18px; padding: 20px;
}
.pc-form-item { display: flex; flex-direction: column; gap: 5px; }
.pc-form-item.full { grid-column: 1 / -1; }
.pc-form-item label, .pc-form label { font-size: 13px; color: #374151; font-weight: 500; }
.pc-form-item .req, .pc-form .req { color: #ef4444; }
.pc-form-item input, .pc-form-item select, .pc-form-item textarea,
.pc-form input, .pc-form select, .pc-form textarea {
    width: 100%; padding: 8px 11px;
    border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 13px; color: #1f2937; background: #fff;
    outline: none; transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.pc-form-item input:focus, .pc-form-item select:focus, .pc-form-item textarea:focus,
.pc-form input:focus, .pc-form select:focus, .pc-form textarea:focus {
    border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.pc-form-section { margin-bottom: 6px; }
.pc-form-section-title {
    font-size: 14px; font-weight: 600; color: #1f2937;
    padding: 14px 20px 0; display: flex; align-items: center; gap: 8px;
}
.pc-form-section-title::before {
    content: ''; width: 4px; height: 16px; border-radius: 2px;
    background: linear-gradient(180deg, #4f46e5, #818cf8);
}
.pc-form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pc-inline { display: flex; gap: 10px; align-items: center; }
.pc-inline input[type=checkbox] { width: auto; }

/* ---------- 筛选栏 (pc-filter-bar) ---------- */
.pc-filter-bar {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

/* 修复：筛选栏下拉不被表格遮挡 */
.pc-filter-bar, #moreSearch {
    position: relative;
    z-index: 20;
}
.pc-filter-bar input, .pc-filter-bar select {
    padding: 7px 11px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 13px; background: #fff; color: #1f2937; outline: none;
}
.pc-filter-bar input:focus, .pc-filter-bar select:focus { border-color: #4f46e5; }

/* ---------- 操作栏 (pc-action-bar) ---------- */
.pc-action-bar {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 12px 20px; border-bottom: 1px solid #e5e7eb;
}

/* ---------- 消息提示 (pc-alert / pc-msg) ---------- */
.pc-alert, .pc-msg {
    padding: 12px 16px; border-radius: 8px; margin-bottom: 12px; font-size: 13px;
    border: 1px solid transparent;
}
.pc-msg.err, .pc-alert-err { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.pc-msg.ok, .pc-alert-ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }

/* ---------- 章节 (pc-section) ---------- */
.pc-section { margin-bottom: 16px; }
.pc-section-title {
    font-size: 14px; font-weight: 600; color: #1f2937;
    padding: 14px 20px; border-bottom: 1px solid #e5e7eb;
    display: flex; align-items: center; gap: 8px;
}
.pc-section-title::before {
    content: ''; width: 4px; height: 16px; border-radius: 2px;
    background: linear-gradient(180deg, #4f46e5, #818cf8);
}

/* ---------- 药丸统计 (pc-pill) ---------- */
.pc-pill-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; }
.pc-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 20px; font-size: 13px;
    background: #eef2ff; color: #4f46e5; border: 1px solid #e0e7ff;
}
.pc-pill b { font-weight: 700; color: #3730a3; }

/* ---------- 子表 (pc-sub-table) ---------- */
.pc-sub-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pc-sub-table th {
    background: #f1f5f9; color: #475569; font-weight: 600; text-align: left;
    padding: 8px 10px; border-bottom: 1px solid #e2e8f0; white-space: nowrap;
    position: sticky; top: 0;
}
.pc-sub-table td { padding: 7px 10px; border-bottom: 1px solid #f1f5f9; }
.pc-sub-table tbody tr:hover { background: #f8fafc; }

/* ---------- 客人列表 (pc-guests) ---------- */
.pc-guests { margin-top: 14px; border-top: 1px solid #e5e7eb; padding-top: 12px; }

/* ---------- 链接 (pc-link) ---------- */
.pc-link { color: #4f46e5; text-decoration: none; cursor: pointer; }
.pc-link:hover { text-decoration: underline; }
.pc-link-danger { color: #ef4444; text-decoration: none; cursor: pointer; }
.pc-link-danger:hover { text-decoration: underline; }

/* ---------- 行内小元素 ---------- */
.pc-tip { font-size: 12px; color: #9ca3af; }
.cnt { font-weight: 600; color: #4f46e5; }
.cur::before { content: '¥'; font-size: .85em; }
.money { font-variant-numeric: tabular-nums; font-weight: 600; }
.red { color: #ef4444; }
.green { color: #059669; }
.gray { color: #9ca3af; }
.blue { color: #2563eb; }
.orange { color: #ea580c; }
.purple { color: #7c3aed; }
.full { grid-column: 1 / -1; }
.half { grid-column: span 2; }

/* ---------- 订单明细行 (item-*) ---------- */
.item-name { font-weight: 600; color: #111827; }
.item-price, .item-qty, .item-amount { font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- 行复选框 (row-cb) ---------- */
.row-cb, .row-check { width: 16px; height: 16px; accent-color: #4f46e5; cursor: pointer; }

/* ---------- 头像/封面 (pc-cover) ---------- */
.pc-cover {
    width: 40px; height: 40px; border-radius: 8px; object-fit: cover;
    border: 1px solid #e2e8f0; background: #f1f5f9;
}

/* ---------- 颜色徽标补全 ---------- */
.pc-badge-green, .pc-badge-yellow, .pc-badge-red, .pc-badge-gray, .pc-badge-blue, .pc-badge-purple {
    display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 12px; line-height: 18px;
}

/* ---------- 表格美化增强（全局） ---------- */
.pc-table thead th {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff; font-weight: 600; font-size: 12px;
    padding: 10px 12px; border-bottom: none; white-space: nowrap;
    position: sticky; top: 0; z-index: 1;
}
.pc-table tbody tr:nth-child(even) { background: #f8fafc; }
.pc-table tbody tr:hover { background: #eef2ff; }
.pc-table-wrap { border-radius: 10px; border: 1px solid #e2e8f0; overflow: auto; }

/* ---------- 卡片精致化 ---------- */
.pc-card {
    border-radius: 10px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    overflow: hidden;
}
.pc-card-head {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 14px 20px;
}
.pc-card-title { display: flex; align-items: center; gap: 8px; }

/* ---------- 统计卡精致化 ---------- */
.pc-stat {
    border-radius: 10px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    padding: 18px 20px;
    transition: transform .15s, box-shadow .15s;
}
.pc-stat:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,23,42,.08); }
.pc-stat-num { font-size: 26px; }

/* ---------- 按钮精致化 ---------- */
.pc-btn { border-radius: 8px; }
.pc-btn-primary { box-shadow: 0 2px 6px rgba(79,70,229,.25); }
.pc-btn-success { background: #059669; border-color: #059669; color: #fff; }
.pc-btn-success:hover { background: #047857; border-color: #047857; color: #fff; }

/* ---------- 滚动条美化（全局） ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4f46e5; }

/* ---------- 弹窗遮罩改进 ---------- */
.pc-modal-overlay { backdrop-filter: blur(2px); }
.pc-modal { border-radius: 12px; box-shadow: 0 20px 60px rgba(15,23,42,.2); }

/* ---------- 表格空状态 ---------- */
.no-data { text-align: center; color: #94a3b8; padding: 40px 0; font-size: 13px; }
.no-data::before { content: '📭 '; }

/* ---------- 页面标题（老式，兼容保留） ---------- */
.page-header { margin-bottom: 16px; }
.page-title { font-size: 20px; font-weight: 700; color: #111827; margin: 0 0 4px; }
.page-desc { font-size: 13px; color: #6b7280; margin: 0 0 16px; }

/* ---------- 模块 Hero 渐变横幅（四模块统一风格） ---------- */
.fg-hero {
    position: relative; overflow: hidden; border-radius: 14px;
    padding: 26px 28px; margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 55%, #7c3aed 100%);
    color: #fff; box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.fg-hero::before {
    content: ''; position: absolute; right: -60px; top: -80px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.fg-hero::after {
    content: ''; position: absolute; right: 60px; bottom: -100px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.fg-hero-left { position: relative; z-index: 2; }
.fg-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: #e0e7ff;
    background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.fg-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; letter-spacing: 0.5px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.fg-hero p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.7; max-width: 560px; }
.fg-hero-right { position: relative; z-index: 2; display: flex; gap: 12px; flex-shrink: 0; }
.fg-hero-stat {
    min-width: 88px; text-align: center; background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22); border-radius: 12px; padding: 12px 8px;
    backdrop-filter: blur(4px);
}
.fg-hero-stat b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.fg-hero-stat span { font-size: 11px; color: rgba(255,255,255,0.75); }
@media (max-width: 768px) {
    .fg-hero { flex-direction: column; align-items: flex-start; }
    .fg-hero-right { width: 100%; }
    .fg-hero-stat { flex: 1; min-width: 0; }
}
