* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --bg-color: #f8fafc;
    --sidebar-bg: #ffffff;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 0 20px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
}

.logo svg {
    color: var(--primary-color);
}

.sidebar-nav {
    flex: 1;
    padding: 0 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.nav-item svg {
    flex-shrink: 0;
    transition: all 0.2s;
}

.nav-item:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.nav-item.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 父级菜单项 */
.nav-item-group {
    margin-bottom: 4px;
}

.parent-item {
    cursor: pointer;
}

.parent-item .arrow-icon {
    margin-left: auto;
    transition: transform 0.3s;
}

.parent-item.expanded .arrow-icon {
    transform: rotate(180deg);
}

/* 子菜单 */
.sub-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding-left: 20px;
    margin-top: 4px;
}

.sub-menu.show {
    display: flex;
}

.sub-menu.level-2 {
    padding-left: 16px;
}

.sub-menu.level-3 {
    padding-left: 16px;
}

.sub-item {
    padding: 10px 16px 10px 48px;
    gap: 10px;
}

.sub-item.sub-item {
    padding: 10px 16px 10px 48px;
}

.sub-menu.level-2 .sub-item {
    padding: 8px 12px 8px 40px;
}

.sub-menu.level-3 .sub-item {
    padding: 6px 10px 6px 32px;
}

.sub-item svg {
    flex-shrink: 0;
}

.sub-item span {
    font-size: 13px;
}

.sub-menu.level-2 .sub-item span {
    font-size: 12px;
}

.sub-menu.level-3 .sub-item span {
    font-size: 11px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f1f5f9;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.user-profile:hover {
    background-color: #e2e8f0;
}

/* 个人中心下拉菜单 */
.user-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 10px;
    right: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    background: #f8fafc;
}

