/* ============================================
   先手共创生态平台 - 全局样式表 v3.1.2（完整版）
   ============================================ */

/* ========== CSS 变量 ========== */
:root {
    --primary: #4F46E5;
    --primary-dark: #1a2a4a;
    --primary-light: #667eea;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-900: #212529;
    --bg-body: #f0f2f6;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 22px;
    --font-size-3xl: 28px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --mobile-nav-height: 60px;
}

/* ========== 全局重置 ========== */
* { margin:0; padding:0; box-sizing:border-box; }
html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg-body);
    font-family: var(--font);
    font-size: var(--font-size-base);
    color: var(--gray-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body { 
    display: flex;
    flex-direction: column;
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ========== 链接 ========== */
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ========== 通用工具类 ========== */
.text-primary-custom { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.bg-primary-gradient { background: var(--primary-gradient); }
.radius-md { border-radius: var(--radius-md); }
.radius-lg { border-radius: var(--radius-lg); }
.shadow-hover { transition: all var(--transition); }
.shadow-hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.transition { transition: all var(--transition); }

/* ========== 侧边栏 ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #0f1a3a 0%, #1a2a4a 100%);
    color: #fff;
    overflow-y: auto;
    z-index: 1000;
    padding-top: 0;
    transition: transform var(--transition-slow);
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: #3a5a8a; border-radius: 4px; }

.sidebar .brand {
    padding: 18px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 8px;
}
.sidebar .brand i {
    font-size: 24px;
    color: var(--primary-light);
    margin-right: 10px;
}
.sidebar .brand span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

.sidebar .nav-link {
    color: rgba(200, 214, 229, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    margin: 2px 10px;
    font-size: 14px;
    transition: all var(--transition);
    position: relative;
}
.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.sidebar .nav-link.active {
    background: rgba(102, 126, 234, 0.25);
    color: #fff;
}
.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: var(--primary-light);
    border-radius: 0 4px 4px 0;
}
.sidebar .nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 15px;
}
.sidebar .nav-link .badge {
    float: right;
    margin-top: 2px;
}
.sidebar .nav-link.text-danger {
    color: rgba(231, 76, 60, 0.8) !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 10px;
    padding-top: 14px;
}
.sidebar .nav-link.text-danger:hover {
    background: rgba(231, 76, 60, 0.2) !important;
    color: #e74c3c !important;
}

.sidebar .collapse .nav-link {
    padding: 6px 20px 6px 52px;
    font-size: 13px;
    margin: 1px 10px;
}
.sidebar .collapse .nav-link.active {
    background: rgba(102, 126, 234, 0.15);
}
.sidebar .collapse .nav-link::before {
    display: none;
}

/* ========== 主内容区域 ========== */
.main-content {
    margin-left: 240px;
    padding: 24px 28px 40px;
    min-height: 100vh;
    width: auto;
    flex: 1;
    overflow-x: hidden;
    background: var(--bg-body);
}

/* ========== 移动端底部导航 ========== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: #fff;
    border-top: 1px solid var(--gray-200);
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-500);
    font-size: 10px;
    transition: color var(--transition);
    cursor: pointer;
    padding: 4px 12px;
    border: none;
    background: transparent;
    position: relative;
}
.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}
.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
}
.mobile-bottom-nav .nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    right: 30%;
    height: 2px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}
.mobile-bottom-nav .nav-item .badge-dot {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ========== 移动端汉堡菜单 ========== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1001;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.mobile-menu-toggle:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

/* ========== 页面头部 ========== */
.page-header {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.page-header h5 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: var(--font-size-xl);
    color: var(--primary-dark);
}
.page-header h5 i {
    color: var(--primary-light);
    margin-right: 10px;
}

/* ========== 卡片组件 ========== */
.card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: none;
    transition: all var(--transition);
    background: var(--bg-white);
}
.card:hover {
    box-shadow: var(--shadow-md);
}
.card .card-title {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}
.card .card-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.stat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.stat-card .stat-icon {
    position: absolute;
    right: var(--spacing-lg);
    top: var(--spacing-lg);
    font-size: 28px;
    opacity: 0.15;
}
.stat-card .stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}
.stat-card .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-dark);
}
.stat-card .stat-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 4px 4px 0;
}

