/* ========================================
   1. 基础样式
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #7eb8da;
    --primary-dark: #5ca0c8;
    --sidebar-width: 220px;
    --sidebar-collapsed: 60px;
    --header-height: 56px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
}

/* ========================================
   2. 页面容器
   ======================================== */
.page {
    min-height: 100vh;
}

.page-login, .page-register {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 35%, #90caf9 100%);
    position: relative;
    overflow: hidden;
}

.page-main {
    padding-top: var(--header-height);
    padding-left: var(--sidebar-collapsed);
}

/* ========================================
   3. 登录/注册页样式
   ======================================== */
.page-login::before,
.page-register::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.8) 0%, transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.3) 100%);
    pointer-events: none;
    filter: blur(1px);
}

.page-login::after,
.page-register::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.login-container, .register-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.login-header, .register-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1, .register-header h1 {
    color: #2c3e50;
    font-size: 26px;
    font-weight: 600;
}

.error-message, .success-message {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    display: none;
}

.error-message { color: #e74c3c; }
.success-message { color: #27ae60; }

.register-link, .login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.register-link a, .login-link a {
    color: #78909c;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover, .login-link a:hover {
    text-decoration: underline;
    color: #90a4ae;
}

.login-links {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.login-links .forgot-link {
    color: #78909c;
    text-decoration: none;
    font-weight: 500;
}

.login-links .forgot-link:hover {
    text-decoration: underline;
    color: #90a4ae;
}

.login-links .divider {
    margin: 0 10px;
    color: #ccc;
}

.login-links .register-text a {
    color: #78909c;
    text-decoration: none;
    font-weight: 500;
}

.login-links .register-text a:hover {
    text-decoration: underline;
    color: #90a4ae;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.message {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.message.success {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    display: block;
}

.message.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    display: block;
}

.page-forgot-password {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 35%, #90caf9 100%);
    position: relative;
    overflow: hidden;
}

.page-forgot-password::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.8) 0%, transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.3) 100%);
    pointer-events: none;
    filter: blur(1px);
}

.page-forgot-password::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* ========================================
   4. 表单样式（通用）
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(200, 200, 200, 0.6);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #90a4ae;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(120, 144, 156, 0.15);
}

.form-group label .required {
    color: #e74c3c;
}

.date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ========================================
   5. 按钮样式（通用）- 参照原始项目
   ======================================== */
.btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    background: #fff;
    color: #333;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    background: #5c9ce6;
    color: white;
    border: none;
}

.btn-block:hover {
    background: #4a8bd6;
}

.btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.btn:disabled {
    background: #f5f5f5;
    color: #aaa;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.btn-primary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-primary:hover {
    background: #e8f4fc;
    border-color: #4a90d9;
    color: #4a90d9;
}

.btn-danger {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-danger:hover {
    background: #fce8e8;
    border-color: #d9534f;
    color: #d9534f;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
}

.btn-outline:hover {
    background: #f0f0f0;
}

.btn-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #666;
}

