/* ============================================================
   电竞酒店管理系统 - 样式表
   主题: 支持深色/浅色双主题 / 霓虹光效 / 全响应式
   ============================================================ */

/* ===== CSS 变量 (深色主题 - 默认) ===== */
:root {
    --bg-base: #0a0e1a;
    --bg-surface: #131826;
    --bg-card: #1a2033;
    --bg-hover: #232b42;
    --bg-elevated: #1e2540;
    --border: #2a3454;
    --border-light: #1f2842;
    
    --text-primary: #e8ecf4;
    --text-secondary: #8892b0;
    --text-muted: #5a6580;
    
    --accent: #00d9ff;
    --accent-dim: #0099b8;
    --accent-glow: rgba(0, 217, 255, 0.15);
    
    --purple: #a855f7;
    --purple-glow: rgba(168, 85, 247, 0.15);
    
    --status-available: #22c55e;
    --status-available-bg: rgba(34, 197, 94, 0.1);
    --status-occupied: #3b82f6;
    --status-occupied-bg: rgba(59, 130, 246, 0.1);
    --status-dirty: #f59e0b;
    --status-dirty-bg: rgba(245, 158, 11, 0.1);
    --status-cleaning: #fb923c;
    --status-cleaning-bg: rgba(251, 146, 60, 0.1);
    --status-maintenance: #ef4444;
    --status-maintenance-bg: rgba(239, 68, 68, 0.1);
    --status-locked: #a855f7;
    --status-locked-bg: rgba(168, 85, 247, 0.1);

    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --info: #3b82f6;
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --glow: 0 0 20px rgba(0, 217, 255, 0.1);
    
    --sidebar-width: 240px;
    --topbar-height: 60px;
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 浅色主题 ===== */
[data-theme="light"] {
    --bg-base: #f0f2f5;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f5f6f8;
    --bg-elevated: #ffffff;
    --border: #e0e3e8;
    --border-light: #e8ebf0;
    
    --text-primary: #1a1d2e;
    --text-secondary: #5a5f72;
    --text-muted: #9ca0b0;
    
    --accent: #0ea5e9;
    --accent-dim: #0284c7;
    --accent-glow: rgba(14, 165, 233, 0.08);
    
    --purple: #7c3aed;
    --purple-glow: rgba(124, 58, 237, 0.08);
    
    --status-available: #16a34a;
    --status-available-bg: rgba(22, 163, 74, 0.08);
    --status-occupied: #2563eb;
    --status-occupied-bg: rgba(37, 99, 235, 0.08);
    --status-dirty: #d97706;
    --status-dirty-bg: rgba(217, 119, 6, 0.08);
    --status-cleaning: #ea580c;
    --status-cleaning-bg: rgba(234, 88, 12, 0.08);
    --status-maintenance: #dc2626;
    --status-maintenance-bg: rgba(220, 38, 38, 0.08);
    --status-locked: #9333ea;
    --status-locked-bg: rgba(147, 51, 234, 0.08);

    --danger: #dc2626;
    --warning: #d97706;
    --success: #16a34a;
    --info: #2563eb;
    
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.08);
    --glow: 0 2px 12px rgba(14, 165, 233, 0.08);
}

/* Theme toggle button */
.theme-toggle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 12px;
    font-size: 18px;
    position: relative;
}
.theme-toggle:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
}
[data-theme="light"] .theme-toggle {
    background: #fef3c7;
    border-color: #f59e0b;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== 登录页 ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(ellipse at top, #131826 0%, var(--bg-base) 60%);
    position: relative;
    overflow: hidden;
}
.login-page::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 40%);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}
.login-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}
.login-logo {
    text-align: center;
    margin-bottom: 32px;
}
.login-logo .icon { font-size: 48px; }
.login-logo h1 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.login-logo p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.login-form .form-group { margin-bottom: 20px; }
.login-form .form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}
.login-form .form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
}
.login-form .form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.login-hint {
    margin-top: 20px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}
.login-hint b { color: var(--accent); }

/* ===== 主布局 ===== */
.layout {
    display: flex;
    min-height: 100vh;
}