.stat-card.blue .stat-bar { background: var(--primary); }
.stat-card.blue .stat-icon { color: var(--primary); }
.stat-card.green .stat-bar { background: var(--success); }
.stat-card.green .stat-icon { color: var(--success); }
.stat-card.orange .stat-bar { background: var(--warning); }
.stat-card.orange .stat-icon { color: var(--warning); }
.stat-card.red .stat-bar { background: var(--danger); }
.stat-card.red .stat-icon { color: var(--danger); }
.stat-card.purple .stat-bar { background: #7C3AED; }
.stat-card.purple .stat-icon { color: #7C3AED; }
.stat-card.teal .stat-bar { background: #14B8A6; }
.stat-card.teal .stat-icon { color: #14B8A6; }

/* ========== 表格组件 ========== */
.table-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.table-card .table-responsive {
    margin: 0 calc(-1 * var(--spacing-lg));
    padding: 0 var(--spacing-lg);
}
.table {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}
.table thead th {
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    border: none;
    white-space: nowrap;
}
.table thead th:first-child { border-radius: 6px 0 0 0; }
.table thead th:last-child { border-radius: 0 6px 0 0; }
.table tbody td {
    padding: 10px 12px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-200);
}
.table tbody tr {
    transition: all var(--transition);
}
.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.002);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: var(--gray-100); }
.table tbody tr:nth-child(even):hover { background: rgba(102, 126, 234, 0.08); }

/* 批量操作栏 */
.batch-actions-bar {
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.batch-actions-bar .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 0;
}

.batch-actions-bar .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.batch-actions-bar .selected-count {
    font-size: 13px;
}

.batch-actions-bar .selected-count strong {
    color: #667eea;
    font-size: 15px;
}

.table .col-actions {
    white-space: nowrap;
}
.table .col-actions .btn {
    margin-right: 4px;
}
.table .col-actions .btn:last-child {
    margin-right: 0;
}

/* ============================================
   操作列按钮统一样式（核心）
   ============================================ */
.col-actions .btn-group-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.col-actions .btn-action {
    padding: 4px 14px;
    font-size: 13px;
    border-radius: 6px;
    white-space: nowrap;
    border: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    cursor: pointer;
}
.col-actions .btn-action i {
    font-size: 13px;
}
.col-actions .btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.col-actions .btn-action:active {
    transform: translateY(0);
}

/* 面试报名 - 蓝色 */
.col-actions .btn-interview {
    background: #0dcaf0;
    color: #fff;
}
.col-actions .btn-interview:hover {
    background: #0bb5d8;
    color: #fff;
}

/* 修改 - 橙色 */
.col-actions .btn-edit {
    background: #ffc107;
    color: #fff;
}
.col-actions .btn-edit:hover {
    background: #e6a800;
    color: #fff;
}

/* 删除 - 红色 */
.col-actions .btn-delete {
    background: #dc3545;
    color: #fff;
}
.col-actions .btn-delete:hover {
    background: #c82333;
    color: #fff;
}

/* 审核通过 - 绿色 */
.col-actions .btn-hire {
    background: #198754;
    color: #fff;
    padding: 2px 10px;
    font-size: 11px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.col-actions .btn-hire:hover {
    background: #157347;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .col-actions .btn-action {
        padding: 6px 12px;
        font-size: 12px;
        min-height: 34px;
    }
    .col-actions .btn-action i {
        font-size: 12px;
    }
}

/* ========== 按钮组件 ========== */
.btn {
    font-size: var(--font-size-sm);
    padding: 5px 14px;
    border-radius: 8px;
    transition: all var(--transition);
    font-weight: 500;
}
.btn-sm {
    font-size: var(--font-size-xs);
    padding: 3px 10px;
    border-radius: 6px;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn:active {
    transform: translateY(0);
    box-shadow: none;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-success {
    background: var(--success);
    border-color: var(--success);
}
.btn-danger {
    background: var(--danger);
    border-color: var(--danger);
}
.btn-warning {
    background: var(--warning);
    border-color: var(--warning);
    color: #fff;
}
.btn-warning:hover {
    color: #fff;
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-outline-success {
    color: var(--success);
    border-color: var(--success);
}
.btn-outline-success:hover {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}
.btn-outline-danger {
    color: var(--danger);
    border-color: var(--danger);
}
.btn-outline-danger:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}
.btn-outline-warning {
    color: var(--warning);
    border-color: var(--warning);
}
.btn-outline-warning:hover {
    background: var(--warning);
    border-color: var(--warning);
    color: #fff;
}

/* ========== 表单组件 ========== */
.form-control, .form-select {
    font-size: var(--font-size-sm);
    border-radius: 8px;
    border-color: var(--gray-300);
    transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.form-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xs);
}
.required-star {
    color: var(--danger);
    margin-right: 2px;
}

/* ========== 状态标签 ========== */
.badge-status {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* ========== 上传区域 ========== */
.upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-light);
    background: rgba(102, 126, 234, 0.05);
}
.upload-zone i {
    color: var(--gray-500);
}

/* ========== 收藏按钮 ========== */
.fav-btn {
    color: #ffc107;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition);
}
.fav-btn:hover {
    transform: scale(1.3);
}

/* ========== 搜索区域 ========== */
.search-area {
    background: var(--gray-100);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

/* ========== Toast 通知 ========== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast-item {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: var(--font-size-sm);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast-item.success { background: var(--success); }
.toast-item.error { background: var(--danger); }
.toast-item.warning { background: var(--warning); }
.toast-item.info { background: var(--info); }
.toast-item i { font-size: 18px; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(20px); }
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ========== 弹窗优化 ========== */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}
.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-lg) var(--spacing-xl);
}
.modal-header .modal-title {
    font-weight: 600;
    font-size: var(--font-size-lg);
}
.modal-body {
    padding: var(--spacing-lg) var(--spacing-xl);
}
.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: var(--spacing-md) var(--spacing-xl);
}