.btn-success {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-success:hover {
    background: #e8f8e8;
    border-color: #5cb85c;
    color: #5cb85c;
}

.btn-warning {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-warning:hover {
    background: #fff8e8;
    border-color: #f0ad4e;
    color: #f0ad4e;
}

.btn-info {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-info:hover {
    background: #e8f4fc;
    border-color: #5bc0de;
    color: #5bc0de;
}

/* ========================================
   6. 顶部导航样式
   ======================================== */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #e3f2fd;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.08);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.menu-toggle:hover {
    background: rgba(0,0,0,0.12);
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
}

.conference-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: rgba(0,0,0,0.06);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.conference-info:hover {
    background: rgba(0,0,0,0.1);
}

.conference-info.hidden {
    display: none;
}

.conference-name {
    font-weight: 500;
}

.conference-code {
    opacity: 0.8;
    font-size: 12px;
}

.switch-btn {
    padding: 4px 10px;
    background: rgba(0,0,0,0.08);
    border: none;
    border-radius: 4px;
    color: #333;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
}

.switch-btn:hover {
    background: rgba(0,0,0,0.12);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
}

.user-name {
    font-size: 14px;
}

.logout-btn {
    padding: 6px 16px;
    background: rgba(0,0,0,0.08);
    border: none;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(0,0,0,0.12);
}

.user-menu {
    position: fixed;
    top: 56px;
    right: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 200;
    min-width: 120px;
}

.user-menu.show {
    display: block;
}

.user-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.user-menu-item:hover {
    background: #f5f5f5;
}

/* ========================================
   7. 侧边栏样式
   ======================================== */
.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: var(--sidebar-collapsed);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: width 0.3s ease;
    z-index: 90;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
}

.sidebar.expanded {
    width: var(--sidebar-width);
}

.sidebar-menu {
    padding: 12px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    gap: 14px;
}

.menu-item:hover {
    background: rgba(0,0,0,0.05);
    color: #333;
}

.menu-item.active {
    background: rgba(144, 202, 249, 0.3);
    color: #333;
    border-left: 3px solid #5c9ce6;
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.menu-text {
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

.sidebar.expanded .menu-text {
    opacity: 1;
}

/* ========================================
   8. 主内容区样式
   ======================================== */
.main-content {
    margin-left: var(--sidebar-collapsed);
    padding: 20px;
    min-height: calc(100vh - var(--header-height));
    transition: margin-left 0.3s ease;
}

.sidebar.expanded ~ .main-content {
    margin-left: var(--sidebar-width);
}

.view {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   9. 卡片样式（通用）
   ======================================== */
.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.card-body {
    /* 内容区 */
}

/* ========================================
   10. 表格样式（通用）
   ======================================== */
.table-container {
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background: #f8f9fa;
}

.data-table {
    font-size: 13px;
}

.data-table th,
.data-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

/* ========================================
   11. 弹窗样式（通用）
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-body {
    padding: 20px;
}

.conference-option {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    margin-bottom: 10px;
}

.conference-option:hover {
    background: #e9ecef;
    border-color: var(--primary);
}

.conference-option:last-child {
    margin-bottom: 0;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.option-code {
    font-size: 13px;
    color: #666;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #eee;
}

/* ========================================
   12. 数据看板样式
   ======================================== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.alert-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: none;
}

.alert-banner.show {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-icon {
    font-size: 20px;
}

.alert-text {
    flex: 1;
    color: #856404;
    font-size: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #eee;
}

.stat-card.warning {
    border-color: #ffc107;
    background: #fffbeb;
}

.stat-card.success {
    border-color: #28a745;
    background: #f0fff4;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.stat-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.stat-badge.warning {
    background: #ffc107;
    color: #856404;
}

.stat-badge.success {
    background: #28a745;
    color: white;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.blue { background: linear-gradient(90deg, #4a90d9, #6fb1fc); }
.progress-fill.green { background: linear-gradient(90deg, #28a745, #5cb85c); }
.progress-fill.orange { background: linear-gradient(90deg, #fd7e14, #ffc107); }
.progress-fill.purple { background: linear-gradient(90deg, #6f42c1, #9b59b6); }

.stat-numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-main {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.stat-main span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.stat-detail {
    font-size: 13px;
    color: #666;
}

.stat-detail .highlight {
    color: #dc3545;
    font-weight: 500;
}

.stat-action {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.stat-action a {
    color: #4a90d9;
    text-decoration: none;
    font-size: 13px;
}

.stat-action a:hover {
    text-decoration: underline;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.history-card {
    background: linear-gradient(135deg, #4a90d9 0%, #6fb1fc 100%);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    color: white;
}

.history-card:nth-child(2) {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
}

.history-card:nth-child(3) {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}

.history-card:nth-child(4) {
    background: linear-gradient(135deg, #6f42c1 0%, #9b59b6 100%);
}

.history-value {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.history-label {
    font-size: 13px;
    opacity: 0.9;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-text {
    font-size: 18px;
    font-weight: 500;
}

.empty-hint {
    margin-top: 12px;
    font-size: 16px;
    color: #666;
}

.empty-tip {
    text-align: center;
    color: #999;
    padding: 40px 0;
    line-height: 1.8;
    font-size: 16px;
}

.select-btn {
    margin-top: 16px;
    padding: 10px 24px;
    background: #4A90D9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.select-btn:hover {
    background: #3a7bc8;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ========================================
   13. 接送管理样式
   ======================================== */
.transport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.transport-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.transport-filters select,
.transport-filters input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-info {
    flex: 1;
}

.task-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.task-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #666;
}

.task-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.task-status.pending {
    background: #fff3cd;
    color: #856404;
}

.task-status.completed {
    background: #d4edda;
    color: #155724;
}

.task-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.transport-tabs {
    display: flex;
    gap: 0;
}

.transport-tab-btn {
    padding: 10px 20px;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
}

.transport-tab-btn.active {
    background: #4a90d9;
    color: white;
}

.transport-tab-panel {
    display: none;
}

.transport-tab-panel.active {
    display: block;
}

.transport-date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-date-nav .btn-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.transport-date-nav span {
    min-width: 50px;
    text-align: center;
    font-weight: 500;
}

.timeline-wrapper {
    position: relative;
    height: calc(100vh - 190px);
    min-height: 510px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.timeline-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6b7280;
    z-index: 100;
}

.timeline-header-scroll {
    position: absolute;
    top: 0;
    left: 60px;
    right: 0;
    height: 60px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    z-index: 90;
}

.timeline-header-scroll::-webkit-scrollbar {
    display: none;
}

.vehicles-row {
    display: flex;
    min-width: fit-content;
    height: 100%;
}

.vehicle-col-header {
    min-width: 110px;
    width: 110px;
    padding: 8px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v-plate {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.v-info {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.v-driver {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 1px;
}

.timeline-time-scroll {
    position: absolute;
    top: 60px;
    left: 0;
    width: 60px;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    z-index: 80;
}

.timeline-time-scroll::-webkit-scrollbar {
    display: none;
}

.timeline-schedule-scroll {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 70;
}

.timeline-content {
    position: relative;
    min-height: 100%;
}

.timeline-row {
    display: flex;
    min-height: 55px;
    border-bottom: 1px solid #f3f4f6;
}

.time-cell {
    width: 60px;
    height: 55px;
    padding: 8px;
    font-size: 11px;
    color: #6b7280;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.vehicle-cells {
    display: flex;
    min-width: fit-content;
}

.task-cell {
    min-width: 110px;
    width: 110px;
    padding: 4px;
    border-right: 1px solid #f3f4f6;
    cursor: pointer;
    box-sizing: border-box;
}

.task-cell.empty {
    background: #fff;
}

.task-cell.empty:hover {
    background: #f9fafb;
}

.task-cell.occupied {
    background: transparent;
    pointer-events: none;
}

.task-block-floating {
    position: absolute;
    width: 106px;
    margin-left: 2px;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

.task-block-floating.scheduled {
    background: #3b82f6;
    color: #fff;
}

.task-block-floating.in_progress {
    background: #10b981;
    color: #fff;
}

.task-block-floating.arrived {
    background: #f59e0b;
    color: #fff;
}

.task-block-floating.completed {
    background: #9ca3af;
    color: #fff;
}

.task-block-floating.cancelled {
    background: #ef4444;
    color: #fff;
    opacity: 0.6;
}

.block-content {
    padding: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.block-names {
    font-size: 12px;
    font-weight: 600;
}

.block-type {
    font-size: 10px;
    opacity: 0.9;
    margin-top: 2px;
}

.block-time {
    font-size: 9px;
    opacity: 0.8;
    margin-top: 2px;
}

.block-dest {
    font-size: 9px;
    opacity: 0.8;
    margin-top: 1px;
}

.transport-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 12px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.dot.scheduled {
    background: #3b82f6;
}

.dot.in-progress {
    background: #10b981;
}

.dot.completed {
    background: #9ca3af;
}

.transport-vehicle-list {
    padding: 16px 0;
}

.transport-vehicle-list .list-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.transport-vehicle-list .item-main {
    flex: 1;
    min-width: 0;
}

.transport-vehicle-list .item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.transport-vehicle-list .item-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.transport-vehicle-list .item-actions {
    display: flex;
    gap: 8px;
}

.transport-vehicle-list .btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #4a90d9;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(74,144,217,0.4);
    cursor: pointer;
    z-index: 80;
    transition: all 0.2s;
}

.fab:hover {
    background: #3a7bc8;
    transform: scale(1.05);
}

.person-tag {
    display: flex;
    flex-direction: column;
    padding: 6px 10px;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 80px;
    transition: all 0.2s;
}

.person-tag.selected {
    border-color: #4a90d9;
    background: #e0e7ff;
}

.person-tag:hover {
    background: #e5e7eb;
}

.p-name {
    font-size: 13px;
    font-weight: 500;
}

.p-company {
    font-size: 10px;
    color: #6b7280;
}

.detail-section {
    margin-bottom: 16px;
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.detail-row .label {
    font-size: 13px;
    color: #6b7280;
}

.detail-row .value {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

.person-detail {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 10px;
}

.pd-name {
    font-size: 14px;
    font-weight: 600;
}

.pd-info {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.radio-label:has(input:checked) {
    border-color: #4a90d9 !important;
    background: #e0e7ff !important;
}

/* ========================================
   14. 我的信息样式
   ======================================== */
.profile-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7eb8da, #5ca0c8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    font-weight: 600;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.profile-role {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.profile-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-form .form-group.full-width {
    grid-column: 1 / -1;
}

.password-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.package-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.package-name {
    font-size: 20px;
    font-weight: 600;
    color: #4a90d9;
}

.package-expire {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.package-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-expired {
    background: #ffebee;
    color: #c62828;
}

.order-list, .invoice-list {
    max-height: 300px;
    overflow-y: auto;
}

.order-item, .invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-item:last-child, .invoice-item:last-child {
    border-bottom: none;
}

.order-left, .invoice-left {
    flex: 1;
}

.order-title, .invoice-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.order-date, .invoice-amount {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.order-right {
    text-align: right;
}

.order-amount {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.order-status {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.order-status.paid {
    color: #2e7d32;
}

.invoice-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.invoice-status.pending {
    background: #fff3e0;
    color: #e65100;
}

.invoice-status.processing {
    background: #e3f2fd;
    color: #1565c0;
}

.invoice-status.done {
    background: #e8f5e9;
    color: #2e7d32;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.package-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.package-option:hover {
    border-color: #5c9ce6;
}

.package-option.selected {
    border-color: #5c9ce6;
    background: #f5f9ff;
}

.package-option .name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.package-option .price {
    font-size: 20px;
    font-weight: 600;
    color: #4a90d9;
    margin: 8px 0;
}

.package-option .price span {
    font-size: 12px;
    color: #999;
}

.package-option .desc {
    font-size: 11px;
    color: #999;
}

.stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #4a90d9;
}

.stat-label {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ========================================
   15. 会议管理样式
   ======================================== */
.tabs {
    display: flex;
    background: #e8e8e8;
    padding: 8px 10px 0 10px;
    gap: 0;
    border-radius: 8px 8px 0 0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    cursor: pointer;
    background: #d0d0d0;
    color: #666;
    font-size: 14px;
    border-radius: 8px 8px 0 0;
    border: 1px solid #ccc;
    border-bottom: none;
    position: relative;
    top: 1px;
    transition: all 0.2s;
}

.tab-item:hover {
    background: #e0e0e0;
}

.tab-item.active {
    background: #fff;
    color: #4a90d9;
    font-weight: 600;
    border-color: #4a90d9;
    z-index: 1;
}

.tab-content {
    display: none;
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.tab-content.active {
    display: block;
}

.seating-canvas {
    position: relative;
    min-height: 600px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.seating-areas {
    position: relative;
    min-height: 500px;
}

.seating-area {
    position: absolute;
    z-index: 1;
    overflow: visible;
}

.seating-area:hover {
    z-index: 10;
}

.area-content {
    transform-origin: top left;
    white-space: nowrap;
}

.search-bar {
    margin-bottom: 15px;
}

.search-bar input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.seating-summary, .hotel-summary, .restaurant-summary, .participants-summary {
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* ========================================
   16. 会议列表样式
   ======================================== */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.conference-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    cursor: pointer;
}

.conference-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-code {
    font-size: 12px;
    color: #999;
}

.card-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #e6f7ff;
    color: #1890ff;
}

.status-ended {
    background: #f5f5f5;
    color: #999;
}

.status-upcoming {
    background: #fff7e6;
    color: #fa8c16;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.info-icon {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

.info-label {
    color: #999;
    min-width: 60px;
}

.info-value {
    color: #333;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast.show {
    opacity: 1;
}

.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.confirm-modal.active {
    display: flex;
}

.confirm-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 280px;
    text-align: center;
}

.confirm-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.confirm-message {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    white-space: pre-line;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.confirm-btn.cancel {
    background: #f0f0f0;
    color: #666;
}

.confirm-btn.ok {
    background: #5c9ce6;
    color: white;
}

/* ========================================
   17. 创建会议样式
   ======================================== */
.create-form {
    max-width: 800px;
}

.form-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.time-group {
    margin-bottom: 12px;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.time-label {
    min-width: 50px;
    font-size: 13px;
    color: #6c757d;
}

.time-inputs {
    display: flex;
    flex: 1;
    gap: 4px;
    align-items: center;
}

.time-inputs input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkbox-item label {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    font-weight: normal;
}

.date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.result {
    display: none;
    padding: 16px;
    margin-top: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.result.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   18. 响应式适配
   ======================================== */
@media (max-width: 768px) {
    .sidebar {
        width: 0;
        padding: 0;
    }
    
    .sidebar.expanded {
        width: var(--sidebar-width);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .conference-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-form {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .package-options {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   附加样式
   ======================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

/* ========================================
   PDF导出样式
   ======================================== */
.btn-export {
    margin-left: 12px;
    padding: 6px 12px;
    background: #fff;
    color: #6b7280;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-export:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-export:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pdf-export-container {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 800px;
    background: #fff;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
}

.pdf-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: #1f2937;
}

.pdf-date {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    color: #6b7280;
}

.pdf-task-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    page-break-inside: avoid;
}

.pdf-task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.pdf-task-type {
    font-size: 14px;
    font-weight: 600;
    width: 33%;
}

.pdf-task-time {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    width: 33%;
    text-align: center;
}

.pdf-task-placeholder {
    width: 33%;
}

.pdf-task-row {
    display: flex;
    font-size: 13px;
    margin-bottom: 4px;
}

.pdf-task-label {
    color: #6b7280;
    margin-right: 2px;
}

.pdf-task-value {
    color: #1f2937;
}

.pdf-passengers {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.pdf-passenger-tag {
    display: inline-block;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 4px;
}