/* ===== 侧边栏 ===== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}
.sidebar-header {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    gap: 10px;
}
.sidebar-header .logo-icon { font-size: 24px; }
.sidebar-header .logo-text {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sidebar-nav {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}
.nav-section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 16px 12px 6px;
    font-weight: 600;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}
.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.nav-item.active {
    background: var(--accent-glow);
    color: var(--accent);
}
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 20px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}
.nav-item .nav-icon { font-size: 18px; width: 20px; text-align: center; }
.nav-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border);
}
.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
}
.user-card:hover { background: var(--bg-hover); }
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-info .name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.user-info .role { font-size: 11px; color: var(--text-muted); }

/* ===== 主内容区 ===== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== 顶部栏 ===== */
.topbar {
    height: var(--topbar-height);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}
.topbar .menu-toggle {
    display: none;
    font-size: 22px;
    color: var(--text-secondary);
}
.topbar-title {
    font-size: 18px;
    font-weight: 600;
}
.topbar-spacer { flex: 1; }
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    font-size: 18px;
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.icon-btn .dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--bg-surface);
}

/* ===== 通知下拉 ===== */
.notification-dropdown {
    position: absolute;
    top: 50px; right: 0;
    width: 360px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 200;
}
.notification-dropdown .header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.notification-list { max-height: 400px; overflow-y: auto; }
.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}
.notification-item:hover { background: var(--bg-hover); }
.notification-item.unread { background: var(--accent-glow); }
.notification-item .title { font-size: 13px; font-weight: 600; }
.notification-item .msg { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.notification-item .time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ===== 页面内容 ===== */
.page-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* ===== 统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-card .stat-icon {
    position: absolute;
    top: 16px; right: 16px;
    font-size: 28px;
    opacity: 0.2;
}
.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    font-feature-settings: 'tnum';
}
.stat-card .stat-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.stat-card.accent { border-left: 3px solid var(--accent); }
.stat-card.green { border-left: 3px solid var(--status-available); }
.stat-card.blue { border-left: 3px solid var(--status-occupied); }
.stat-card.amber { border-left: 3px solid var(--status-dirty); }
.stat-card.red { border-left: 3px solid var(--danger); }
.stat-card.purple { border-left: 3px solid var(--purple); }

/* ===== 房间网格 ===== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.room-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.room-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.room-card.status-available::before { background: var(--status-available); }
.room-card.status-occupied::before { background: var(--status-occupied); }
.room-card.status-dirty::before { background: var(--status-dirty); }
.room-card.status-cleaning::before { background: var(--status-cleaning); }
.room-card.status-maintenance::before { background: var(--status-maintenance); }
.room-card.status-locked::before { background: var(--status-locked); }

.room-card .room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.room-card .room-number {
    font-size: 20px;
    font-weight: 700;
}
.room-card .room-type {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.room-card .room-floor {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: 4px;
}
.room-card .room-body { margin-bottom: 12px; min-height: 40px; }
.room-card .guest-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.room-card .guest-info { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.room-card .room-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.room-card .room-time.overdue { color: var(--danger); font-weight: 600; }
.room-card .call-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    animation: blink 1.5s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.room-card .room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}
.room-card .room-actions {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.room-card .action-btn {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.room-card .action-btn:hover { background: var(--accent); color: #fff; }

/* ===== 状态标签 ===== */
.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.status-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
}
.status-tag.available { background: var(--status-available-bg); color: var(--status-available); }
.status-tag.available::before { background: var(--status-available); }
.status-tag.occupied { background: var(--status-occupied-bg); color: var(--status-occupied); }
.status-tag.occupied::before { background: var(--status-occupied); }
.status-tag.dirty { background: var(--status-dirty-bg); color: var(--status-dirty); }
.status-tag.dirty::before { background: var(--status-dirty); }
.status-tag.cleaning { background: var(--status-cleaning-bg); color: var(--status-cleaning); }
.status-tag.cleaning::before { background: var(--status-cleaning); }
.status-tag.maintenance { background: var(--status-maintenance-bg); color: var(--status-maintenance); }
.status-tag.maintenance::before { background: var(--status-maintenance); }
.status-tag.locked { background: var(--status-locked-bg); color: var(--status-locked); }
.status-tag.locked::before { background: var(--status-locked); }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: #000;
    font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 0 20px var(--accent-glow); transform: translateY(-1px); }
.btn-secondary {
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--text-primary);
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--accent); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}
.form-label .required { color: var(--danger); }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:disabled, .form-select:disabled, .form-textarea:disabled {
    background: var(--bg-body);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}
.form-textarea { min-height: 80px; resize: vertical; }
.form-row { display: flex; gap: 16px; }
.form-row > .form-group { flex: 1; }