/* ========== 分页 ========== */
.pagination .page-link {
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    border: none;
    padding: 6px 12px;
    font-size: var(--font-size-sm);
    transition: all var(--transition);
}
.pagination .page-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    color: var(--gray-500);
    background: transparent;
}

/* ============================================
   PC分辨率适配 + UI统一优化（v3.1.2）
   ============================================ */

/* ---------- 1. 表格固定列宽 ---------- */
.table-fixed {
    table-layout: fixed;
    width: 100%;
}

/* 各列宽度定义 */
.table-fixed .col-check { width: 30px; text-align: center; }
.table-fixed .col-id { width: 40px; }
.table-fixed .col-city { width: 60px; }
.table-fixed .col-member { width: 50px; }
.table-fixed .col-name { width: 60px; }
.table-fixed .col-phone { width: 90px; }
.table-fixed .col-gender { width: 40px; }
.table-fixed .col-birth { width: 85px; }
.table-fixed .col-edu { width: 50px; }
.table-fixed .col-idcard { width: 100px; }
.table-fixed .col-attach { width: 50px; }
.table-fixed .col-operator { width: 80px; }
.table-fixed .col-actions { width: 200px; }
.table-fixed .col-username { width: 80px; }
.table-fixed .col-realname { width: 70px; }
.table-fixed .col-role { width: 70px; }
.table-fixed .col-parent { width: 50px; }
.table-fixed .col-status { width: 70px; }
.table-fixed .col-audit { width: 70px; }
.table-fixed .col-created { width: 100px; }

/* 基础信息模块（列少） */
.table-fixed-basic .col-id { width: 40px; }
.table-fixed-basic .col-name { width: 120px; }
.table-fixed-basic .col-sort { width: 60px; }
.table-fixed-basic .col-time { width: 120px; }
.table-fixed-basic .col-actions { width: 160px; }

/* 渠道管理模块（列少） */
.table-fixed-channel .col-id { width: 40px; }
.table-fixed-channel .col-company { width: 100px; }
.table-fixed-channel .col-position { width: 100px; }
.table-fixed-channel .col-name { width: 60px; }
.table-fixed-channel .col-phone { width: 90px; }
.table-fixed-channel .col-date { width: 90px; }

