/* ===== 考试报名材料提交系统 样式 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f7fa;
    line-height: 1.6;
}
a { color: #2b6cb0; text-decoration: none; }
a:hover { color: #1a4970; text-decoration: underline; }
img { max-width: 100%; }

/* 顶栏 */
.topbar {
    background: linear-gradient(90deg, #1e3a5f, #2b6cb0);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar .logo { font-size: 17px; font-weight: 600; margin-right: 20px; }
.topbar nav { display: flex; align-items: center; gap: 4px; }
.topbar nav > a,
.topbar nav .dropdown > .dropdown-toggle {
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
    line-height: 1.6;
}
.topbar nav > a:hover,
.topbar nav .dropdown:hover > .dropdown-toggle {
    background: rgba(255,255,255,.12);
    text-decoration: none;
}
.topbar nav > a.active,
.topbar nav .dropdown.active > .dropdown-toggle {
    background: rgba(255,255,255,.2);
}
.topbar nav .dropdown {
    position: relative;
    display: inline-flex;
}
.topbar nav .dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #fff;
    margin-left: 2px;
    transition: transform .2s;
}
.topbar nav .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}
.topbar nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    padding: 6px;
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease;
    margin-top: 2px;
}
.topbar nav .dropdown:hover > .dropdown-menu,
.topbar nav .dropdown-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.topbar nav .dropdown-menu a {
    display: block;
    color: #2d3748;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
}
.topbar nav .dropdown-menu a:hover {
    background: #ebf4fb;
    color: #2b6cb0;
}
.topbar nav .dropdown-menu a.active {
    background: #2b6cb0;
    color: #fff;
}
.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #fff;
    margin-left: auto;
}
.topbar-user .user-name { color: #fff; font-weight: 500; }
.topbar-user .user-phone { color: #fff; }
.topbar-user .user-logout {
    color: #fff;
    background: rgba(255,255,255,.15);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.topbar-user .user-logout:hover { background: rgba(255,255,255,.25); text-decoration: none; }
.topbar .user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #fff;
    margin-left: auto;
}
.topbar .user a {
    color: #fff;
    background: rgba(255,255,255,.15);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}
.topbar .user a:hover { background: rgba(255,255,255,.25); text-decoration: none; }

/* PC端导航 */
.topbar-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
}
.topbar-nav a {
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
}
.topbar-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.topbar-nav a.active { background: rgba(255,255,255,.2); }
.topbar-nav .nav-logout { display: none; }

/* 汉堡菜单按钮（默认隐藏，移动端显示） */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .25s;
    margin: 0 auto;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 容器 */
.container { max-width: 1200px; margin: 24px auto; padding: 0 20px; }
.container-fluid { max-width: 100%; margin: 24px auto; padding: 0 20px; }

/* 卡片 */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    padding: 20px 24px;
    margin-bottom: 20px;
}
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 表单 */
.form-row { margin-bottom: 16px; }
.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #4a5568;
}
.form-row label .req { color: #e53e3e; margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d2d8e0;
    border-radius: 5px;
    font-size: 14px;
    background: #fff;
    transition: border-color .15s;
}
.form-control:focus { outline: none; border-color: #2b6cb0; box-shadow: 0 0 0 3px rgba(43,108,176,.12); }
.form-control[readonly] { background: #f7fafc; color: #718096; }
textarea.form-control { min-height: 80px; resize: vertical; }
.form-hint { font-size: 12px; color: #a0aec0; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    cursor: pointer;
    background: #2b6cb0;
    color: #fff;
    transition: background .15s;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}
.btn:hover { background: #1e5293; text-decoration: none; color: #fff; }
.btn-secondary { background: #718096; }
.btn-secondary:hover { background: #5a6878; }
.btn-success { background: #38a169; }
.btn-success:hover { background: #2f855a; }
.btn-danger { background: #e53e3e; }
.btn-danger:hover { background: #c53030; }
.btn-warning { background: #dd6b20; }
.btn-warning:hover { background: #b9591a; }
.btn-outline {
    background: #fff;
    color: #2b6cb0;
    border-color: #2b6cb0;
}
.btn-outline:hover { background: #ebf4fb; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-link {
    background: none;
    border: none;
    color: #2b6cb0;
    padding: 0;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline;
    line-height: inherit;
}
.btn-link:hover { text-decoration: underline; }
.btn-link.btn-link-danger { color: #e53e3e; }
.btn-link.btn-link-danger:hover { text-decoration: underline; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.table th, .table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eef1f5;
    font-size: 13px;
}
.table th {
    background: #f7fafc;
    color: #4a5568;
    font-weight: 600;
    white-space: nowrap;
}
.table tr:hover td { background: #fbfcfe; }
.table .actions a { margin-right: 8px; }
.row-unreviewed td { opacity: 0.6; }
.row-review-fail td,
.row-review-fail td a,
.row-review-fail td span { color: #e53e3e !important; }
.row-unapproved td,
.row-unapproved td a,
.row-unapproved td span { color: #e53e3e !important; }

/* 标签/徽章 */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
}
.badge-gray { background: #e2e8f0; color: #4a5568; }
.badge-green { background: #c6f6d5; color: #22543d; }
.badge-red { background: #fed7d7; color: #742a2a; }
.badge-blue { background: #bee3f8; color: #2a4365; }
.badge-orange { background: #feebc8; color: #7b341e; }

/* 分页 */
.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #eef1f5;
    margin-top: 4px;
}
.pager .pager-info { font-size: 13px; color: #718096; }
.pager .pager-links { display: flex; gap: 4px; flex-wrap: wrap; }
.pager .pager-links a,
.pager .pager-links span {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #d2d8e0;
    border-radius: 4px;
    font-size: 12px;
    color: #4a5568;
    text-decoration: none;
    background: #fff;
    min-width: 28px;
    text-align: center;
}
.pager .pager-links a:hover { border-color: #2b6cb0; color: #2b6cb0; }
.pager .pager-links span.current {
    background: #2b6cb0;
    border-color: #2b6cb0;
    color: #fff;
}
.pager .pager-links span.disabled { color: #cbd5e0; cursor: not-allowed; }

/* 统计信息栏 */
.stat-bar {
    display: flex;
    gap: 24px;
    padding: 10px 0 16px;
    flex-wrap: wrap;
}
.stat-bar .stat-item {
    font-size: 13px;
    color: #4a5568;
}
.stat-bar .stat-item .num {
    font-weight: 700;
    color: #2b6cb0;
    font-size: 16px;
    margin-right: 4px;
}

/* 提示框 */
.alert {
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
    font-size: 13px;
}
.alert-error { background: #fed7d7; color: #742a2a; border: 1px solid #feb2b2; }
.alert-success { background: #c6f6d5; color: #22543d; border: 1px solid #9ae6b4; }
.alert-info { background: #bee3f8; color: #2a4365; border: 1px solid #90cdf4; }

/* 登录/注册页 */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f, #2b6cb0);
    padding: 20px;
}
.auth-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    width: 100%;
    max-width: 420px;
    padding: 36px 40px;
}
.auth-card h1 {
    font-size: 20px;
    color: #1e3a5f;
    margin-bottom: 6px;
    text-align: center;
}
.auth-card .sub {
    text-align: center;
    color: #a0aec0;
    font-size: 13px;
    margin-bottom: 24px;
}
.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eef1f5;
}
.auth-tabs a {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: #718096;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.auth-tabs a.active { color: #2b6cb0; border-bottom-color: #2b6cb0; font-weight: 600; }

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #a0aec0; }
.text-danger { color: #e53e3e; }
.text-success { color: #38a169; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.nowrap { white-space: nowrap; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.filters .form-row { margin-bottom: 0; min-width: 140px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: 8px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-top: 3px solid #2b6cb0; }
.stat-card.stat-zsl { border-top-color: #2b6cb0; }
.stat-card.stat-rsj { border-top-color: #38a169; }
.stat-card-head { font-size: 16px; font-weight: 700; color: #2d3748; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.stat-card.stat-rsj .stat-card-head { color: #276749; }
.stat-card.stat-zsl .stat-card-head { color: #2c5282; }
.stat-item { display: inline-block; min-width: 90px; margin-right: 28px; vertical-align: top; }
.stat-item:last-child { margin-right: 0; }
.stat-item .num { font-size: 28px; font-weight: 700; color: #2b6cb0; }
.stat-card.stat-rsj .stat-item .num { color: #38a169; }
.stat-item .lbl { font-size: 13px; color: #718096; margin-top: 4px; }
.stat-card .num { font-size: 26px; font-weight: 700; color: #2b6cb0; }
.stat-card .lbl { font-size: 13px; color: #718096; margin-top: 4px; }

/* 照片预览 */
.photo-preview { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.photo-preview .photo-item { position: relative; }
.photo-preview img { width: 140px; height: 100px; object-fit: cover; border: 1px solid #e2e8f0; border-radius: 5px; cursor: pointer; transition: transform .2s; }
.photo-preview .photo-label { font-size: 12px; color: #718096; margin-top: 4px; }
.photo-preview .photo-item:hover img { box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.photo-viewer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,.5); z-index: 9999; display: none; justify-content: center; align-items: center; }
.photo-viewer-overlay.active { display: flex; }
.photo-viewer-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 5px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.upload-box { display: inline-block; }
.upload-box input[type=file] { font-size: 12px; }

/* 自动补全下拉 */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #d2d8e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.autocomplete-list .ac-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.autocomplete-list .ac-item:last-child { border-bottom: none; }
.autocomplete-list .ac-item:hover,
.autocomplete-list .ac-item.active { background: #ebf4fb; color: #2b6cb0; }
.autocomplete-list .ac-empty { padding: 12px; font-size: 13px; color: #a0aec0; text-align: center; }

/* 打印报名表 */
.print-page { background: #fff; max-width: 900px; margin: 0 auto; padding: 30px 40px; }

/* 学习培训经历 */
.training-item {
    border: 1px dashed #cbd5e0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #fafbfc;
}
.training-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}
.training-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}
#addTraining { margin-bottom: 16px; }
/* 隐藏 month 输入框右侧的日历按钮 */
input[type="month"]::-webkit-calendar-picker-indicator { display: none; }
input[type="month"] { -webkit-appearance: none; appearance: none; }
.form-sheet { border: 1px solid #999; padding: 24px; margin-bottom: 28px; background: #fff; }
.form-sheet h2 { text-align: center; font-size: 18px; margin-bottom: 4px; }
.form-sheet .sheet-sub { text-align: center; color: #666; font-size: 13px; margin-bottom: 18px; }
.sheet-table { width: 100%; border-collapse: collapse; }
.sheet-table td { border: 1px solid #999; padding: 6px 8px; font-size: 13px; vertical-align: middle; }
.sheet-table .label { background: #f7fafc; width: 110px; white-space: nowrap; }

/* 中商联表格专用样式 */
.form-sheet-zsl { padding: 20px 22px; }
.form-sheet-zsl h2 { font-size: 22px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.sheet-table-zsl td { padding: 4px 6px; font-size: 13.5px; line-height: 1.85; }
.sheet-table-zsl .zl-label { background: transparent; text-align: left; font-weight: 500; white-space: nowrap; }

/* 人社局表格专用样式 */
.form-sheet-rsj { padding: 16px 18px; }
.form-sheet-rsj h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.sheet-table-rsj { width: 100%; border-collapse: collapse; }
.sheet-table-rsj td { border: 1px solid #333; padding: 6px 8px; font-size: 13px; vertical-align: middle; line-height: 1.7; }
.sheet-table-rsj .rsj-label { background: #f5f5f5; font-weight: 500; white-space: nowrap; text-align: center; }
.sheet-table-rsj .rsj-title { background: #f0f0f0; font-weight: 600; text-align: center; letter-spacing: 1px; }

/* 仅打印显示的内容 */
.print-only { display: none; }

/* A4 打印设置 */
@page {
    size: A4 portrait;
    margin: 8mm;
}
@media print {
    .print-only { display: block; }
    .print-only .sheet-table { margin: 0; }
    .print-only .sheet-table td { font-size: 16.5px; }
    .print-only .sheet-table-zsl td { font-size: 16.5px; }
    html, body { width: 210mm; margin: 0; padding: 0; }
    .topbar, .no-print, .card-title, .card-title a, .alert { display: none !important; }
    .container { max-width: 100%; margin: 0; padding: 0; width: 100%; }
    .card { box-shadow: none !important; border: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; width: 100%; }
    .print-page { padding: 0; margin: 0; width: 100%; }
    body { background: #fff; margin: 0; padding: 0; }
    .form-sheet {
        page-break-inside: avoid;
        border: none;
        margin: 0;
        padding: 5mm 6mm;
        width: 210mm;
        box-sizing: border-box;
        background: #fff;
    }
    .form-sheet-zsl { padding: 4mm 5mm; }
    .form-sheet-rsj { padding: 4mm 5mm; }
    .form-sheet h2 { font-size: 20px; margin-bottom: 8px; }
    .form-sheet-zsl h2 { font-size: 22px; letter-spacing: 2px; }
    .form-sheet-rsj h2 { font-size: 20px; }
    .sheet-table { width: 100%; }
    .sheet-table td { font-size: 12px; padding: 4px 5px; }
    .sheet-table-zsl td { font-size: 13px; padding: 3px 4px; line-height: 1.85; }
    .sheet-table-rsj td { font-size: 13px; padding: 4px 5px; line-height: 1.7; }
}

/* ===== 响应式：平板 ===== */
@media (max-width: 992px) {
    .container { padding: 0 16px; margin: 16px auto; }
    .card { padding: 16px 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .stat-row { grid-template-columns: 1fr; }
    .filters { flex-direction: column; align-items: stretch; }
    .filters .form-row { min-width: 0; width: 100%; }
}

/* 手机端卡片：默认隐藏，768px 以下显示 */
.mobile-cards { display: none; }
.pc-only { display: block; }

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
    html, body { font-size: 13px; }
    .pc-only { display: none !important; }
    .mobile-cards { display: block; }

    .topbar-inner {
        height: auto;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    .topbar .logo {
        font-size: 15px;
        margin-right: auto;
    }
    .topbar-user {
        font-size: 12px;
        gap: 6px;
        margin-right: 4px;
    }
    .topbar-user .user-name { font-size: 13px; }
    .topbar-user .user-phone { display: none; }

    /* 汉堡菜单按钮 */
    .nav-toggle { display: flex; }

    /* 折叠导航 */
    .topbar-nav {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        padding: 0 12px;
        transition: max-height .25s ease, padding .25s ease;
    }
    .topbar-nav.open {
        max-height: 300px;
        padding: 6px 12px 12px;
    }
    .topbar-nav a {
        display: block;
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 6px;
        margin-bottom: 2px;
    }
    .topbar-nav .nav-logout {
        display: block;
        margin-top: 6px;
        border-top: 1px solid rgba(255,255,255,.15);
        padding-top: 12px;
        color: #fff;
    }

    .container { padding: 0 12px; margin: 12px auto; }
    .card { padding: 14px 14px; margin-bottom: 14px; }
    .card-title {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 10px;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* 表格：横向滚动（管理端保留） */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table { min-width: 500px; }
    .table th, .table td { padding: 8px 8px; font-size: 12px; }

    /* 手机端卡片样式 */
    .m-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 14px;
        margin-bottom: 12px;
    }
    .m-card-head {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #eef1f5;
    }
    .m-card-title {
        font-size: 14px;
        font-weight: 600;
        color: #1e3a5f;
        flex: 1;
        word-break: break-all;
    }
    .m-card-body { margin-bottom: 12px; }
    .m-field {
        display: flex;
        align-items: flex-start;
        padding: 5px 0;
        font-size: 13px;
        line-height: 1.6;
    }
    .m-label {
        flex-shrink: 0;
        width: 75px;
        color: #a0aec0;
    }
    .m-value {
        flex: 1;
        color: #2d3748;
        word-break: break-all;
    }
    .m-card-foot { padding-top: 4px; }
    .btn-block {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* 表单单列 */
    .form-grid { grid-template-columns: 1fr; }
    .form-row { margin-bottom: 12px; }
    .form-control { font-size: 14px; padding: 10px 12px; }

    /* 按钮 */
    .btn { padding: 10px 16px; font-size: 14px; }
    .btn-sm { padding: 6px 12px; }
    .btn-group { gap: 6px; }

    /* 筛选栏堆叠 */
    .filters { flex-direction: column; align-items: stretch; gap: 8px; }
    .filters .form-row { min-width: 0; width: 100%; margin-bottom: 0; }

    /* 照片预览 */
    .photo-preview img { width: 110px; height: 80px; }
    .upload-box input[type=file] { font-size: 11px; }

    /* 报名表打印 */
    .print-page { padding: 12px; }
    .form-sheet { padding: 14px; }
    .sheet-table td { padding: 6px 8px; font-size: 12px; }
    .sheet-photos img { width: 120px; height: 85px; }

    /* 登录注册页 */
    .auth-card { padding: 24px 20px; }
    .auth-card h1 { font-size: 18px; }

    /* 统计卡片 */
    .stat-card { padding: 14px 16px; }
    .stat-item { min-width: 70px; margin-right: 16px; }
    .stat-item .num { font-size: 22px; }
    .stat-card .num { font-size: 22px; }
}

/* ===== 响应式：小屏手机 ===== */
@media (max-width: 480px) {
    .topbar .logo { font-size: 14px; }
    .topbar-user .user-name { font-size: 12px; }
    .topbar-user .user-logout { padding: 3px 8px; font-size: 11px; }
    .card { padding: 12px 12px; }
    .card-title { font-size: 14px; }
    .table { min-width: 400px; }
    .photo-preview img { width: 90px; height: 65px; }
    .auth-card { padding: 20px 16px; }
    .btn { padding: 10px 14px; font-size: 13px; }
    .btn-group .btn { width: auto; }
    .m-card { padding: 12px; }
    .m-label { width: 68px; font-size: 12px; }
    .m-value { font-size: 13px; }
}