.dropdown-user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.dropdown-user-role {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.dropdown-item svg {
    color: var(--text-secondary);
}

.dropdown-item:hover svg {
    color: var(--primary-color);
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background-color: #fef2f2;
}

.dropdown-item.logout svg {
    color: #ef4444;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.user-info {
    flex: 1;
}

.user-name {
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.user-role {
    color: #64748b;
    font-size: 12px;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 顶部导航 */
.top-bar {
    background-color: var(--card-bg);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-color);
    padding: 10px 16px;
    border-radius: 8px;
    width: 400px;
}

.search-box svg {
    color: var(--text-secondary);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.top-bar-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* 内容包装器 */
.content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* 欢迎横幅 */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.banner-content h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.banner-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 统计卡片网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-content .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-change {
    font-size: 12px;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change:not(.positive) {
    color: var(--text-secondary);
}

/* 登记分类区域 */
.services-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.add-btn, .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.view-all-btn {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.add-btn:hover {
    background-color: var(--primary-hover);
}

.view-all-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 登记网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-count {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
    background-color: rgba(99, 102, 241, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

/* 任务接收板块 */
.task-section {
    margin-bottom: 32px;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
    background-color: var(--card-bg);
    position: relative;
}

.task-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    cursor: pointer;
}

.task-item.highlight {
    animation: highlight-pulse 2s ease-in-out;
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.task-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.task-item.expanded {
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.task-item.expanded .task-content-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.task-item.expanded .task-people-list {
    display: block;
    padding: 16px;
    background-color: rgba(241, 245, 249, 0.8);
    border-radius: 0 0 8px 8px;
    margin: 0 -16px -16px;
}

.task-people-list {
    display: none;
}

.task-content-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-shrink: 0;
}

.people-list-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.people-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.people-table {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.people-table table {
    width: 100%;
    border-collapse: collapse;
}

.people-table thead th {
    padding: 8px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.people-table thead th:nth-child(7) {
    text-align: center;
}

.people-table tbody td {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.people-table tbody td:nth-child(7) {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.people-table tbody tr:hover {
    background-color: var(--bg-color);
}

.person-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.person-chip:hover {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.person-chip .person-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
}

.person-chip .person-name {
    font-weight: 500;
}

.person-chip .person-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    background-color: var(--success-color);
    color: white;
}

@keyframes highlight-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1);
    }
}

.task-priority {
    width: 4px;
    height: 48px;
    border-radius: 2px;
    flex-shrink: 0;
}

.task-priority.high {
    background-color: var(--danger-color);
}

.task-priority.medium {
    background-color: var(--warning-color);
}

.task-priority.low {
    background-color: var(--success-color);
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.task-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.task-tag {
    font-size: 12px;
    padding: 2px 8px;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border-radius: 4px;
    font-weight: 500;
}

.task-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.task-actions-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
}

.task-action-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.receive-btn {
    background-color: var(--primary-color);
    color: white;
}

.receive-btn:hover {
    background-color: var(--primary-hover);
}

.continue-btn {
    background-color: #3b82f6;
    color: white;
}

.continue-btn:hover {
    background-color: #2563eb;
}

.view-btn {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.view-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.task-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.task-status-badge.pending {
    background-color: #fef3c7;
    color: #d97706;
}

.task-status-badge.processing {
    background-color: #dbeafe;
    color: #2563eb;
}

.task-status-badge.completed {
    background-color: #dcfce7;
    color: #16a34a;
}

.complete-btn {
    background-color: #10b981;
    color: white;
}

.complete-btn:hover {
    background-color: #059669;
}

/* 任务详情弹窗样式 */
#taskDetailModal,
#taskCompleteModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#taskDetailModal .modal,
#taskCompleteModal .modal {
    width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

#taskDetailModal .modal-header,
#taskCompleteModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

#taskDetailModal .modal-header h3,
#taskCompleteModal .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

#taskDetailModal .modal-body,
#taskCompleteModal .modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

#taskDetailModal .close-btn,
#taskCompleteModal .close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

#taskDetailModal .close-btn:hover,
#taskCompleteModal .close-btn:hover {
    color: var(--text-primary);
}

.task-detail-section {
    margin-bottom: 24px;
}

.task-detail-section h4 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.priority-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.priority-badge.high {
    background-color: #fee2e2;
    color: #dc2626;
}

.priority-badge.medium {
    background-color: #fef3c7;
    color: #d97706;
}

.priority-badge.low {
    background-color: #e5e7eb;
    color: #6b7280;
}

.detail-description {
    background-color: var(--bg-color);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* 任务时间轴 */
.task-timeline {
    position: relative;
    padding-left: 20px;
}

.task-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -14px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: 2px solid var(--card-bg);
}

.timeline-dot.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-content {
    padding-left: 12px;
}

.timeline-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-primary);
}

/* 模态框底部按钮 */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.modal-btn.primary:hover {
    background-color: var(--primary-hover);
}

.modal-btn.secondary {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.modal-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 抓拍机推送人员板块 */
.camera-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.camera-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #16a34a;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.camera-actions {
    display: flex;
    gap: 8px;
}

.camera-grid {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.camera-card {
    flex-shrink: 0;
    width: calc(25% - 15px);
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.camera-card.new-card {
    animation: slideInRight 0.5s ease-out, pulse 1.5s ease-in-out 3;
    border: 3px solid #6366f1 !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(99, 102, 241, 0.3) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08)) !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.7), 0 0 60px rgba(99, 102, 241, 0.4);
    }
}

.camera-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.camera-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-bottom: 1px solid var(--border-color);
}

.person-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.person-basic-info {
    flex: 1;
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.person-id {
    font-size: 12px;
    color: var(--text-secondary);
}

.match-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.match-badge.matched {
    background-color: #dcfce7;
    color: #16a34a;
}

.match-badge.unmatched {
    background-color: #fef3c7;
    color: #d97706;
}

.camera-card-body {
    padding: 16px;
}

.capture-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.capture-time,
.capture-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.capture-time svg,
.capture-location svg {
    flex-shrink: 0;
}

.person-analysis {
    margin-bottom: 16px;
}

.person-analysis h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.analysis-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.analysis-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.analysis-tag.age {
    background-color: #e0f2fe;
    color: #0284c7;
}

.analysis-tag.gender {
    background-color: #fce7f3;
    color: #be185d;
}

.analysis-tag.status {
    background-color: #fef3c7;
    color: #d97706;
}

.analysis-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.analysis-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.analysis-label {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.analysis-value {
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
}

.analysis-value.warning {
    color: #d97706;
}

.camera-card-footer {
    padding: 16px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.service-recommendation {
    margin-bottom: 12px;
}

.recommend-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.recommend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.recommend-tag {
    padding: 4px 10px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.recommend-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.camera-actions {
    display: flex;
    gap: 8px;
}

.camera-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.camera-action-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.camera-action-btn.primary:hover {
    background-color: var(--primary-hover);
}

.camera-action-btn.secondary {
    background-color: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.camera-action-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 新增卡片动画 */
.camera-card.new-card {
    animation: newCardPulse 1s ease-out;
}

@keyframes newCardPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 最近登记 */
.recent-section {
    margin-bottom: 32px;
}

/* 服务分类专区 */
.service-category-section {
    margin-bottom: 32px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.category-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-card.featured .category-header h4,
.category-card.featured .category-count,
.category-card.featured .service-name,
.category-card.featured .top-service-name,
.category-card.featured .top-service-trend {
    color: white;
}

.category-card.featured .category-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-card.featured .service-stats {
    color: rgba(255, 255, 255, 0.8);
}

.category-card.featured .rank-badge {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border-bottom: none;
    background-color: transparent;
    margin-bottom: 12px;
}

.category-card.featured .category-header {
    background-color: transparent;
    border-bottom: none;
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.category-title {
    flex: 1;
    text-align: center;
}

.category-title h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.category-badge {
    padding: 4px 10px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.category-body {
    padding: 0;
    width: 100%;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.service-stats {
    font-size: 12px;
    color: var(--text-secondary);
}

.category-footer {
    padding: 0;
    border-top: none;
    background-color: var(--bg-color);
}

.category-card.featured .category-footer {
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.category-btn {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.featured-btn {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.category-btn.featured-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.top-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.top-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
}

.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.top-service-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.top-service-trend {
    font-size: 12px;
    color: var(--success-color);
    font-weight: 600;
}

.recent-list {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-item:hover {
    background-color: var(--bg-color);
    border-radius: 8px;
}

.recent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.recent-content {
    flex: 1;
}

.recent-content h5 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.recent-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.recent-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.recent-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.recent-status.completed {
    background-color: #dcfce7;
    color: #16a34a;
}

.recent-status.processing {
    background-color: #dbeafe;
    color: #2563eb;
}

.recent-status.pending {
    background-color: #fef3c7;
    color: #d97706;
}

/* 服务记录项布局 */
.service-record-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    position: relative;
}

/* 服务记录标签 - 右上角 */
.record-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 11px;
    color: #6366f1;
    background-color: rgba(99, 102, 241, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.record-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.record-content {
    flex: 1;
}

.record-content h5 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.record-content p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 跟踪记录按钮样式 */
.track-btn {
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    align-self: flex-end;
    white-space: nowrap;
    margin-left: auto;
}

.track-btn:hover {
    background-color: var(--primary-hover);
}

.toggle-tracking-btn {
    padding: 4px 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.toggle-tracking-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 跟踪记录折叠区域样式 */
.tracking-folded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.tracking-folded.expanded {
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
}

/* 跟踪记录显示样式 */
.tracking-record {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 13px;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.tracking-title {
    flex: 1;
}

.tracking-meta {
    font-size: 12px;
    font-weight: normal;
    color: var(--text-secondary);
    white-space: nowrap;
}

.tracking-content {
    color: var(--text-secondary);
    line-height: 1.5;
    white-space: pre-wrap;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: white;
    border-radius: 16px;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.close-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

/* 抽屉样式 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.drawer-overlay.active {
    display: block;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    background-color: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
}

.drawer-overlay.active .drawer {
    transform: translateX(0);
}
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.drawer-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.drawer-actions {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.cancel-btn, .submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-btn {
    background-color: var(--bg-color);
    color: var(--text-secondary);
}

.cancel-btn:hover {
    background-color: var(--border-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* 页面头部 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.export-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 筛选区域 */
.filter-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 服务管理页面和登记记录页面的按钮容器样式 */
#services-section .filter-actions,
#records-section .filter-actions,
#camera-records-section .filter-actions,
#public-activity-management-section .filter-actions,
#info-publish-management-section .filter-actions,
#admin-info-manage-section .filter-actions,
#admin-activity-manage-section .filter-actions,
#tasks-section .filter-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
    align-items: center;
}

/* 服务管理、登记记录和抓拍记录页面的搜索按钮不浮动 */
#services-section .search-btn,
#records-section .search-btn,
#camera-records-section .search-btn,
#public-activity-management-section .search-btn,
#info-publish-management-section .search-btn,
#admin-info-manage-section .search-btn,
#admin-activity-manage-section .search-btn,
#tasks-section .search-btn {
    position: static !important;
    right: auto !important;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

#services-section .search-btn:hover,
#records-section .search-btn:hover,
#camera-records-section .search-btn:hover,
#public-activity-management-section .search-btn:hover,
#info-publish-management-section .search-btn:hover,
#admin-info-manage-section .search-btn:hover,
#admin-activity-manage-section .search-btn:hover,
#tasks-section .search-btn:hover {
    background-color: var(--primary-hover);
}

.filter-item label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.filter-select,
.filter-input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.search-btn:hover {
    background-color: var(--primary-hover);
}

.filter-actions {
    display: flex;
    gap: 16px;
}

/* 表格样式 */
.services-table,
.records-table {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.services-table table,
.records-table table {
    width: 100%;
    border-collapse: collapse;
}

.services-table thead th,
.records-table thead th {
    padding: 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

/* 服务列表表格列宽控制 */
.services-table thead th:nth-child(1),
.services-table tbody td:nth-child(1) {
    width: 130px;
    min-width: 130px;
}

.services-table thead th:nth-child(2),
.services-table tbody td:nth-child(2) {
    width: 120px;
    min-width: 120px;
}

.services-table thead th:nth-child(3),
.services-table tbody td:nth-child(3) {
    width: 130px;
    min-width: 130px;
}

.services-table thead th:nth-child(4),
.services-table tbody td:nth-child(4) {
    width: 80px;
    min-width: 80px;
}

.services-table thead th:nth-child(5),
.services-table tbody td:nth-child(5) {
    width: 150px;
    min-width: 150px;
}

.services-table thead th:nth-child(6),
.services-table tbody td:nth-child(6) {
    width: 120px;
    min-width: 120px;
}

.services-table thead th:nth-child(7),
.services-table tbody td:nth-child(7) {
    width: 150px;
    min-width: 150px;
}

.services-table thead th:nth-child(8),
.services-table tbody td:nth-child(8) {
    width: 170px;
    min-width: 170px;
}

/* 登记记录表格列宽控制（添加服务子类后优化） */
.records-table thead th:nth-child(1),
.records-table tbody td:nth-child(1) {
    width: 150px;
    min-width: 150px;
}

.records-table thead th:nth-child(2),
.records-table tbody td:nth-child(2) {
    width: 90px;
    min-width: 90px;
}

.records-table thead th:nth-child(3),
.records-table tbody td:nth-child(3) {
    width: 110px;
    min-width: 110px;
}

.records-table thead th:nth-child(4),
.records-table tbody td:nth-child(4) {
    width: 140px;
    min-width: 140px;
}

.records-table thead th:nth-child(5),
.records-table tbody td:nth-child(5) {
    width: 130px;
    min-width: 130px;
}

.records-table thead th:nth-child(6),
.records-table tbody td:nth-child(6) {
    width: 140px;
    min-width: 140px;
}

/* 管理端信息管理页面表格列宽控制（6列） */
#admin-info-manage-section .records-table thead th:nth-child(1),
#admin-info-manage-section .records-table tbody td:nth-child(1) {
    width: 200px;
    min-width: 200px;
}

#admin-info-manage-section .records-table thead th:nth-child(2),
#admin-info-manage-section .records-table tbody td:nth-child(2) {
    width: 120px;
    min-width: 120px;
}

#admin-info-manage-section .records-table thead th:nth-child(3),
#admin-info-manage-section .records-table tbody td:nth-child(3) {
    width: 150px;
    min-width: 150px;
}

#admin-info-manage-section .records-table thead th:nth-child(4),
#admin-info-manage-section .records-table tbody td:nth-child(4) {
    width: 150px;
    min-width: 150px;
}

#admin-info-manage-section .records-table thead th:nth-child(5),
#admin-info-manage-section .records-table tbody td:nth-child(5) {
    width: 120px;
    min-width: 120px;
}

#admin-info-manage-section .records-table thead th:nth-child(6),
#admin-info-manage-section .records-table tbody td:nth-child(6) {
    width: 160px;
    min-width: 160px;
}

.records-table thead th:nth-child(7),
.records-table tbody td:nth-child(7) {
    width: 130px;
    min-width: 130px;
}

.records-table thead th:nth-child(8),
.records-table tbody td:nth-child(8) {
    width: 70px;
    min-width: 70px;
}

.services-table tbody td,
.records-table tbody td {
    padding: 12px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.services-table tbody tr:hover,
.records-table tbody tr:hover {
    background-color: var(--bg-color);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-badge.processing {
    background-color: #dbeafe;
    color: #2563eb;
}

.status-badge.completed {
    background-color: #dcfce7;
    color: #16a34a;
}

.status-badge.error {
    background-color: #fee2e2;
    color: #dc2626;
}

.status-badge.status-pending {
    background-color: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}

.status-badge.status-success {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-badge.status-error {
    background-color: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.table-action-btn {
    padding: 6px 12px;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.table-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 统计图表区域 */
.charts-section {
    margin-top: 32px;
}

.chart-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chart-placeholder {
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
}

.chart-bars {
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.chart-bar:hover {
    transform: translateY(-4px);
}

.chart-bar::before {
    content: '';
    width: 60px;
    background: linear-gradient(180deg, var(--primary-color), #8b5cf6);
    border-radius: 8px 8px 0 0;
    transition: all 0.3s;
}

.chart-bar:hover::before {
    background: linear-gradient(180deg, #8b5cf6, var(--primary-color));
}

.bar-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.bar-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

/* 系统设置 */
.settings-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.settings-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.settings-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.settings-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* 用户列表 */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.user-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.user-item .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.user-item .user-info {
    flex: 1;
}

.user-item .user-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-item .user-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.user-role-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.user-role-badge.admin {
    background-color: #dbeafe;
    color: #2563eb;
}

.user-role-badge.staff {
    background-color: #dcfce7;
    color: #16a34a;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.user-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.user-action-btn.edit {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.user-action-btn.edit:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.user-action-btn.delete {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.user-action-btn.delete:hover {
    background-color: #fee2e2;
    border-color: #dc2626;
}

/* 抓拍记录表格 */
.camera-records-table-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.camera-records-table-section table {
    width: 100%;
    border-collapse: collapse;
}

.camera-records-table-section table th,
.camera-records-table-section table td {
    padding: 12px 8px;
    white-space: nowrap;
    text-align: left;
}

.camera-records-table-section table th {
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-color);
}

.camera-records-table-section table td {
    color: var(--text-secondary);
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.pagination-btn {
    padding: 8px 20px;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.current-page {
    font-weight: 600;
    color: var(--primary-color);
}

/* 人员画像按钮样式 */
.table-action-btn.portrait {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    border: none;
}

.table-action-btn.portrait:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* 抽屉样式 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: flex-end;
}

/* 人员画像抽屉 - 最高层级 */
#portraitDrawerOverlay {
    z-index: 1002;
}

.drawer-overlay.active {
    display: flex;
}

.drawer {
    width: 480px;
    max-width: 90vw;
    height: 100vh;
    background-color: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.drawer-overlay.active .drawer {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.drawer-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.drawer-close-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.drawer-content {
    padding: 24px;
}

/* 画像区块 */
.portrait-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.portrait-section:last-child {
    border-bottom: none;
}

.portrait-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portrait-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.portrait-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.portrait-basic {
    flex: 1;
}

.portrait-basic h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.portrait-basic p {
    font-size: 13px;
    color: var(--text-secondary);
}

.basic-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.info-item span.status-warning {
    color: #d97706;
}

/* 分析标签 */
.analysis-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.analysis-tags .analysis-tag {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

/* 技能列表 */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.skill-item:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.skill-name {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.skill-level {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

/* 服务记录列表 */
.service-records-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-record-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    position: relative;
}

.service-record-item:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.record-time {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    padding-top: 2px;
}

.record-content {
    flex: 1;
}

.record-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.record-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 跟踪记录按钮 */
.track-btn {
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    align-self: flex-end;
    white-space: nowrap;
    margin-left: auto;
}

.track-btn:hover {
    background-color: var(--primary-hover);
}

.tracking-record {
    margin-top: 12px;
    margin-left: 0;
    padding: 12px;
    background-color: #f1f5f9;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tracking-title {
    flex: 1;
}

.tracking-meta {
    font-size: 12px;
    font-weight: normal;
    color: var(--text-secondary);
    white-space: nowrap;
}

.tracking-content {
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* 推荐服务按钮列表 */
.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.recommendation-btn:hover {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
    transform: translateX(4px);
}

/* 抽屉底部 */
.drawer-footer {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.drawer-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.drawer-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.drawer-btn.primary:hover {
    background-color: var(--primary-hover);
}

.drawer-btn.secondary {
    background-color: var(--bg-color);
    color: var(--text-secondary);
}

.drawer-btn.secondary:hover {
    background-color: var(--border-color);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .chart-bars {
        gap: 20px;
    }

    .chart-bar::before {
        width: 40px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 20px 0;
    }

    .logo span,
    .nav-item span,
    .sidebar-footer {
        display: none;
    }

    .logo svg {
        margin: 0 auto;
    }

    .nav-item {
        justify-content: center;
        padding: 12px;
    }

    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 场地管理样式 - 表格形式 */
.filter-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding-left: 12px;
}

.section-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.add-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.add-btn:hover {
    background-color: var(--primary-hover);
}

.table-action-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 8px;
}

.table-action-btn.view {
    background-color: transparent;
    color: var(--primary-color);
}

.table-action-btn.view:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.table-action-btn.edit {
    background-color: transparent;
    color: #1677ff;
    font-weight: 500;
}

.table-action-btn.edit:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

/* 特殊样式用于待审核状态的审核按钮 */
.table-action-btn.audit {
    background-color: #fff;
    color: #fa8c16;
    border: 1px solid #ffd591;
    font-weight: 500;
}

.table-action-btn.audit:hover {
    background-color: #fff2e8;
    color: #fa8c16;
    border-color: #ffa940;
}

/* 多选下拉框样式 */
.form-select[multiple] {
    height: auto;
    min-height: 100px;
    padding: 8px;
}

.form-select[multiple] option {
    padding: 6px 12px;
    cursor: pointer;
}

.form-select[multiple] option:checked {
    background-color: #e6f7ff;
    color: #1890ff;
}

.form-hint {
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 4px;
    line-height: 1.4;
}

/* 政策列表样式 */
.job-list {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.job-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #fafafa;
}

.job-item:hover {
    background: #f5f5f5;
    border-color: #d9d9d9;
}

.job-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-right: 12px;
}

.job-company {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.job-title {
    color: #666;
    margin-bottom: 8px;
}

.job-info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.job-tag {
    background: #f0f2f5;
    color: #666;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.view-detail-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.view-detail-btn:hover {
    background: #40a9ff;
}

/* 重置按钮统一样式 */
#internshipRecommendTab .reset-btn,
#jobRecommendTab .reset-btn,
#policyTab .reset-btn {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

#internshipRecommendTab .reset-btn:hover,
#jobRecommendTab .reset-btn:hover,
#policyTab .reset-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* 搜索按钮悬停效果统一 */
#internshipRecommendTab .search-btn:hover,
#jobRecommendTab .search-btn:hover,
#policyTab .search-btn:hover {
    background-color: var(--primary-hover);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.page-info {
    font-size: 14px;
    color: var(--text-secondary);
}

.page-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-ellipsis {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 新增场地弹窗样式 */
.required {
    color: var(--danger-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    padding: 8px 20px;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.btn-primary {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* 人员信息管理样式 */
.staff-stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.staff-stats-section .stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.staff-stats-section .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.staff-list-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.staff-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    background-color: white;
}

.staff-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.staff-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    color: white;
}

.staff-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.staff-basic-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.staff-id {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.staff-status-badge {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.staff-status-badge.active {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.staff-status-badge.training {
    background-color: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.staff-status-badge.assessment {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.staff-status-badge.leave {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* 人员状态开关 */
.staff-status-switch {
    margin-left: auto;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.staff-status-switch input {
    display: none;
}

.switch-slider {
    display: flex;
    align-items: center;
    background-color: #ef4444;
    border-radius: 20px;
    padding: 2px;
    position: relative;
    transition: background-color 0.3s;
    min-width: 72px;
    height: 28px;
}

.switch-label {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 14px;
    transition: all 0.3s;
    z-index: 1;
}

.switch-label.active {
    color: rgba(255, 255, 255, 0.4);
}

.switch-label.inactive {
    color: white;
}

.staff-status-switch input:checked + .switch-slider {
    background-color: #10b981;
}

.staff-status-switch input:checked + .switch-slider .switch-label.active {
    color: white;
}

.staff-status-switch input:checked + .switch-slider .switch-label.inactive {
    color: rgba(255, 255, 255, 0.4);
}

.staff-card-body {
    padding: 16px;
    flex: 1;
}

.staff-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.staff-info-item:last-of-type {
    border-bottom: none;
}

.staff-info-item .info-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.staff-info-item .info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.staff-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.staff-tags .tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.staff-tags .tag.skill {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.staff-tags .tag.training {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.staff-tags .tag.assessment {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.staff-tags .tag.management {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.staff-card-footer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.staff-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.staff-action-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.staff-action-btn.delete:hover {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.reset-btn {
    padding: 8px 20px;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* 人员信息页面搜索输入框内部按钮样式 */
#staff-info-section .search-input-group {
    flex: 1;
}

#staff-info-section .input-with-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

#staff-info-section .input-with-buttons .filter-input {
    flex: 1;
}

@media (max-width: 768px) {
    .top-bar {
        padding: 16px;
    }

    .search-box {
        width: 200px;
    }

    .content-wrapper {
        padding: 16px;
    }

    .welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .banner-stats {
        width: 100%;
        justify-content: space-between;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 95%;
        max-height: 85vh;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions {
        width: 100%;
    }

    .export-btn {
        flex: 1;
        justify-content: center;
    }

    .chart-placeholder {
        height: 200px;
    }

    .chart-bars {
        gap: 12px;
    }

    .chart-bar::before {
        width: 30px;
    }

    .user-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-actions {
        width: 100%;
    }

    .user-action-btn {
        flex: 1;
    }
}

/* 统计详情区块 */

/* Ant Design 风格样式 */
.ant-filter-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: white;
    border-radius: 2px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
}

.ant-filter-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ant-filter-item label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
    white-space: nowrap;
    text-align: left;
    min-width: fit-content;
}

.ant-input,
.ant-select {
    padding: 5px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    outline: none;
    transition: all 0.3s;
    width: 200px;
    height: 32px;
    line-height: 1.5;
}

.ant-input:hover,
.ant-select:hover {
    border-color: #4096ff;
}

.ant-input:focus,
.ant-select:focus {
    border-color: #4096ff;
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
}

/* textarea 使用 auto 高度，允许 rows 属性生效 */
.ant-input[type="textarea"],
.ant-input textarea,
textarea.ant-input {
    height: auto;
    min-height: 88px; /* 4行文本的高度 */
}

.ant-filter-actions {
    display: flex;
    gap: 8px;
}

.ant-btn {
    padding: 4px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    height: 32px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.ant-btn:hover {
    color: #4096ff;
    border-color: #4096ff;
}

.ant-btn-primary {
    background-color: #1677ff;
    border-color: #1677ff;
    color: white;
}

.ant-btn-primary:hover {
    background-color: #4096ff;
    border-color: #4096ff;
    color: white;
}

.ant-btn-default {
    background-color: white;
    color: rgba(0, 0, 0, 0.88);
}

.ant-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0;
}

.ant-section-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

/* Ant Design 表格样式 */
.ant-table-container {
    background-color: white;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.ant-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ant-table thead {
    background-color: #fafafa;
}

.ant-table thead th {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.ant-table thead th::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 1.6em;
    background-color: #f0f0f0;
    transform: translateY(-50%);
}

.ant-table thead th:last-child::before {
    display: none;
}

.ant-table tbody td {
    padding: 16px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.ant-table tbody tr:hover {
    background-color: #fafafa;
}

.ant-table tbody tr:hover td {
    background-color: #fafafa;
}

.ant-btn-link {
    border: none;
    background: none;
    color: #1677ff;
    padding: 0;
    box-shadow: none;
}

.ant-btn-link:hover {
    background: none;
    color: #4096ff;
}

.ant-btn-xs {
    height: 22px;
    padding: 0 7px;
    font-size: 14px;
    margin-right: 8px;
}

.ant-btn-xs:last-child {
    margin-right: 0;
}

/* 现代化分页样式 */
.modern-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding: 20px 0;
}

.pagination-info {
    font-size: 14px;
    color: #8c8c8c;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #595959;
}

.page-btn:hover:not(.disabled) {
    border-color: #1677ff;
    color: #1677ff;
}

.page-btn.active {
    background: #1677ff;
    border-color: #1677ff;
    color: #fff;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 隐藏旧的分页样式 */
.ant-pagination {
    display: none !important;
}

.ant-pagination-item {
    min-width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    list-style: none;
    background-color: white;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    padding: 0 6px;
}

.ant-pagination-item:hover {
    border-color: #4096ff;
    color: #4096ff;
}

.ant-pagination-item-active {
    background-color: #1677ff;
    border-color: #1677ff;
    color: white;
    font-weight: 500;
}

.ant-pagination-item.ant-pagination-item-active:hover {
    border-color: #1677ff;
    color: white;
}

.ant-pagination-prev,
.ant-pagination-next {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    list-style: none;
    padding: 0;
}

.ant-pagination-prev:hover,
.ant-pagination-next:hover {
    border-color: #4096ff;
}

.ant-pagination-prev:hover svg,
.ant-pagination-next:hover svg {
    stroke: #4096ff;
}

.ant-pagination-disabled {
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.04);
    border-color: #d9d9d9;
}

.ant-pagination-disabled:hover {
    border-color: #d9d9d9;
}

.ant-pagination-disabled svg {
    stroke: rgba(0, 0, 0, 0.25);
}

.ant-pagination-total-text {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
}

.ant-pagination-options {
    display: flex;
    align-items: center;
}

.ant-pagination-options-size-changer select {
    margin: 0 8px;
    padding: 4px 11px;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background-color: white;
    color: rgba(0, 0, 0, 0.88);
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.ant-pagination-options-size-changer select:hover {
    border-color: #4096ff;
}

.ant-pagination-options-size-changer select:focus {
    border-color: #4096ff;
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
}

/* Ant Design 模态框样式 */
.ant-modal {
    width: 520px;
    max-width: 90vw;
    margin: 0 auto;
    position: relative;
    top: 100px;
}

.ant-modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
}

.ant-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 8px 8px 0 0;
}

.ant-modal-title {
    margin: 0;
    color: rgba(0, 0, 0, 0.88);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.ant-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(0, 0, 0, 0.45);
    transition: all 0.3s;
    border-radius: 4px;
}

.ant-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.88);
}

.ant-modal-body {
    padding: 24px;
    font-size: 14px;
    line-height: 1.5715;
}

/* Ant Design 表单项样式 */
.ant-form-item {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.ant-form-item > label {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(0, 0, 0, 0.88);
    font-size: 14px;
    font-weight: 400;
}

.ant-form-item-required::before {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun, sans-serif;
    line-height: 1;
    content: '*';
}

.ant-form-item input.ant-input,
.ant-form-item select.ant-select {
    width: 100%;
}

.ant-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 8px 8px;
}

.ant-modal-footer .ant-btn {
    margin: 0;
}

/* 设施维护表格样式优化 */
.facility-table .ant-table {
    table-layout: fixed;
    width: 100%;
}

/* 品牌管理表格样式 */
.brand-table .ant-table {
    table-layout: fixed;
    width: 100%;
}

.brand-table .ant-table thead th:nth-child(1) { width: 18%; }
.brand-table .ant-table thead th:nth-child(2) { width: 10%; }
.brand-table .ant-table thead th:nth-child(3) { width: 10%; }
.brand-table .ant-table thead th:nth-child(4) { width: 12%; }
.brand-table .ant-table thead th:nth-child(5) { width: 30%; }
.brand-table .ant-table thead th:nth-child(6) { width: 20%; }

.brand-table .ant-table tbody td:nth-child(5) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facility-table .ant-table thead th,
.facility-table .ant-table tbody td {
    padding: 16px 12px;
    text-align: left;
}

/* 设置各列宽度 */
.facility-table .ant-table thead th:nth-child(1),
.facility-table .ant-table tbody td:nth-child(1) {
    width: 8%;
    text-align: center;
}

.facility-table .ant-table thead th:nth-child(2),
.facility-table .ant-table tbody td:nth-child(2) {
    width: 12%;
}

.facility-table .ant-table thead th:nth-child(3),
.facility-table .ant-table tbody td:nth-child(3) {
    width: 10%;
}

.facility-table .ant-table thead th:nth-child(4),
.facility-table .ant-table tbody td:nth-child(4) {
    width: 10%;
}

.facility-table .ant-table thead th:nth-child(5),
.facility-table .ant-table tbody td:nth-child(5) {
    width: 10%;
}

.facility-table .ant-table thead th:nth-child(6),
.facility-table .ant-table tbody td:nth-child(6) {
    width: 16%;
}

.facility-table .ant-table thead th:nth-child(7),
.facility-table .ant-table tbody td:nth-child(7) {
    width: 10%;
}

.facility-table .ant-table thead th:nth-child(8),
.facility-table .ant-table tbody td:nth-child(8) {
    width: 12%;
}

.facility-table .ant-table thead th:nth-child(9),
.facility-table .ant-table tbody td:nth-child(9) {
    width: 12%;
    text-align: left;
}

/* 操作按钮间距 */
.facility-table .ant-btn-link {
    margin-right: 8px;
}

.facility-table .ant-btn-link:last-child {
    margin-right: 0;
}

/* 操作单元格布局 */
.facility-table .action-cell {
    position: relative;
    white-space: nowrap;
}

.facility-table .visible-actions {
    display: inline-block;
}

.facility-table .dropdown {
    display: inline-block;
    position: relative;
    margin-left: 0;
    vertical-align: middle;
}

.facility-table .more-btn {
    position: relative;
    padding: 0 4px;
    margin-left: 0;
}

.facility-table .more-btn::after {
    content: '';
    display: inline-block;
    margin-left: 4px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
}

/* 下拉内容 */
.facility-table .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 60px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 4px 0;
    margin-top: 4px;
}

.facility-table .dropdown-content .ant-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 16px;
    margin: 0;
    border: none;
    background: transparent;
}

.facility-table .dropdown-content .ant-btn:hover {
    background: #f5f5f5;
}

/* 下拉菜单显示状态 */
.facility-table .dropdown.show .dropdown-content {
    display: block;
}

/* 新增场地弹窗 - 水平表单布局 */
.ant-form-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ant-form-item-horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.ant-form-item-horizontal > label {
    min-width: 100px;
    text-align: left;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.ant-form-item-horizontal .ant-input,
.ant-form-item-horizontal .ant-select {
    flex: 1;
    width: auto;
}

.ant-form-item-horizontal .ant-form-item-required::before {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun, sans-serif;
    line-height: 1;
    content: '*';
}

/* 场地卡片网格布局 */
.venue-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 场地卡片样式 */
.venue-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.venue-card:hover {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08), 0 2px 8px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: #d9d9d9;
}

/* 卡片头部 */
.venue-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-bottom: 1px solid #f0f0f0;
}

.venue-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.venue-title {
    flex: 1;
    min-width: 0;
}

.venue-title h4 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.88);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.venue-code {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.venue-region-tag {
    padding: 4px 12px;
    background-color: #e6f4ff;
    color: #1677ff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* 卡片主体 */
.venue-card-body {
    padding: 16px 20px;
    flex: 1;
}

.venue-info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.venue-info-row:last-child {
    margin-bottom: 0;
}

.venue-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
    padding: 12px;
    background-color: #fafafa;
    border-radius: 6px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.45);
}

.info-value {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
    font-weight: 400;
    line-height: 1.5;
}

.info-value.highlight {
    font-size: 16px;
    font-weight: 600;
    color: #1677ff;
}

/* 卡片底部 */
.venue-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.create-time {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.45);
}

.venue-actions {
    display: flex;
    gap: 8px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .venue-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .venue-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .venue-card-header {
        padding: 14px 16px;
    }
    
    .venue-card-body {
        padding: 14px 16px;
    }
    
    .venue-card-footer {
        padding: 10px 16px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ========== 抽屉组件样式 ========== */

/* 抽屉遮罩层 */
.ant-drawer-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ant-drawer-mask.active {
    opacity: 1;
    visibility: visible;
}

/* 抽屉主体 */
.ant-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    width: 480px;
    max-width: 90vw;
    pointer-events: none;
}

.ant-drawer-content-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.ant-drawer.active .ant-drawer-content-wrapper {
    transform: translateX(0);
}

/* 抽屉头部 */
.ant-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.ant-drawer-title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    line-height: 24px;
}

.ant-drawer-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    border-radius: 4px;
    transition: all 0.2s;
}

.ant-drawer-close:hover {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.75);
}

/* 抽屉内容区 */
.ant-drawer-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* 抽屉分区 */
.drawer-section {
    margin-bottom: 32px;
}

.drawer-section:last-child {
    margin-bottom: 0;
}

.drawer-section-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #1677ff;
    line-height: 1.4;
}

/* 描述列表样式 */
.ant-descriptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    padding: 0 4px;
}

.ant-descriptions-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ant-descriptions-item-label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
}

.ant-descriptions-item-content {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
}

/* 抽屉表单样式 */
.drawer-form {
    padding: 0 4px;
}

.drawer-form .ant-form-item-horizontal {
    margin-bottom: 20px;
}

.drawer-form .ant-form-item-horizontal label {
    width: 80px;
    flex-shrink: 0;
    text-align: left;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
}

.drawer-form .ant-form-item-horizontal label.ant-form-item-required::before {
    content: '*';
    color: #ff4d4f;
    margin-right: 4px;
}

.drawer-form .ant-input,
.drawer-form .ant-select {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    background: #fff;
    transition: all 0.2s;
}

.drawer-form .ant-input:focus,
.drawer-form .ant-select:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
    outline: none;
}

.drawer-form .ant-input::placeholder {
    color: rgba(0, 0, 0, 0.25);
}

/* 输入框带计数器 */
.form-input-wrapper {
    flex: 1;
    position: relative;
}

.form-input-wrapper .ant-input {
    width: 100%;
    padding-right: 50px;
}

.input-count {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
}

/* 表单操作按钮 */
.drawer-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    margin-left: 96px;
}

.drawer-form-actions .ant-btn {
    height: 36px;
    padding: 0 24px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.drawer-form-actions .ant-btn-primary {
    background: #1677ff;
    border: 1px solid #1677ff;
    color: #fff;
}

.drawer-form-actions .ant-btn-primary:hover {
    background: #4096ff;
    border-color: #4096ff;
}

.drawer-form-actions .ant-btn:not(.ant-btn-primary) {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: rgba(0, 0, 0, 0.65);
}

.drawer-form-actions .ant-btn:not(.ant-btn-primary):hover {
    color: #1677ff;
    border-color: #1677ff;
}

/* 时间线样式 */
.maintenance-timeline {
    padding: 0 4px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    position: relative;
    min-height: 60px;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 24px;
    bottom: -12px;
    width: 1px;
    background: #e8e8e8;
}

.timeline-dot {
    width: 11px;
    height: 11px;
    border: 2px solid #1677ff;
    border-radius: 50%;
    background: #fff;
    margin-right: 16px;
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 22px;
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    line-height: 20px;
}

.timeline-person {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    white-space: nowrap;
}

/* 查看更多 */
.timeline-more {
    align-items: center;
}

.timeline-more .timeline-dot {
    border-color: #d9d9d9;
    background: #f5f5f5;
}

.timeline-more-link {
    color: #1677ff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.timeline-more-link:hover {
    color: #4096ff;
}

/* 抽屉响应式 */
@media (max-width: 576px) {
    .ant-drawer {
        width: 100%;
        max-width: 100%;
    }
    
    .ant-drawer-body {
        padding: 16px;
    }
    
    .drawer-form .ant-form-item-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .drawer-form .ant-form-item-horizontal label {
        width: auto;
    }
    
    .drawer-form-actions {
        margin-left: 0;
        justify-content: center;
    }
}

/* ========== 创新运营认证页面样式 ========== */

/* 顶部渐变背景 */
.page-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

/* 页面头部 */
.cert-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0 24px;
    margin-bottom: 32px;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.header-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 4px;
}

.header-text p {
    font-size: 14px;
    color: #8c8c8c;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.modern-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modern-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.modern-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.modern-btn.secondary {
    background: #fff;
    color: #667eea;
    border: 1px solid #e8e8e8;
}

.modern-btn.secondary:hover {
    border-color: #667eea;
    background: #f5f5ff;
}

/* 创新统计面板 */
.dashboard-stats {
    margin-bottom: 40px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-item[data-status="certified"] { --accent: #52c41a; }
.stat-item[data-status="pending"] { --accent: #fa8c16; }
.stat-item[data-status="rejected"] { --accent: #ff4d4f; }
.stat-item[data-status="total"] { --accent: #667eea; }

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    color: #8c8c8c;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.stat-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
}

.stat-icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 48px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

/* 玻璃拟态效果 */
.glass-effect {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 文件上传容器 */
.file-upload-container {
    width: 100%;
}

/* 文件上传提示 */
.file-upload-tip {
    margin-top: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #8c8c8c;
    background: #f5f5f5;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    line-height: 1.5;
}

/* 垂直表单项 */
.ant-form-item-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ant-form-item-vertical label {
    width: 100%;
    font-size: 14px;
    color: #333;
}

.ant-form-item-vertical .file-upload-container {
    width: 100%;
}

/* 文件输入框样式 - 去掉边框 */
.ant-form-item-vertical input[type="file"] {
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

/* 详情抽屉样式 */
.drawer-wide {
    width: 85% !important;
    max-width: 1200px !important;
}

.detail-header {
    margin-bottom: 24px;
    padding: 16px;
    background: #f5f7fa;
    border-radius: 8px;
}

.detail-header-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-header-item label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.detail-header-item .ant-select {
    min-width: 150px;
}

.score-table-container {
    overflow-x: auto;
}

/* ==================== 考核评估页面样式 ==================== */

.page-subtitle {
    margin-top: 8px;
    color: #666;
    font-size: 14px;
}

/* 统计卡片 */
.assessment-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.assessment-stat-card {
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.assessment-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.assessment-stat-card.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.assessment-stat-card.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.assessment-stat-card.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.assessment-stat-card .stat-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.assessment-stat-card .stat-content {
    flex: 1;
}

.assessment-stat-card .stat-content h3 {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: normal;
}

.assessment-stat-card .stat-content .stat-value {
    font-size: 32px;
    font-weight: 700;
}

/* 筛选区域 */
.assessment-filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-left {
    display: flex;
    gap: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.filter-item .filter-select {
    min-width: 150px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 8px 16px;
    width: 300px;
}

.search-box .filter-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.search-box svg {
    color: #999;
}

/* 人员列表 */
.assessment-list-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.assessment-list-section .list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.assessment-list-section .list-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.assessment-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.assessment-staff-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.assessment-staff-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.assessment-staff-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.assessment-staff-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.assessment-staff-info {
    flex: 1;
}

.assessment-staff-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.assessment-staff-id {
    font-size: 13px;
    color: #999;
}

.assessment-staff-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.assessment-staff-badge.active {
    background: #e6f7ff;
    color: #1677ff;
}

.assessment-staff-badge.inactive {
    background: #fff1f0;
    color: #ff4d4f;
}

.assessment-staff-body {
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.assessment-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.assessment-info-item:last-child {
    margin-bottom: 0;
}

.assessment-info-label {
    color: #666;
}

.assessment-info-value {
    color: #333;
    font-weight: 500;
}

.assessment-staff-footer {
    display: flex;
    gap: 12px;
}

.assessment-staff-footer .btn {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
}

/* 打分抽屉样式 */
.scoring-staff-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 24px;
    color: #fff;
}

.scoring-staff-info .staff-avatar {
    width: 64px;
    height: 64px;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.2);
}

.scoring-staff-info .staff-info {
    flex: 1;
}

.scoring-staff-info .staff-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.scoring-staff-info .staff-details {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.9;
}

/* 表单样式 */
.form-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-item.vertical {
    flex-direction: column;
}

.form-item label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.form-item label.required::after {
    content: '*';
    color: #ff4d4f;
    margin-left: 4px;
}

.form-select,
.form-textarea,
.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-select:focus,
.form-textarea:focus,
.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    font-family: inherit;
}

/* 评分滑块 */
.score-section {
    margin-bottom: 24px;
}

.score-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.score-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff4d4f 0%, #ffec3d 50%, #52c41a 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.score-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 3px solid #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
}

.score-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.score-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 16px 0;
    gap: 4px;
}

.score-display .score-value {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-display .score-unit {
    font-size: 18px;
    color: #999;
}

.score-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* 抽屉样式 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: none;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 600px;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.drawer-overlay[style*="flex"] .drawer {
    transform: translateX(0);
}

.drawer-right {
    right: 0;
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header .drawer-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background: #f5f5f5;
    color: #333;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.drawer-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 按钮样式 */
.btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #667eea;
    color: #667eea;
}

/* 详情抽屉样式 */
.detail-top-section {
    margin-bottom: 24px;
}

.year-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.year-selector label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.year-selector .form-select {
    width: 120px;
}

.score-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.summary-card {
    background: #f5f7fa;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.summary-card-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.summary-card-value {
    font-size: 24px;
    font-weight: 600;
    color: #667eea;
}

/* 数据表格 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.data-table th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #333;
}

.data-table tbody tr:hover {
    background: #f5f7fa;
}

/* 状态标签 */
.score-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.score-status-badge.completed {
    background: #f6ffed;
    color: #52c41a;
}

.score-status-badge.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.score-status-badge.locked {
    background: #f5f5f5;
    color: #999;
}

/* 表格操作按钮 */
.table-action-btn {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 4px;
    border: none;
    background: none;
}

.table-action-btn.score {
    color: #667eea;
    font-weight: 500;
}

.table-action-btn.score:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.table-action-btn.disabled {
    color: #999;
    cursor: not-allowed;
}

.table-action-btn.disabled:hover {
    background: none;
    color: #999;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.score-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

/* 场地详情模态框样式 */
.venue-detail-modal {
    width: 600px;
    max-width: 90%;
}

.venue-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.venue-detail-title h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.venue-detail-code {
    font-size: 14px;
    color: #999;
}

.venue-detail-region {
    padding: 4px 12px;
    background-color: #e6f7ff;
    color: #1890ff;
    border-radius: 4px;
    font-size: 14px;
}

.venue-detail-info {
    margin-top: 20px;
}

.info-section {
    margin-bottom: 25px;
}

.info-section h5 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.venue-description {
    padding: 15px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.score-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.score-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.score-table tbody tr:hover {
    background: #f5f7fa;
}

.score-table .score-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.score-badge.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.score-badge.completed {
    background: #e6f7ff;
    color: #1677ff;
}

.score-badge.locked {
    background: #f5f5f5;
    color: #999;
}

.score-table .action-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.score-table .action-btn.edit {
    background: #e6f7ff;
    color: #1677ff;
    border: 1px solid #91caff;
}

.score-table .action-btn.edit:hover {
    background: #1677ff;
    color: #fff;
}

.score-table .action-btn.score {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}

.score-table .action-btn.score:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.score-table .action-btn.disabled {
    background: #f5f5f5;
    color: #999;
    border: 1px solid #d9d9d9;
    cursor: not-allowed;
}

.score-table .action-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 创新筛选区域 */
.filter-wrapper {
    margin-bottom: 32px;
}

.filter-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    flex: 1;
    min-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.search-icon {
    color: #667eea;
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #262626;
    flex: 1;
}

.search-input::placeholder {
    color: #bfbfbf;
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 14px;
    color: #595959;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.chip.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

/* 区域选择框样式 */
.region-select-wrapper {
    display: flex;
    align-items: center;
}

.region-select {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 14px;
    color: #595959;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    outline: none;
    min-width: 140px;
}

.region-select:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.region-select:focus {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.region-select option {
    padding: 10px 16px;
    background: #fff;
}

/* 瀑布流布局 - 改为统一网格 */
.masonry-layout {
    margin-bottom: 32px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

@media (max-width: 1200px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}

/* 瀑布流卡片样式 */
.masonry-grid .cert-card {
    break-inside: avoid;
    margin-bottom: 0;
    min-height: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.masonry-grid .cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 1;
    transition: all 0.3s ease;
}

.masonry-grid .cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.masonry-grid .cert-card-certified::before { background: linear-gradient(90deg, #52c41a, #73d13d); }
.masonry-grid .cert-card-pending::before { background: linear-gradient(90deg, #fa8c16, #ffc069); }
.masonry-grid .cert-card-rejected::before { background: linear-gradient(90deg, #ff4d4f, #ff7875); }
.masonry-grid .cert-card-add::before { background: linear-gradient(90deg, #667eea, #764ba2); }

/* 加载更多按钮 */
.load-more-section {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.load-more-btn svg {
    transition: transform 0.3s ease;
}

.load-more-btn:hover svg {
    transform: translateY(2px);
}



.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.cert-card:hover::before {
    opacity: 1;
}

/* 不同状态的卡片顶部装饰 */
.cert-card-certified::before { background: linear-gradient(90deg, #52c41a, #73d13d); }
.cert-card-pending::before { background: linear-gradient(90deg, #fa8c16, #ffc069); }
.cert-card-rejected::before { background: linear-gradient(90deg, #ff4d4f, #ff7875); }
.cert-card-add::before { background: linear-gradient(90deg, #1677ff, #69c0ff); }

/* 已拒绝卡片特殊样式 */
.cert-card-rejected {
    border-color: #ffa39e;
    background: linear-gradient(135deg, #fff1f0 0%, #fff7f6 100%);
}

.cert-card-rejected::before {
    background: linear-gradient(90deg, #ff4d4f 0%, #ff7875 100%);
}

.cert-card-rejected:hover {
    box-shadow: 0 12px 32px rgba(255, 77, 79, 0.15);
    border-color: #ff7875;
}

.cert-card-rejected .cert-icon {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.2);
}

.cert-card-rejected .cert-card-header {
    background: linear-gradient(135deg, #fff1f0 0%, #fff2f0 100%);
    border-bottom-color: #ffccc7;
}

.cert-card-rejected .cert-card-footer {
    background: linear-gradient(135deg, #fff1f0 0%, #fff2f0 100%);
    border-top-color: #ffccc7;
}

/* 现代化新增认证卡片 */
.cert-card-add {
    background: linear-gradient(135deg, #fafbfc 0%, #f0f7ff 100%);
    border: 2px dashed #91d5ff;
    cursor: pointer;
}

.cert-card-add:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 100%);
    border-color: #1677ff;
    border-style: solid;
}

.cert-card-add .cert-icon {
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
}

.cert-card-add .cert-card-header {
    background: rgba(22, 119, 255, 0.02);
    border-bottom-color: #e6f0ff;
}

.cert-card-add .cert-card-footer {
    background: rgba(22, 119, 255, 0.02);
    border-top-color: #e6f0ff;
}

.cert-card-add .cert-status-badge {
    background: #f0f7ff !important;
    color: #1677ff !important;
    border: 1px solid #91d5ff !important;
}

/* 瀑布流卡片头部 */
.masonry-grid .cert-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.masonry-grid .cert-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.masonry-grid .cert-card-certified .cert-icon {
    background: linear-gradient(135deg, #52c41a, #73d13d);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.masonry-grid .cert-card-pending .cert-icon {
    background: linear-gradient(135deg, #fa8c16, #ffc069);
    box-shadow: 0 4px 12px rgba(250, 140, 22, 0.3);
}

.masonry-grid .cert-card-rejected .cert-icon {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

.masonry-grid .cert-card-add .cert-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.masonry-grid .cert-card-add {
    border: 2px dashed rgba(102, 126, 234, 0.3);
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.masonry-grid .cert-card-add:hover {
    border-style: solid;
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.1) 100%);
}

.masonry-grid .cert-card-add:hover .cert-add-icon-large {
    transform: scale(1.1) rotate(90deg);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

/* 新增卡片大图标 */
.cert-add-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cert-add-icon-large svg {
    transition: all 0.4s ease;
}

.cert-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-icon::before {
    transform: scale(1);
}

/* 状态徽章 */
.cert-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cert-status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cert-card:hover .cert-status-badge::before {
    left: 100%;
}

.badge-certified {
    background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
    color: #389e0d;
    border: 1px solid #95de64;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.15);
}

.badge-pending {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
    color: #d46b08;
    border: 1px solid #ffc069;
    box-shadow: 0 2px 8px rgba(250, 140, 22, 0.15);
}

.badge-rejected {
    background: linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%);
    color: #cf1322;
    border: 1px solid #ffa39e;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.15);
}

/* 瀑布流卡片主体 */
.masonry-grid .cert-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.masonry-grid .cert-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin: 0 0 12px;
    line-height: 1.5;
}

.masonry-grid .cert-card-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.masonry-grid .cert-card-title {
    margin: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.masonry-grid .cert-tags {
    display: flex;
    gap: 6px;
    align-items: center;
}

.masonry-grid .cert-card-type,
.masonry-grid .cert-card-region {
    font-size: 12px;
    color: #8c8c8c;
    background: rgba(0, 0, 0, 0.03);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.masonry-grid .cert-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.masonry-grid .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.masonry-grid .info-item:last-child {
    border-bottom: none;
}

.masonry-grid .info-label {
    color: #8c8c8c;
    font-weight: 500;
}

.masonry-grid .info-value {
    color: #262626;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.02);
    padding: 4px 10px;
    border-radius: 6px;
}

.masonry-grid .cert-card-rejected .info-value[style*="color: #ff4d4f"] {
    background: rgba(255, 77, 79, 0.08);
    color: #ff4d4f;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

/* 瀑布流卡片底部 */
.masonry-grid .cert-card-footer {
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
}

.masonry-grid .cert-card-add .cert-card-footer {
    background: rgba(102, 126, 234, 0.05);
    border-top-color: rgba(102, 126, 234, 0.1);
}

.masonry-grid .cert-card-footer .ant-btn-link {
    padding: 8px 20px;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.masonry-grid .cert-card-footer .ant-btn-link:hover {
    border-color: #667eea;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-1px);
}

/* 状态徽章 */
.cert-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.masonry-grid .badge-certified {
    background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
    color: #389e0d;
    border: 1px solid #95de64;
}

.masonry-grid .badge-pending {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
    color: #d46b08;
    border: 1px solid #ffc069;
}

.masonry-grid .badge-rejected {
    background: linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%);
    color: #cf1322;
    border: 1px solid #ffa39e;
}

.masonry-grid .cert-card-add .cert-status-badge {
    background: linear-gradient(135deg, #f0f7ff 0%, #d6e4ff 100%);
    color: #096dd9;
    border: 1px solid #91d5ff;
}

.info-label {
    color: #595959;
    font-weight: 500;
    position: relative;
}

.info-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #1677ff 0%, transparent 100%);
    opacity: 0.3;
}

.info-value {
    color: #262626;
    font-weight: 600;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #e6f0ff;
}

/* 现代化卡片底部 */
.cert-card-footer {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.cert-card-add .cert-card-footer {
    background: rgba(22, 119, 255, 0.02);
}

.cert-card-footer .ant-btn-link {
    padding: 8px 20px;
    color: #1677ff;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-card-footer .ant-btn-link:hover {
    border-color: #1677ff;
    color: #1677ff;
    background: #f0f7ff;
}

/* 不同状态的按钮样式 */
.cert-card-certified .cert-card-footer .ant-btn-link:hover {
    background: #f6ffed;
    border-color: #52c41a;
    color: #52c41a;
}

.cert-card-pending .cert-card-footer .ant-btn-link:hover {
    background: #fff7e6;
    border-color: #fa8c16;
    color: #fa8c16;
}

.cert-card-rejected .cert-card-footer .ant-btn-link:hover {
    background: #fff1f0;
    border-color: #ff4d4f;
    color: #ff4d4f;
}

.cert-card-add .cert-card-footer .ant-btn-link:hover {
    background: #1677ff;
    border-color: #1677ff;
    color: #fff;
}

.cert-card-footer .ant-btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 119, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cert-card-footer .ant-btn-link:hover::before {
    left: 100%;
}

.cert-card-footer .ant-btn-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    border-color: #1677ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
}

/* 响应式 */
@media (max-width: 1200px) {
    .cert-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .cert-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card-header,
    .cert-card-body,
    .cert-card-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==================== 运营认证详情抽屉样式 ==================== */
.cert-detail-status-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.cert-detail-status-section .status-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon-wrapper.certified {
    background: #f6ffed;
    color: #52c41a;
}

.status-icon-wrapper.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.status-icon-wrapper.rejected {
    background: #fff1f0;
    color: #ff4d4f;
}

.status-info .status-text {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.status-info .status-time {
    font-size: 13px;
    color: #64748b;
}

.status-reason {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
}

.status-reason .reason-label {
    color: #64748b;
    font-weight: 500;
}

.status-reason .reason-content {
    color: #ef4444;
}

.detail-section {
    margin-bottom: 32px;
}

.detail-section .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section .title-icon {
    color: #6366f1;
}

.detail-grid-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.info-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.info-item-row .label {
    color: #64748b;
}

.info-item-row .value {
    color: #1e293b;
    font-weight: 500;
}

.venue-info-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.venue-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.venue-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.venue-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.venue-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.9;
}

.facilities-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.facility-tag-small {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.facility-tag-small .f-name {
    color: #1e293b;
    font-weight: 500;
}

.facility-tag-small .f-count {
    color: #6366f1;
    font-weight: 600;
}

.staff-list-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.staff-card-compact {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.staff-card-compact .s-avatar {
    width: 40px;
    height: 40px;
    background: #e0e7ff;
    color: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.staff-card-compact .s-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.staff-card-compact .s-role {
    font-size: 12px;
    color: #64748b;
    font-weight: normal;
    margin-left: 4px;
}

.staff-card-compact .s-phone {
    font-size: 12px;
    color: #94a3b8;
}

/* 文件网格样式 */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.file-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #1677ff;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.1);
    transform: translateY(-2px);
}

.file-icon {
    width: 40px;
    height: 40px;
    background: #e0e7ff;
    color: #6366f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 12px;
    color: #94a3b8;
}

.file-download-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.file-download-btn:hover {
    background: #1677ff;
    border-color: #1677ff;
    color: #fff;
}

/* 图片网格样式 */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.image-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay svg {
    color: #fff;
}

/* 终端管理样式 */
.tab-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 20px;
    overflow: hidden;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8fafc;
}

.tab-btn {
    padding: 16px 24px;
    border: none;
    background: none;
    font-size: 15px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #3b82f6;
    background: #f1f5f9;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    font-weight: 600;
    background: #fff;
}

.tab-content {
    padding: 24px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 运行监控卡片 */
.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.monitor-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.monitor-id {
    font-weight: 600;
    color: #1e293b;
}

.monitor-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

.monitor-status.online {
    background: #dcfce7;
    color: #166534;
}

.monitor-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.progress-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    transition: width 0.5s ease-out;
}

.progress-fill.normal { background: #10b981; }
.progress-fill.warning { background: #f59e0b; }
.progress-fill.danger { background: #ef4444; }

/* 业务监控样式 */
.business-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.business-list-container h3 {
    margin-bottom: 16px;
    font-size: 16px;
    color: #1e293b;
}

.auth-header {
    margin-bottom: 24px;
}

.auth-header h3 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 4px;
}

.auth-header p {
    color: #64748b;
    font-size: 14px;
}

/* 子账号管理样式 */
.sub-account-container {
    margin-top: 20px;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.staff-detail-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.staff-detail-preview h4 {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.preview-item {
    font-size: 13px;
    display: flex;
    align-items: center;
}

.preview-item .label {
    color: #64748b;
    width: 70px;
    flex-shrink: 0;
}

.preview-item .value {
    color: #1e293b;
    font-weight: 500;
}

.form-tip {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
}

.detail-info-block {
    margin-bottom: 24px;
}

.detail-info-block h4 {
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
}

.detail-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.detail-info-item .label {
    color: #64748b;
}


/* 数据统计看板重构样式 */
#statistics-section .header-title-group h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

#statistics-section .header-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

#statistics-section .time-range-picker {
    display: flex;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

#statistics-section .range-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

#statistics-section .range-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#statistics-section .export-btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

/* 核心指标卡片 */
.stats-overview-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.overview-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-color);
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.overview-card .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overview-card .label {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.overview-card .value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.overview-card .trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.overview-card .trend.positive { color: var(--success-color); }
.overview-card .trend.negative { color: var(--danger-color); }

.overview-card.primary { border-top: 4px solid var(--primary-color); }
.overview-card.success { border-top: 4px solid var(--success-color); }
.overview-card.warning { border-top: 4px solid var(--warning-color); }
.overview-card.info { border-top: 4px solid #3b82f6; }

/* Mini Chart Simulation */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
}

.mini-chart .bar {
    width: 6px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    opacity: 0.6;
}

/* Circle Progress Simulation */
.circular-chart {
    width: 50px;
    height: 50px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: var(--success-color);
    stroke-width: 3.8;
    stroke-linecap: round;
}

/* Pulse Icon for Warning */
.pulse-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    position: relative;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--warning-color);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--success-color);
}

.status-indicator .dot.online {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
}

/* Main Grid Layout */
.stats-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.stats-box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.box-header h3 {
    font-size: 16px;
    font-weight: 600;
}

/* Donut Chart Simulation */
.donut-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 10px;
}

.donut-chart {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.donut-inner {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-inner .total-label { font-size: 12px; color: var(--text-secondary); }
.donut-inner .total-value { font-size: 20px; font-weight: 700; }

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.legend-item .dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-item .percent { margin-left: auto; font-weight: 600; color: var(--text-secondary); }

/* Heatmap List */
.heatmap-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heatmap-item .item-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.progress-bar-bg {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    border-radius: 4px;
}

/* Task Monitor Table */
.monitor-table {
    width: 100%;
    border-collapse: collapse;
}

.monitor-table th {
    text-align: left;
    padding: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.monitor-table td {
    padding: 16px 12px;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.table-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-progress .bar {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.table-progress .bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--width, 0%);
    background: var(--primary-color);
}

/* Use inline style width for now as specified in HTML */
.monitor-table .bar div {
    height: 100%;
    background: var(--primary-color);
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.badge.success { background: #dcfce7; color: #16a34a; }
.badge.warning { background: #fef3c7; color: #d97706; }
.badge.info { background: #dbeafe; color: #2563eb; }     

/* 统一样式：所有表格的操作列（最后一列）强制居中对齐 */
.services-table table th:last-child,
.services-table table td:last-child,
.records-table table th:last-child,
.records-table table td:last-child,
.facility-table .ant-table th:last-child,
.facility-table .ant-table td:last-child,
.brand-table .ant-table th:last-child,
.brand-table .ant-table td:last-child,
.data-table th:last-child,
.data-table td:last-child,
.score-table th:last-child,
.score-table td:last-child,
.ant-table th:last-child,
.ant-table td:last-child,
.camera-records-table-section table th:last-child,
.camera-records-table-section table td:last-child {
    text-align: center !important;
}

/* 确保操作列中的最后一个按钮没有右边距，保证绝对居中 */
td:last-child .table-action-btn:last-child,
td:last-child .ant-btn:last-child,
td:last-child .action-btn:last-child,
td:last-child button:last-child {
    margin-right: 0 !important;
}

/* 成功提示样式 */
.toast-success {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 10001;
    min-width: 320px;
    animation: toastSlideIn 0.3s ease;
    border-left: 4px solid #52c41a;
}

.toast-success-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f6ffed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52c41a;
}

.toast-success-content {
    flex: 1;
}

.toast-success-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 4px;
}

.toast-success-message {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
}

.toast-success-exit {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 公共字段区域样式 */
.common-fields-section {
    padding: 0;
    margin-bottom: 20px;
}

.section-title,
.service-content-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before,
.service-content-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: #1677ff;
    border-radius: 2px;
}

.service-content-title {
    margin-top: 20px;
    margin-bottom: 16px;
}

.common-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.common-fields-grid .form-group {
    margin-bottom: 0;
}

.common-fields-grid .form-group label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 6px;
    display: block;
}

.common-fields-grid .form-input,
.common-fields-grid .form-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    transition: all 0.3s;
    background: #fff;
}

.common-fields-grid .form-input:focus,
.common-fields-grid .form-select:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
    outline: none;
}

.common-fields-grid .form-input::placeholder {
    color: rgba(0, 0, 0, 0.25);
}

.common-fields-grid .form-select:disabled {
    background: #f5f5f5;
    color: rgba(0, 0, 0, 0.45);
    cursor: not-allowed;
}

/* 服务Tab样式 */
.service-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
}

.service-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.65);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.65);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-tab:hover {
    color: #1677ff;
}

.service-tab.active {
    color: #1677ff;
    border-bottom-color: #1677ff;
}

.service-tab svg {
    width: 16px;
    height: 16px;
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 岗位搜索和列表 */
.job-search-wrapper {
    display: flex;
    gap: 8px;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background: #4096ff;
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

.job-list {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
}

.job-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-item:last-child {
    border-bottom: none;
}

.job-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex: none;
}

.job-label {
    flex: 1;
    cursor: pointer;
}

.job-label .job-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 6px;
}

.job-label .job-company {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 8px;
}

.job-label .job-info {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

.job-salary {
    color: #f5222d;
    font-weight: 500;
}

.job-location {
    color: rgba(0, 0, 0, 0.45);
}

/* 图片上传区域 */
.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #1677ff;
    background: #f0f7ff;
}

.upload-placeholder {
    cursor: pointer;
}

.upload-placeholder svg {
    margin-bottom: 12px;
}

.upload-text {
    color: rgba(0, 0, 0, 0.65);
}

.upload-hint {
    font-size: 14px;
    margin-bottom: 4px;
    color: rgba(0, 0, 0, 0.85);
}

.upload-limit {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.image-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s;
}

.image-remove-btn:hover {
    background: #ff4d4f;
    transform: scale(1.1);
}

.remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: all 0.3s;
    z-index: 10;
}

.remove-image:hover {
    background: #ff4d4f;
    transform: scale(1.1);
}

.job-item:hover {
    background: #fafafa;
}

.job-item input[type="checkbox"]:checked + .job-label {
    background: #f0f7ff;
    border-radius: 4px;
    padding: -8px;
}

/* 见习岗位详情按钮 */
.view-detail-btn {
    padding: 4px 12px;
    font-size: 13px;
    color: #1890ff;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex: none;
    margin-left: auto;
    align-self: center;
}

.view-detail-btn:hover {
    color: #fff;
    background: #1890ff;
    border-color: #1890ff;
}

/* 筛选条件行 */
.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-row .search-btn {
    width: 80px !important;
    flex: none !important;
    min-width: 80px !important;
    max-width: 80px !important;
}

/* 所有tab页按钮样式统一 */
#internshipRecommendTab .reset-btn,
#internshipRecommendTab .search-btn,
#jobRecommendTab .reset-btn,
#jobRecommendTab .search-btn,
#policyTab .reset-btn,
#policyTab .search-btn {
    position: static !important;
    float: none !important;
    width: auto !important;
    min-width: 80px !important;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

/* 见习岗位标签 */
.job-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #595959;
    margin-right: 8px;
}

/* Tab内容区域的独立按钮 */
.tab-content .drawer-actions {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

/* 公共就业活动服务样式 */

/* Tab按钮样式 */
.activity-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: #1890ff;
}

.tab-btn.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
    font-weight: 500;
}

.tab-btn svg {
    flex-shrink: 0;
}

/* Tab内容区域 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content[style*="display: block"] {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 推荐活动列表样式 */
.recommended-activities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommend-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    display: flex;
    gap: 20px;
}

.recommend-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1890ff;
}

.recommend-card-left {
    flex: 1;
}

.recommend-card-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.recommend-card-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommend-card-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}

.recommend-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    margin-bottom: 12px;
}

.recommend-card-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.recommend-card-info-item svg {
    color: rgba(0, 0, 0, 0.45);
}

.recommend-card-desc {
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommend-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recommend-card-actions .ant-btn {
    width: 100%;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(0, 0, 0, 0.45);
}

.empty-state svg {
    font-size: 64px;
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.25);
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* 功能按钮样式 */
.activity-functions {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.function-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.function-btn:hover {
    color: #1890ff;
    border-color: #1890ff;
}

.function-btn.active {
    color: #1890ff;
    background: #e6f7ff;
    border-color: #1890ff;
}
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.card-btn:hover {
    border-color: #1677ff;
    color: #1677ff;
}

.card-btn.primary {
    background: #1677ff;
    color: white;
    border-color: #1677ff;
}

.card-btn.primary:hover {
    background: #4096ff;
    border-color: #4096ff;
}

.card-btn.secondary {
    background: #f5f5f5;
    color: rgba(0, 0, 0, 0.65);
    border-color: #d9d9d9;
}

.card-btn.secondary:hover {
    background: #e5e5e5;
    color: rgba(0, 0, 0, 0.85);
}

.card-body {
    padding: 24px;
}

/* 表单样式 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* 搜索区域 */
.search-section {
    margin-bottom: 20px;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
}

/* 活动列表样式 */
.activities-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background: white;
}

.activity-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: #f5f5f5;
}

.activity-item.selected {
    background: #e6f4ff;
    border-left: 3px solid #1677ff;
}

.activity-basic-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.activity-name {
    font-weight: 600;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.85);
}

.activity-type {
    background: #1677ff;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.activity-details {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
}

.activity-time {
    margin-right: 16px;
}

/* 修改表单容器 */
.modify-form-container {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #1677ff;
    border-radius: 8px;
    background: #f0f7ff;
}

/* 活动表格样式 */
.activities-table-container {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.ant-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.ant-table th {
    background: #fafafa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid #f0f0f0;
}

.ant-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: rgba(0, 0, 0, 0.65);
}

.ant-table tr:hover {
    background: #f5f5f5;
}

.activity-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-upcoming {
    background: #fff7e6;
    color: #fa8c16;
}

.status-ongoing {
    background: #f6ffed;
    color: #52c41a;
}

.status-completed {
    background: #f0f0f0;
    color: rgba(0, 0, 0, 0.45);
}

/* 推荐活动卡片中的状态标签 */
.recommend-card-right .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.table-action-btn {
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.table-action-btn:hover {
    border-color: #1677ff;
    color: #1677ff;
}

.table-action-btn.delete:hover {
    border-color: #ff4d4f;
    color: #ff4d4f;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .card-actions {
        align-self: flex-end;
    }
}






/* ȫ�¹�����ҵ�������ʽ */
.fresh-activity-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-dashboard {
    display: flex;
    gap: 20px;
    height: 100%;
}

.activity-publish-panel {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.activity-list-panel {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.panel-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-counter {
    background: #e6f7ff;
    color: #1890ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.publish-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-section {
    margin-bottom: 24px;
}

.form-section h5 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: span 2;
}

.form-field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #ff4d4f;
}

.input-field {
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.textarea-field {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #1890ff;
    color: white;
}

.btn-primary:hover {
    background: #40a9ff;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
    background: #e6e6e6;
}

.btn-outline {
    background: transparent;
    color: #1890ff;
    border: 1px solid #1890ff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-outline:hover {
    background: #e6f7ff;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 36px 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.activities-display {
    flex: 1;
    overflow-y: auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.activity-card-fresh {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.activity-card-fresh:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card-header-fresh {
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-title-fresh {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
}

.card-type-fresh {
    font-size: 12px;
    opacity: 0.9;
}

.card-body-fresh {
    padding: 16px;
}

.card-info-fresh {
    margin-bottom: 12px;
}

.card-info-fresh p {
    margin: 8px 0;
    font-size: 13px;
    color: #666;
}

.card-info-fresh p strong {
    color: #333;
}

.card-footer-fresh {
    padding: 12px 16px;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-upcoming-fresh {
    background: #e6f7ff;
    color: #1890ff;
}

.status-ongoing-fresh {
    background: #f6ffed;
    color: #52c41a;
}

.status-completed-fresh {
    background: #f5f5f5;
    color: #8c8c8c;
}

.card-actions-fresh {
    display: flex;
    gap: 8px;
}

.action-btn-fresh {
    padding: 4px 10px;
    border: 1px solid #d9d9d9;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.action-btn-fresh:hover {
    background: #f0f0f0;
}

.action-btn-fresh.delete {
    color: #ff4d4f;
    border-color: #ffccc7;
    background: #fff2f0;
}

.action-btn-fresh.delete:hover {
    background: #ffccc7;
    color: white;
}

.empty-state-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    margin-bottom: 20px;
    color: #d9d9d9;
}

.empty-state-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 500;
    color: #666;
}

.empty-state-card p {
    margin: 0;
    font-size: 14px;
    color: #999;
}

/* 1311就业援助服务样式 */

/* 统一1311服务按钮样式 */
#aid1311Tab .reset-btn,
#aid1311Tab .search-btn {
    position: static !important;
    float: none !important;
    width: auto !important;
    min-width: 80px !important;
    padding: 8px 20px;
}

#aid1311Tab .reset-btn {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

#aid1311Tab .reset-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

#aid1311Tab .search-btn {
    background: #1677ff;
    color: white;
    border: none;
}

#aid1311Tab .search-btn:hover {
    background: #4096ff;
}

/* 服务标题和进度 */
.service-header-with-progress {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    border-left: 4px solid #1890ff;
}

.progress-label {
    background: #1890ff;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 12px;
    vertical-align: middle;
}

/* 扁平化服务容器 */
.flat-service-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.flat-service-item {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.flat-service-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #d9d9d9;
}

/* 服务头部 */
.service-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.policy-icon {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    color: white;
}

.job-icon {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
}

.guidance-icon {
    background: linear-gradient(135deg, #fa8c16 0%, #ffa940 100%);
    color: white;
}

.training-icon {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    color: white;
}

.service-title {
    flex: 1;
}

.service-title h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.service-title p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.service-status-indicator {
    margin-left: 16px;
}

/* 服务内容区域 */
.service-content {
    padding: 24px;
}

/* 表单行布局 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* 政策和岗位选择器 */
.policy-selector, .job-selector, .training-selector {
    margin-bottom: 20px;
}

/* 统一政策列表和岗位列表高度 */
.policy-list, .job-list, .training-list {
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.training-list {
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px dashed #d9d9d9;
}

.training-list:empty::before {
    content: '暂无符合条件的课程';
    color: #999;
    font-style: italic;
    display: block;
    text-align: center;
    padding: 40px 0;
}

.policy-filter, .job-filter, .training-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.policy-filter .form-select, .job-filter .form-select, .training-filter .form-select {
    flex: 0 0 160px;
}

.policy-filter .form-input, .job-filter .form-input, .training-filter .form-input {
    flex: 1;
    min-width: 200px;
}

.policy-filter .search-btn, .job-filter .search-btn, .training-filter .search-btn,
.policy-filter .reset-btn, .job-filter .reset-btn, .training-filter .reset-btn {
    flex: 0 0 auto;
}

/* 服务操作按钮 */
.service-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* 拉长的完成按钮 */
.drawer-btn.full-width {
    flex: 1;
    max-width: none;
    width: 100%;
}

/* 复用现有样式 */
.policy-list, .job-list {
    min-height: 40px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px dashed #d9d9d9;
}

.policy-list:empty::before, .job-list:empty::before {
    content: '暂无选择';
    color: #999;
    font-style: italic;
}

/* 政策选项样式 */
.policy-options, .job-options {
    margin-bottom: 16px;
}

.policy-option, .job-option {
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.policy-option:hover, .job-option:hover {
    border-color: #1890ff;
    background: #f0faff;
}

.policy-option.selected, .job-option.selected {
    border-color: #1890ff;
    background: #e6f7ff;
}

.policy-name, .job-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.policy-desc, .job-company {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.job-salary {
    color: #fa8c16;
    font-weight: 600;
}

.job-location {
    font-size: 12px;
    color: #999;
}

/* 已选择项显示 */
.selected-policies-display, .selected-jobs-display {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.no-selection {
    color: #999;
    font-style: italic;
}

.selected-policy, .selected-job {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 16px;
    font-size: 12px;
    margin: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.selected-policy:hover, .selected-job:hover {
    background: #bae7ff;
}

/* 服务记录 */
.service-records {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

.service-records h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.records-list {
    max-height: 300px;
    overflow-y: auto;
}

.record-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
}

.record-item {
    padding: 12px 16px;
    border-left: 3px solid #1890ff;
    background: #f8f9fa;
    margin-bottom: 12px;
    border-radius: 0 4px 4px 0;
}

.record-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.record-service {
    font-weight: 600;
    color: #333;
}

.record-time {
    font-size: 12px;
    color: #666;
}

.record-content {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .service-icon {
        margin-right: 0;
    }
    
    .service-status-indicator {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .policy-filter, .job-filter {
        flex-direction: column;
    }
    
    .policy-filter .form-select, 
    .job-filter .form-select,
    .policy-filter .form-input, 
    .job-filter .form-input {
        flex: 1;
        min-width: auto;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    /* 进度统计响应式 */
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .progress-stats {
        width: 100%;
    }
    
    .stat-item {
        text-align: left;
    }
}

/* 帮扶方案上传控件样式 */
.upload-drag-area {
    border: 2px dashed #d9d9d9;
    border-radius: 6px;
    padding: 24px;
    text-align: center;
    background-color: #fafafa;
    transition: all 0.3s;
    position: relative;
}

.upload-drag-area:hover {
    border-color: #40a9ff;
    background-color: #f0faff;
}

.upload-drag-area.drag-over {
    border-color: #40a9ff;
    background-color: #e6f7ff;
    transform: scale(1.02);
}

.upload-drag-placeholder {
    cursor: pointer;
}

.upload-drag-text {
    font-size: 16px;
    color: #666;
    margin: 12px 0 8px;
}

.upload-drag-hint {
    font-size: 14px;
    color: #999;
}

.file-list {
    margin-top: 16px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-icon {
    margin-right: 8px;
    color: #1890ff;
}

.file-name {
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 12px;
    color: #999;
    margin: 0 12px;
}

.remove-file {
    color: #ff4d4f;
    cursor: pointer;
    font-size: 16px;
}

.remove-file:hover {
    color: #f5222d;
}