/* 企业目录模块（列多） */
.table-fixed-company .col-id { width: 40px; }
.table-fixed-company .col-city { width: 60px; }
.table-fixed-company .col-company { width: 80px; }
.table-fixed-company .col-position { width: 80px; }
.table-fixed-company .col-salary { width: 60px; }
.table-fixed-company .col-gender { width: 40px; }
.table-fixed-company .col-edu { width: 50px; }
.table-fixed-company .col-warranty { width: 50px; }
.table-fixed-company .col-age { width: 60px; }
.table-fixed-company .col-income { width: 60px; }
.table-fixed-company .col-resp { width: 60px; }
.table-fixed-company .col-jd { width: 70px; }
.table-fixed-company .col-status { width: 50px; }
.table-fixed-company .col-fav { width: 50px; }
.table-fixed-company .col-actions { width: 140px; }

/* 面试管理模块（列较多） */
.table-fixed-interview .col-id { width: 40px; }
.table-fixed-interview .col-company { width: 80px; }
.table-fixed-interview .col-position { width: 80px; }
.table-fixed-interview .col-appointment { width: 85px; }
.table-fixed-interview .col-interview { width: 85px; }
.table-fixed-interview .col-name { width: 55px; }
.table-fixed-interview .col-phone { width: 85px; }
.table-fixed-interview .col-status { width: 70px; }
.table-fixed-interview .col-warranty { width: 50px; }
.table-fixed-interview .col-income { width: 60px; }
.table-fixed-interview .col-partner { width: 55px; }
.table-fixed-interview .col-operator { width: 70px; }
.table-fixed-interview .col-actions { width: 100px; }

/* 入离职名单（列多） */
.table-fixed-hire .col-id { width: 40px; }
.table-fixed-hire .col-company { width: 80px; }
.table-fixed-hire .col-position { width: 80px; }
.table-fixed-hire .col-name { width: 55px; }
.table-fixed-hire .col-phone { width: 85px; }
.table-fixed-hire .col-gender { width: 40px; }
.table-fixed-hire .col-age { width: 40px; }
.table-fixed-hire .col-hire { width: 85px; }
.table-fixed-hire .col-quit { width: 85px; }
.table-fixed-hire .col-warranty { width: 50px; }
.table-fixed-hire .col-status { width: 60px; }
.table-fixed-hire .col-operator { width: 70px; }

/* 系统监控日志（列少） */
.table-fixed-log .col-id { width: 40px; }
.table-fixed-log .col-user { width: 60px; }
.table-fixed-log .col-type { width: 80px; }
.table-fixed-log .col-content { width: 200px; }
.table-fixed-log .col-ip { width: 100px; }
.table-fixed-log .col-time { width: 130px; }

/* ---------- 2. 操作人统一样式（全局控制） ---------- */
.operator-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.operator-display .operator-name {
    font-weight: 500;
    color: #1a1a2e;
}
.operator-display .operator-role {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    vertical-align: middle;
    line-height: 1.6;
}
.operator-display .operator-role.admin {
    background: #dc3545;
    color: #fff;
}
.operator-display .operator-role.branch {
    background: #ffc107;
    color: #1a1a2e;
}
.operator-display .operator-role.partner {
    background: #0d6efd;
    color: #fff;
}
.operator-display .operator-role.employee {
    background: #0dcaf0;
    color: #1a1a2e;
}

/* ---------- 3. 统计卡片响应式（Grid布局） ---------- */
.row-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1366px) {
    .row-cards { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 1024px) {
    .row-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
    .row-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
    .row-cards { grid-template-columns: 1fr; gap: 6px; }
}
.row-cards .stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}
.row-cards .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.row-cards .stat-card .stat-number {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}
@media (max-width: 1366px) {
    .row-cards .stat-card .stat-number { font-size: 22px; }
}
@media (max-width: 1024px) {
    .row-cards .stat-card .stat-number { font-size: 18px; }
    .row-cards .stat-card { padding: 12px 14px; }
}
@media (max-width: 576px) {
    .row-cards .stat-card .stat-number { font-size: 20px; }
}
@media (max-width: 1366px) {
    .row-cards { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 992px) {
    .row-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 576px) {
    .row-cards { grid-template-columns: 1fr; gap: 8px; }
}
.row-cards .stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}
.row-cards .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.row-cards .stat-card .stat-number {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}
@media (max-width: 1366px) {
    .row-cards .stat-card .stat-number { font-size: 22px; }
}
@media (max-width: 1024px) {
    .row-cards .stat-card .stat-number { font-size: 18px; }
    .row-cards .stat-card { padding: 12px 14px; }
}
@media (max-width: 576px) {
    .row-cards .stat-card .stat-number { font-size: 20px; }
}