/* ===== 房间编辑表单 - Tab切换 ===== */
.room-form-tabs {
    width: 100%;
}
.room-form-tabs .tab-buttons {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.room-form-tabs .tab-btn {
    background: transparent;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    color: var(--text-secondary, #6b7280);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all .15s;
}
.room-form-tabs .tab-btn:hover {
    color: var(--text-primary, #111827);
}
.room-form-tabs .tab-btn.active {
    color: var(--accent, #38bdf8);
    border-bottom-color: var(--accent, #38bdf8);
}
.room-form-tabs .tab-pane {
    display: none;
    animation: fadeIn .2s ease;
}
.room-form-tabs .tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 设施标签选择 ===== */
.amenity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px;
}
.amenity-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
    background: transparent;
    color: var(--text-secondary, #6b7280);
    transition: all .15s;
    user-select: none;
}
.amenity-tag:hover {
    border-color: var(--accent, #38bdf8);
    color: var(--accent, #38bdf8);
}
.amenity-tag.selected {
    background: var(--accent, #38bdf8);
    color: #fff;
    border-color: var(--accent, #38bdf8);
}

/* ===== Alert 提示框 ===== */
.alert {
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
}
.alert-info { color: var(--accent, #0ea5e9); }

/* ===== 房间详情 - 信息单元 ===== */
.info-cell {
    padding: 8px 10px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
}
.info-label {
    font-size: 11px;
    color: var(--text-muted, #6b7280);
    margin-bottom: 2px;
}
.info-value {
    font-size: 13px;
    color: var(--text-primary, #111827);
    font-weight: 500;
}

/* ===== 电脑配置项 ===== */
.cfg-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cfg-item {
    font-size: 12px;
    padding: 4px 8px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: var(--radius-sm);
}
.cfg-item b {
    color: var(--accent, #38bdf8);
    font-weight: 600;
}

/* ===== 房间卡片小标签 ===== */
.room-mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.mini-tag {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 10px;
    font-size: 11px;
    color: var(--text-secondary, #6b7280);
    background: var(--bg-surface);
}
.mini-tag.price {
    border-color: var(--accent, #38bdf8);
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.08);
}
.mini-tag.warn {
    border-color: #f59e0b;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
}

/* ===== 房间卡片价格行 ===== */
.room-price {
    padding: 6px 0;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
    border-top: 1px dashed var(--border-color, #e5e7eb);
    padding-top: 8px;
}
.room-price::before {
    content: "💰 ";
}

/* ===== 过滤栏 ===== */
.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-bar .search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}
.filter-bar .search-box input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}
.filter-bar .search-box input:focus { outline: none; border-color: var(--accent); }
.filter-bar .search-box::before {
    content: '🔍';
    position: absolute;
    left: 10px; top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}
.filter-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.filter-chip:hover { border-color: var(--accent); color: var(--text-primary); }
.filter-chip.active {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}
.filter-chip .count {
    font-size: 11px;
    background: var(--bg-surface);
    padding: 1px 5px;
    border-radius: 8px;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header h3 { font-size: 15px; font-weight: 600; }
.card-body { padding: 20px; }
.card-body.no-pad { padding: 0; }

/* ===== 表格 ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}
.data-table td {
    padding: 12px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
}
.data-table tr:hover td { background: var(--bg-hover); }
.data-table tr:last-child td { border-bottom: none; }

/* ===== 模态框 ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal.modal-lg { max-width: 720px; }
.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 { font-size: 17px; font-weight: 600; }
.modal-close { font-size: 20px; color: var(--text-muted); transition: var(--transition); }
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Toast ===== */
#toast-container {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
#toast-container .toast {
    pointer-events: auto;
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    border-left: 3px solid var(--accent);
}
@keyframes slideInRight {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast .toast-icon { font-size: 18px; }
.toast .toast-msg { font-size: 13px; flex: 1; }

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state .icon { font-size: 48px; opacity: 0.3; margin-bottom: 12px; }
.empty-state .text { font-size: 14px; }

/* ===== 加载动画 ===== */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 时间线/活动流 ===== */
.activity-feed { display: flex; flex-direction: column; gap: 0; }
.activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
    flex-shrink: 0;
}
.activity-content { flex: 1; }
.activity-content .desc { font-size: 13px; }
.activity-content .time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== 呼叫卡片 ===== */
.call-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.call-card:hover { box-shadow: var(--shadow); }
.call-card.pending { border-left: 3px solid var(--danger); }
.call-card.handling { border-left: 3px solid var(--warning); }
.call-card.resolved { border-left: 3px solid var(--success); opacity: 0.7; }
.call-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.call-icon.service { background: var(--accent-glow); }
.call-icon.checkout { background: var(--status-occupied-bg); }
.call-icon.maintenance { background: var(--status-maintenance-bg); }
.call-icon.emergency { background: rgba(239, 68, 68, 0.15); animation: blink 1s infinite; }
.call-info { flex: 1; min-width: 0; }
.call-info .room { font-size: 16px; font-weight: 700; }
.call-info .type { font-size: 12px; color: var(--text-secondary); }
.call-info .desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.call-info .time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ===== 任务卡片 ===== */
.task-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: var(--transition);
}
.task-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.task-card .task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.task-card .task-room { font-size: 16px; font-weight: 700; }
.task-card .task-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .room-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 768px) {
    :root { --sidebar-width: 260px; }
    .sidebar {
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .topbar .menu-toggle { display: flex; align-items: center; }
    .page-content { padding: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px; }
    .stat-card .stat-value { font-size: 22px; }
    .room-grid { grid-template-columns: 1fr; }
    .filter-bar { gap: 8px; }
    .filter-bar .search-box { min-width: 100%; }
    .form-row { flex-direction: column; gap: 0; }
    .modal { max-width: 100%; }
    .data-table { font-size: 12px; }
    .data-table th, .data-table td { padding: 8px 10px; }
    .notification-dropdown { width: 320px; position: fixed; right: 10px; top: 55px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .filter-chips { gap: 4px; }
    .filter-chip { padding: 4px 10px; font-size: 12px; }
    .page-content { padding: 12px; }
    .topbar { padding: 0 12px; }
    .topbar-title { font-size: 16px; }
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex-1 { flex: 1; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== 客户端呼叫页 ===== */
.client-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #131826 50%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.client-page::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    animation: float 6s ease-in-out infinite;
}
.client-page::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite reverse;
    bottom: -100px; right: -100px;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}
.client-card {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 480px;
}
.client-header {
    margin-bottom: 32px;
}
.client-header .room-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 40px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.client-header .room-badge .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.client-header .room-badge .number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.client-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}
.client-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}
.client-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
.call-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.call-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.call-btn .btn-icon {
    font-size: 36px;
    margin-bottom: 8px;
}
.call-btn .btn-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.call-btn .btn-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.call-btn.emergency {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}
.call-btn.emergency:hover {
    border-color: var(--danger);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}
.call-btn.emergency .btn-icon { animation: pulse-red 1.5s infinite; }
@keyframes pulse-red {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.client-success {
    text-align: center;
    padding: 40px;
}
.client-success .success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounceIn 0.5s ease;
}
@keyframes bounceIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.client-success h2 {
    font-size: 20px;
    color: var(--success);
    margin-bottom: 8px;
}
.client-success p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}
.client-footer {
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.client-footer .ip-info {
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.5;
}
.client-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.client-loading .spinner {
    margin: 0 auto 16px;
    width: 40px; height: 40px;
}

/* ===== 图表 ===== */
.chart-container {
    position: relative;
    height: 200px;
    margin-top: 12px;
}
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 180px;
    padding-top: 20px;
}
.bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.bar {
    width: 100%;
    max-width: 40px;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
    position: relative;
    min-height: 2px;
}
.bar-label {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
}
.bar-value {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== 进度条 ===== */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-surface);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 20px;
}
.pagination button {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
}
.pagination button:hover { border-color: var(--accent); color: var(--text-primary); }
.pagination button.active { background: var(--accent); color: #000; border-color: var(--accent); }
.pagination button:disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== 标签页 ===== */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
}
.tab {
    padding: 10px 18px;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ===== 移动端遮罩 ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}
@media (max-width: 768px) {
    .sidebar-overlay.show { display: block; }
}

/* ============ 浅色主题覆盖 ============ */
[data-theme="light"] .sidebar {
    background: var(--bg-surface);
    border-right-color: var(--border);
}
[data-theme="light"] .sidebar-logo {
    background: linear-gradient(135deg, #e8f4fd, #f0f9ff);
}
[data-theme="light"] .login-page {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f2f5 50%, #e0e7ff 100%);
}
[data-theme="light"] .login-page::before {
    background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 40%);
}
[data-theme="light"] .login-card {
    background: var(--bg-surface);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
[data-theme="light"] .topbar {
    background: var(--bg-surface);
    border-bottom-color: var(--border);
}
[data-theme="light"] .topbar .menu-toggle { color: var(--text-primary); }
[data-theme="light"] .quick-actions .btn { color: var(--text-primary); }
[data-theme="light"] .search-box { background: var(--bg-hover); }
[data-theme="light"] .notification-dropdown {
    background: var(--bg-surface);
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
[data-theme="light"] .notification-item { color: var(--text-primary); }
[data-theme="light"] .notification-item:hover { background: var(--bg-hover); }
[data-theme="light"] .notification-item.unread { background: rgba(14,165,233,0.05); }
[data-theme="light"] .badge-pending {
    background: var(--danger);
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}
[data-theme="light"] .client-page {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f2f5 50%, #e0e7ff 100%);
}
[data-theme="light"] .client-page::before,
[data-theme="light"] .client-page::after {
    opacity: 0.3;
}
[data-theme="light"] .client-card .room-badge {
    background: var(--bg-surface);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .call-btn {
    background: var(--bg-surface);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
[data-theme="light"] .call-btn.emergency {
    background: rgba(220,38,38,0.04);
    border-color: rgba(220,38,38,0.2);
}
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-hover); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #c0c4cc; }
[data-theme="light"] .data-table thead th { background: var(--bg-hover); color: var(--text-secondary); }
[data-theme="light"] .data-table tbody tr:hover { background: var(--bg-hover); }
[data-theme="light"] .form-control { background: var(--bg-base); border-color: var(--border); }

/* ============ 预订页面专用样式 ============ */
.booking-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.booking-form-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.booking-form-section h3::before {
    content: '';
    width: 3px; height: 16px;
    background: var(--accent);
    border-radius: 2px;
}
.channel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.channel-badge {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    background: var(--bg-surface);
    color: var(--text-secondary);
    user-select: none;
}
.channel-badge:hover { border-color: var(--accent); color: var(--accent); }
.channel-badge.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    font-weight: 600;
}
.channel-badge.selected::after { content: ' ✓'; }

.booking-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.booking-stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.booking-stat-item .channel-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.booking-stat-item .channel-info { flex: 1; }
.booking-stat-item .channel-name { font-size: 14px; font-weight: 500; }
.booking-stat-item .channel-count { font-size: 22px; font-weight: 700; }

/* ============ 会员页面专用样式 ============ */
.member-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.member-card-header {
    padding: 24px;
    background: linear-gradient(135deg, var(--accent-glow), var(--purple-glow));
    display: flex;
    align-items: center;
    gap: 16px;
}
.member-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.member-card-header .member-info { flex: 1; }
.member-card-header .member-name { font-size: 18px; font-weight: 700; }
.member-card-header .member-phone { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.member-card-header .member-points {
    text-align: center;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
}
.member-card-header .member-points .pts-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}
.member-card-header .member-points .pts-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}
[data-theme="light"] .member-card-header {
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
}
[data-theme="light"] .member-card-header .member-points {
    background: rgba(255,255,255,0.5);
}
.points-history {
    padding: 0;
}
.points-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}
.points-item:last-child { border-bottom: none; }
.points-item .pts-change {
    font-weight: 700;
    font-size: 14px;
    min-width: 60px;
    text-align: right;
}
.points-item .pts-change.positive { color: var(--success); }
.points-item .pts-change.negative { color: var(--danger); }
.points-item .pts-reason { flex: 1; font-size: 13px; }
.points-item .pts-time { font-size: 11px; color: var(--text-muted); }

/* ============ 声音提示配置 ============ */
.audio-preview-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.audio-preview-row:last-child { border-bottom: none; }
.audio-preview-row .event-label { flex: 1; font-size: 14px; font-weight: 500; }
.audio-preview-row select {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    min-width: 120px;
}
.audio-preview-row .preview-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.audio-preview-row .preview-btn:hover { opacity: 0.85; }

/* ============ 房型选择卡片(预订用) ============ */
.room-type-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.room-type-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-surface);
    text-align: center;
}
.room-type-option:hover { border-color: var(--accent-dim); }
.room-type-option.selected {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.room-type-option .type-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.room-type-option .type-rate { font-size: 13px; color: var(--text-secondary); }
.room-type-option .type-rate .price { color: var(--accent); font-weight: 700; font-size: 16px; }