/* ---------- 4. 1024×768 统一缩小 ---------- */
@media (max-width: 1024px) {
    .table { font-size: 12px; }
    .table thead th { font-size: 11px; padding: 6px 6px; }
    .table tbody td { padding: 5px 6px; font-size: 12px; }
    .btn-action { padding: 2px 6px; font-size: 11px; }
    .btn { font-size: 12px; padding: 3px 10px; }
    .btn-sm { font-size: 11px; padding: 2px 8px; }
    .search-area .form-control,
    .search-area .form-select {
        font-size: 12px;
        padding: 4px 6px;
        height: auto;
    }
    .search-area .row > div { padding: 0 4px; }
    .page-header { padding: 10px 14px; }
    .page-header h5 { font-size: 15px; }
    .sidebar { width: 200px; }
    .sidebar .nav-link { font-size: 13px; padding: 6px 14px; }
    .main-content { padding: 12px 14px 30px; }
}

/* ---------- 5. 1366×768 适度优化 ---------- */
@media (min-width: 1025px) and (max-width: 1366px) {
    .table { font-size: 13px; }
    .table thead th { font-size: 12px; padding: 6px 8px; }
    .table tbody td { padding: 6px 8px; font-size: 13px; }
    .btn-action { padding: 2px 8px; font-size: 11px; }
    .page-header h5 { font-size: 16px; }
    .sidebar { width: 210px; }
}

/* ---------- 6. 搜索区域自适应优化 ---------- */
@media (max-width: 1024px) {
    .search-area .row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
        gap: 6px;
    }
    .search-area .row > div {
        width: 100%;
        flex: none;
    }
    .search-area .row .d-flex {
        display: flex;
        align-items: center;
        gap: 4px;
    }
}
@media (max-width: 768px) {
    .search-area .row {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .search-area .row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   页面特有样式统一管理（v3.1.2）
   原各页面内联样式已全部迁移至此
   ============================================ */

/* ---------- 1. 状态标签 ---------- */
.status-badge {
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ---------- 2. 字符计数 ---------- */
.char-count {
    font-size: 12px;
    color: #6c757d;
}
.char-count.danger {
    color: #dc3545;
}

/* ---------- 3. 快捷筛选区域 ---------- */
.quick-filter-area {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.quick-filter-area .btn {
    font-size: 13px;
    padding: 4px 16px;
}

/* ---------- 4. 企业目录专用 ---------- */
.jd-link {
    max-width: 120px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
@media (max-width: 768px) {
    .jd-link {
        max-width: 60px;
    }
}

/* ---------- 5. 弹窗内联样式 ---------- */
.modal .required-star {
    color: #dc3545;
    margin-right: 2px;
}
.modal .char-count {
    font-size: 12px;
    color: #6c757d;
}
.modal .char-count.danger {
    color: #dc3545;
}

/* ---------- 6. 移动端适配增强 ---------- */
@media (max-width: 768px) {
    .table {
        font-size: 13px;
    }
    .col-actions .btn-action {
        padding: 6px 12px;
        font-size: 12px;
        min-height: 34px;
    }
    .col-actions .btn-action i {
        font-size: 12px;
    }
    .quick-filter-area {
        margin-top: 6px;
    }
    .quick-filter-area .btn {
        font-size: 11px;
        padding: 3px 10px;
    }
    .operator-role {
        font-size: 9px !important;
        padding: 1px 6px !important;
    }
    .btn-sm-mobile {
        font-size: 12px;
        padding: 4px 10px;
    }
    .page-header .header-actions .btn {
        font-size: 12px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .table {
        font-size: 12px;
    }
    .table thead th {
        font-size: 10px;
        padding: 4px 6px;
    }
    .table tbody td {
        padding: 4px 6px;
        font-size: 12px;
    }
    .col-actions .btn-action {
        padding: 4px 8px;
        font-size: 10px;
        min-height: 28px;
    }
    .col-actions .btn-action i {
        font-size: 10px;
    }
    .status-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    .operator-role {
        font-size: 8px !important;
        padding: 1px 4px !important;
    }
    .quick-filter-area .btn {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* ============================================
   全局 Toast/Modal 弹窗增强
   ============================================ */

#globalErrorModal .modal-title .text-danger {
    color: var(--danger) !important;
}
#globalErrorModal .modal-title .text-warning {
    color: var(--warning) !important;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}
.btn-loading .btn-text {
    visibility: hidden;
}
.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}
@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* ============================================
   响应式设计（原有）
   ============================================ */

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 16px 16px 80px;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-overlay.open {
        display: block;
        opacity: 1;
    }
    .mobile-bottom-nav {
        display: block;
    }
    .page-header {
        padding: 14px 16px;
        margin-top: 12px;
    }
    .page-header h5 {
        font-size: var(--font-size-lg);
    }
    .table {
        font-size: var(--font-size-sm);
    }
    .table thead th {
        font-size: 11px;
        padding: 8px 10px;
    }
    .table tbody td {
        padding: 8px 10px;
    }
    .stat-card .stat-number {
        font-size: var(--font-size-2xl);
    }
    .stat-card .stat-icon {
        font-size: 20px;
        right: 12px;
        top: 12px;
    }
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: 100vh;
    }
    .modal-content {
        border-radius: 0;
        min-height: 100vh;
    }
    .modal-header {
        padding: 14px 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .modal-footer {
        padding: 12px 16px;
        position: sticky;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--gray-200);
        z-index: 10;
    }
    .search-area .search-extended {
        display: none;
    }
    .search-area .search-extended.open {
        display: block;
    }
    .search-area .search-toggle {
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 10px 10px 80px;
    }
    .page-header {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .page-header h5 {
        font-size: var(--font-size-base);
    }
    .page-header .header-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .page-header .header-actions .btn {
        font-size: var(--font-size-xs);
        padding: 4px 10px;
    }
    .stat-card {
        padding: 12px 14px;
    }
    .stat-card .stat-number {
        font-size: var(--font-size-xl);
    }
    .stat-card .stat-label {
        font-size: var(--font-size-xs);
    }
    .stat-card .stat-icon {
        font-size: 16px;
        right: 10px;
        top: 10px;
    }
    .table {
        font-size: var(--font-size-xs);
    }
    .table thead th {
        font-size: 10px;
        padding: 6px 8px;
    }
    .table tbody td {
        padding: 6px 8px;
    }
    .btn {
        font-size: var(--font-size-xs);
        padding: 4px 10px;
    }
    .btn-sm {
        font-size: 11px;
        padding: 2px 8px;
    }
    .modal-header .modal-title {
        font-size: var(--font-size-base);
    }
    .modal-footer .btn {
        font-size: var(--font-size-sm);
        padding: 8px 16px;
    }
    .mobile-bottom-nav .nav-item {
        font-size: 9px;
        padding: 2px 8px;
    }
    .mobile-bottom-nav .nav-item i {
        font-size: 18px;
    }
    .back-to-top {
        bottom: 72px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

.search-toggle {
    display: none;
}
@media (max-width: 992px) {
    .search-toggle {
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    .toast-item {
        max-width: 100%;
        font-size: var(--font-size-xs);
        padding: 10px 14px;
    }
}

@media print {
    .sidebar, .mobile-bottom-nav, .mobile-menu-toggle, .mobile-overlay,
    .back-to-top, .toast-container, .no-print {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
        padding: 20px !important;
    }
    .table-card {
        box-shadow: none !important;
        border: 1px solid var(--gray-300);
    }
    .btn { display: none !important; }
}

.table-fixed-basic .link-edit {
    color: var(--primary);
    text-decoration: none;
    margin-right: 8px;
    transition: color 0.2s;
}
.table-fixed-basic .link-edit:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.table-fixed-basic .link-delete {
    color: var(--danger);
    text-decoration: none;
    margin-left: 8px;
    transition: color 0.2s;
}
.table-fixed-basic .link-delete:hover {
    color: #c82333;
    text-decoration: underline;
}

.table-fixed-basic .link-divider {
    color: var(--gray-500);
    margin: 0 4px;
}
/* ============================================
   计费功能专用样式（新增 2026-07-07）
   ============================================ */

/* 计费按钮 - 复用 btn-hire 样式，加亮绿色 */
.col-actions .btn-hire {
    background: #198754;
    color: #fff;
    padding: 4px 14px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.col-actions .btn-hire:hover {
    background: #157347;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(25, 135, 84, 0.3);
}

/* 统计卡片与 row-cards 已有，无需新增 */

/* 已结算标签 - 叠加样式 */
.badge-settled {
    background: #0dcaf0;
    color: #1a1a2e;
}
.badge-settled + .badge {
    margin-left: 4px;
}

/* 计费审核专用 - 表格列优化 */
.table-billing-audit .col-status {
    min-width: 100px;
}
.table-billing-audit .col-actions {
    min-width: 140px;
}

/* 审核中标签 */
.badge-auditing {
    background: #ffc107;
    color: #1a1a2e;
}
/* ============================================
   入离职名单 - 百分比列宽（撑满容器）
   ============================================ */
.table-fixed-hire {
    table-layout: fixed;
    width: 100%;
}
.table-fixed-hire .col-id { width: 4%; }
.table-fixed-hire .col-company { width: 11%; }
.table-fixed-hire .col-position { width: 10%; }
.table-fixed-hire .col-name { width: 6%; }
.table-fixed-hire .col-phone { width: 11%; }
.table-fixed-hire .col-gender { width: 4%; }
.table-fixed-hire .col-age { width: 4%; }
.table-fixed-hire .col-hire { width: 9%; }
.table-fixed-hire .col-quit { width: 9%; }
.table-fixed-hire .col-warranty { width: 6%; }
.table-fixed-hire .col-status { width: 9%; }
.table-fixed-hire .col-operator { width: 9%; }
.table-fixed-hire .col-actions { width: 8%; }
/* ============================================
   super_admin 紫色角色样式 + 移动端优化
   ============================================ */

/* super_admin 角色标签 - 紫色（老板专属） */
.badge.bg-super {
    background: #7C3AED !important;
    color: #fff;
}

.operator-role.super_admin {
    background: #7C3AED !important;
    color: #fff;
}

.role-tag.super_admin {
    background: rgba(124, 58, 237, 0.15);
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

/* ============================================
   移动端优化
   ============================================ */

/* 移动端统计卡片 - 2列网格（覆盖 PC 端的 4-6 列） */
@media (max-width: 768px) {
    .row-cards {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .row-cards .stat-card {
        padding: 14px 14px 12px !important;
        border-radius: 10px !important;
    }
    .row-cards .stat-card .stat-number {
        font-size: 22px !important;
    }
    .row-cards .stat-card .stat-label {
        font-size: 12px !important;
    }
    .row-cards .stat-card .stat-icon {
        font-size: 18px !important;
        right: 10px !important;
        top: 10px !important;
    }
}

/* 移动端计费按钮 - 调低高度 */
@media (max-width: 768px) {
    .col-actions .btn-hire,
    .col-actions .btn-action.btn-hire {
        padding: 4px 10px !important;
        font-size: 11px !important;
        min-height: 28px !important;
        border-radius: 5px !important;
    }
    .col-actions .btn-hire i,
    .col-actions .btn-action.btn-hire i {
        font-size: 11px !important;
    }
}

/* 移动端表格 - 隐藏次要列（性别、年龄、电话） */
@media (max-width: 768px) {
    /* 入离职名单 - 隐藏性别、年龄 */
    .table-fixed-hire .col-gender,
    .table-fixed-hire .col-age {
        display: none !important;
    }
    /* 面试名单 - 隐藏电话 */
    .table-fixed-interview .col-phone {
        display: none !important;
    }
    /* 用户管理 - 隐藏创建时间 */
    .table-fixed .col-created {
        display: none !important;
    }
}

/* 移动端底部导航 - 侧栏打开时置灰 */
.mobile-bottom-nav.disabled {
    pointer-events: none !important;
    opacity: 0.4 !important;
}

/* ============================================
   super_admin 在首页看板的角色徽章颜色
   ============================================ */
.user-info .badge.super_admin {
    background: #7C3AED !important;
}
/* ============================================
   用户管理 - 收益比例列和上级列宽度
   ============================================ */
.table-fixed .col-rate {
    width: 70px;
    text-align: center;
}
.table-fixed .col-parent {
    width: 130px;
}
/* ============================================
   收益比例 - 绿色渐变（比例越高颜色越深）
   ============================================ */
.badge-rate {
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    min-width: 44px;
    display: inline-block;
    text-align: center;
}
.badge-rate.rate-0 { background: #e9ecef; color: #6c757d; }
.badge-rate.rate-50 { background: #d1fae5; color: #065f46; }
.badge-rate.rate-60 { background: #a7f3d0; color: #065f46; }
.badge-rate.rate-70 { background: #6ee7b7; color: #064e3b; }
.badge-rate.rate-80 { background: #34d399; color: #064e3b; }
.badge-rate.rate-90 { background: #10b981; color: #fff; }

/* ============================================
   上级列 - 姓名 + 角色标签样式（与操作人一致）
   ============================================ */
.table-fixed .col-parent .operator-display {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.table-fixed .col-parent .operator-name {
    font-weight: 500;
    color: #1a1a2e;
}
.table-fixed .col-parent .operator-role {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
}
.table-fixed .col-parent .operator-role.super_admin {
    background: #7C3AED;
}
.table-fixed .col-parent .operator-role.admin {
    background: #dc3545;
}
.table-fixed .col-parent .operator-role.branch {
    background: #ffc107;
    color: #1a1a2e;
}
.table-fixed .col-parent .operator-role.partner {
    background: #0d6efd;
}
.table-fixed .col-parent .operator-role.employee {
    background: #0dcaf0;
    color: #1a1a2e;
}

/* ============================================
   手机版 - 上级列适配
   ============================================ */
@media (max-width: 768px) {
    .table-fixed .col-parent {
        width: 80px;
        font-size: 12px;
    }
    .table-fixed .col-parent .operator-role {
        font-size: 8px !important;
        padding: 1px 4px !important;
    }
    .table-fixed .col-parent .operator-name {
        font-size: 12px;
    }
}

/* ============================================
   手机版 - 收益比例列适配
   ============================================ */
@media (max-width: 768px) {
    .table-fixed .col-rate {
        width: 50px;
    }
    .badge-rate {
        font-size: 10px !important;
        padding: 2px 8px !important;
        min-width: 32px !important;
    }
}
/* ===== 搜索下拉组件 v1.0 ===== */
.search-dropdown-container {
    position: relative;
}

.dropdown-menu.search-dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 4px;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
    font-size: 14px;
}

.search-dropdown-item:hover,
.search-dropdown-item.active {
    background: #f0f4ff;
}

.search-dropdown-item .sdi-type {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}
.sdi-type-rpo { background: #dbeafe; color: #1d4ed8; }
.sdi-type-blue { background: #fef3c7; color: #92400e; }
.sdi-type-headhunt { background: #ede9fe; color: #6d28d9; }
.sdi-type-foreign { background: #d1fae5; color: #065f46; }

.search-dropdown-item .sdi-main {
    font-weight: 500;
    color: #1a1a2e;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-dropdown-item .sdi-sub {
    color: #6b7280;
    font-size: 13px;
    flex-shrink: 0;
}

.search-dropdown-item .sdi-income {
    color: #059669;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.search-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.dropdown-search-input {
    padding-right: 32px !important;
}

.dropdown-search-input:focus {
    border-color: #818CF8;
    box-shadow: 0 0 0 3px rgba(129,140,248,0.15);
}

/* 移动端搜索下拉适配 */
@media (max-width: 992px) {
    .dropdown-menu.search-dropdown-panel {
        max-height: 200px;
        border-radius: 12px;
    }
    .search-dropdown-item {
        padding: 12px 14px;
        font-size: 15px;
    }
}
