/* ============================================================
 * 上海珠声文化传媒有限公司 - 会议室系统 样式表
 * 主题色: 紫色系(公司气质) + 蓝/绿辅色
 * ============================================================ */

/* ---------- 基础与全局 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #2980b9;
    --text: #2c3e50;
    --text-muted: #7f8c8d;
    --border: #e8ecf1;
    --bg: #f5f7fb;
    --card-bg: #ffffff;
    --radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
    --shadow: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
}

html, body { height: 100%; }
body {
    font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: all .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-main { flex: 1; padding: 24px 0 40px; }

/* ---------- 通用组件 ---------- */
.btn {
    display: inline-block; padding: 8px 20px; border-radius: 6px; border: none;
    cursor: pointer; font-size: 14px; font-weight: 500; transition: all .2s;
    background: #eee; color: #333; text-decoration: none; line-height: 1.5;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.btn-primary:hover { color: #fff; opacity: .92; }
.btn-success { background: var(--success); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-info { background: var(--info); color: #fff; }
.btn-outline {
    background: transparent; border: 1px solid var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 5px 14px; font-size: 12px; }
.btn-lg { padding: 12px 36px; font-size: 16px; border-radius: 8px; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* 卡片 */
.card {
    background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 24px; margin-bottom: 20px;
}
.card-title {
    font-size: 18px; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}
.card-title .actions { font-size: 14px; font-weight: normal; }

/* 徽章/标签 */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 500; line-height: 1.6;
}
.badge-success { background: #e8f8ef; color: var(--success); }
.badge-warning { background: #fff5e6; color: var(--warning); }
.badge-danger { background: #feecec; color: var(--danger); }
.badge-info { background: #e8f4ff; color: var(--info); }
.badge-muted { background: #f0f2f5; color: var(--text-muted); }

/* 表单 */
.form-group { margin-bottom: 18px; }
.form-label {
    display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: #333;
}
.form-label .required { color: var(--danger); margin-right: 3px; }
.form-control {
    display: block; width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 6px; background: #fff; font-size: 14px; line-height: 1.5; color: #333;
    transition: all .2s; font-family: inherit;
}
.form-control:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,.12);
}
.form-control[readonly], .form-control:disabled { background: #f8f9fa; color: #888; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: flex; gap: 16px; }
.form-row > .form-group { flex: 1; }
.form-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-error { color: var(--danger); font-size: 12px; margin-top: 4px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td {
    padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border);
}
.table th {
    background: #f8f9fb; font-weight: 600; color: #444; white-space: nowrap;
    position: sticky; top: 0;
}
.table tbody tr:hover { background: #fafbfc; }
.table .actions a { margin-right: 8px; font-size: 13px; }
.table .actions a:last-child { margin-right: 0; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: inline-block; min-width: 34px; height: 34px; line-height: 34px;
    padding: 0 10px; text-align: center; border-radius: 6px; background: #fff;
    border: 1px solid var(--border); color: #666; font-size: 13px;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; border-color: transparent;
}
.pagination .disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 顶部导航 ---------- */
.site-header {
    background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05);
    position: sticky; top: 0; z-index: 100;
}
.nav-wrap { display: flex; align-items: center; height: 70px; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 42px; height: 42px; border-radius: 10px; line-height: 42px; text-align: center;
    font-size: 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 12px rgba(102,126,234,.35);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text em { font-style: normal; font-size: 17px; font-weight: 700; color: #2c3e50; }
.logo-text small { font-size: 11px; color: #999; margin-top: -2px; }

.nav-menu { flex: 1; display: flex; gap: 4px; }
.nav-menu a {
    display: inline-block; padding: 8px 16px; border-radius: 6px; color: #555;
    font-size: 14px; font-weight: 500;
}
.nav-menu a:hover { background: #f5f6fa; color: var(--primary); }
.nav-menu a.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }

.nav-user { display: flex; align-items: center; gap: 8px; }
.user-info { display: flex; align-items: center; gap: 10px; }
.avatar-sm {
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4); color: #fff; font-weight: 600; font-size: 14px;
}
.user-meta { display: flex; flex-direction: column; line-height: 1.3; }
.user-meta b { font-size: 13px; color: #333; }
.user-meta small { font-size: 11px; color: #999; }
.btn-icon {
    width: 36px; height: 36px; line-height: 36px; text-align: center;
    border-radius: 6px; background: #f5f6fa; font-size: 15px;
}
.btn-icon:hover { background: #eef0f5; }

/* ---------- 首页/Hero ---------- */
.hero {
    background: linear-gradient(135deg, rgba(102,126,234,.95), rgba(118,75,162,.92));
    color: #fff; border-radius: 14px; padding: 48px 40px; margin-bottom: 32px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px;
    background: rgba(255,255,255,.08); border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -120px; left: 20%; width: 240px; height: 240px;
    background: rgba(255,255,255,.06); border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: .92; max-width: 640px; line-height: 1.8; margin-bottom: 24px; }
.hero .btn {
    background: #fff; color: var(--primary); border-radius: 8px; padding: 12px 30px;
    font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.hero .btn:hover { color: var(--secondary); transform: translateY(-2px); }

/* 数据统计 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 32px; }
.stat-card {
    background: #fff; border-radius: var(--radius); padding: 22px;
    display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-sm);
    transition: all .2s;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stat-icon {
    width: 56px; height: 56px; border-radius: 14px; font-size: 24px; display: flex; align-items: center; justify-content: center;
}
.stat-icon.c1 { background: #eef2ff; color: var(--primary); }
.stat-icon.c2 { background: #e8f8ef; color: var(--success); }
.stat-icon.c3 { background: #fff5e6; color: var(--warning); }
.stat-icon.c4 { background: #e8f4ff; color: var(--info); }
.stat-info h4 { font-size: 26px; font-weight: 700; color: #2d3748; line-height: 1.2; }
.stat-info small { font-size: 13px; color: var(--text-muted); }

/* ---------- 会议室卡片 ---------- */
.section-title {
    font-size: 20px; font-weight: 700; margin: 0 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.section-title::before {
    content: ''; display: inline-block; width: 4px; height: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px; margin-right: 10px; vertical-align: -2px;
}
.section-title .title-left { display: flex; align-items: center; }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 30px; }
.room-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all .25s; display: flex; flex-direction: column;
}
.room-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.room-card .room-photo {
    height: 150px; background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    display: flex; align-items: center; justify-content: center; font-size: 54px; color: #fff;
    position: relative;
}
.room-card:nth-child(2n) .room-photo { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.room-card:nth-child(3n) .room-photo { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.room-card:nth-child(4n) .room-photo { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.room-card:nth-child(5n) .room-photo { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.room-card:nth-child(6n) .room-photo { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.room-card .room-capacity {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,.45); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 12px;
}
.room-card .room-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.room-card .room-name { font-size: 17px; font-weight: 600; color: #2d3748; margin-bottom: 6px; }
.room-card .room-loc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.room-card .room-equip {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.room-card .equip-tag {
    font-size: 11px; padding: 3px 8px; background: #f0f2f5; color: #666; border-radius: 4px;
}
.room-card .room-actions {
    margin-top: auto; display: flex; gap: 8px;
}
.room-card .room-actions .btn { flex: 1; text-align: center; padding: 8px; font-size: 13px; }

/* ---------- 登录/注册页 ---------- */
.auth-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative; overflow: hidden;
}
.auth-wrap::before {
    content: ''; position: absolute; width: 500px; height: 500px; top: -200px; right: -200px;
    background: rgba(255,255,255,.1); border-radius: 50%;
}
.auth-wrap::after {
    content: ''; position: absolute; width: 400px; height: 400px; bottom: -200px; left: -150px;
    background: rgba(255,255,255,.08); border-radius: 50%;
}
.auth-card {
    width: 100%; max-width: 480px; background: #fff; border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.25); position: relative; z-index: 1; overflow: hidden;
}
.auth-header {
    padding: 36px 40px 24px; text-align: center;
}
.auth-brand {
    display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px;
}
.auth-brand .logo-icon { width: 52px; height: 52px; line-height: 52px; font-size: 26px; border-radius: 14px; }
.auth-brand-text h2 { font-size: 19px; color: #2d3748; }
.auth-brand-text small { font-size: 12px; color: #999; }
.auth-title { font-size: 22px; font-weight: 700; color: #2d3748; margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); font-size: 13px; }

.auth-body { padding: 0 40px 32px; }
.auth-footer {
    padding: 18px 40px 28px; text-align: center; font-size: 13px; color: #888;
    border-top: 1px solid var(--border);
}
.auth-footer a { color: var(--primary); font-weight: 500; margin: 0 3px; }
.code-group { display: flex; gap: 10px; }
.code-group .form-control { flex: 1; }
.code-group .btn { white-space: nowrap; }
.code-group .btn:disabled { background: #e9ecef; color: #aaa; border-color: #e9ecef; }

/* ---------- 预约日历视图 ---------- */
.booking-calendar {
    background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.calendar-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.calendar-nav { display: flex; gap: 10px; align-items: center; }
.calendar-nav .date-label {
    font-size: 18px; font-weight: 700; min-width: 160px; text-align: center;
}
.weekdays, .days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekdays div {
    text-align: center; padding: 10px; font-weight: 600; color: #666;
    background: #f8f9fb; border-radius: 6px; font-size: 13px;
}
.day-cell {
    aspect-ratio: 1/1; border: 1px solid var(--border); border-radius: 8px;
    padding: 8px; cursor: pointer; transition: all .2s; position: relative;
    display: flex; flex-direction: column; min-height: 90px;
}
.day-cell:hover { border-color: var(--primary); background: #fafbff; }
.day-cell.other-month { opacity: .35; }
.day-cell.today { border-color: var(--primary); background: #f5f7ff; }
.day-cell.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; border-color: transparent;
}
.day-cell.selected .day-num { color: #fff; }
.day-cell.selected .count { color: rgba(255,255,255,.9); background: rgba(255,255,255,.2); }
.day-num { font-size: 16px; font-weight: 600; color: #333; }
.booking-count {
    margin-top: auto; font-size: 11px; text-align: center;
}
.booking-count .count {
    display: inline-block; background: #eef2ff; color: var(--primary);
    padding: 2px 8px; border-radius: 10px;
}

/* ---------- 时间轴/时间表 ---------- */
.timeline-wrap { overflow-x: auto; }
.timeline-table {
    min-width: 100%; border-collapse: collapse; background: #fff;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.timeline-table th, .timeline-table td {
    padding: 10px 12px; border: 1px solid var(--border); text-align: center; font-size: 13px;
    vertical-align: middle;
}
.timeline-table th { background: #f8f9fb; font-weight: 600; }
.timeline-table .room-th { text-align: left; width: 180px; }
.timeline-table .time-th { width: 80px; }
.timeline-table .slot { cursor: pointer; transition: all .15s; height: 46px; }
.timeline-table .slot:hover { background: #f5f7ff; }
.timeline-table .slot.booked {
    background: linear-gradient(90deg, rgba(231, 76, 60, .15), rgba(231, 76, 60, .25));
    color: var(--danger); cursor: not-allowed; font-weight: 500;
}
.timeline-table .slot.booked:hover { background: linear-gradient(90deg, rgba(231, 76, 60, .25), rgba(231, 76, 60, .35)); }
.timeline-table .slot.my-booking {
    background: linear-gradient(90deg, rgba(39, 174, 96, .15), rgba(39, 174, 96, .25));
    color: var(--success); font-weight: 500;
}
.timeline-table .slot.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

/* 预约模态框 */
.modal-mask {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none;
    align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
    background: #fff; border-radius: 12px; width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
    animation: modalIn .25s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-head {
    padding: 18px 24px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.modal-head h3 { font-size: 17px; font-weight: 600; }
.modal-close {
    width: 32px; height: 32px; line-height: 32px; text-align: center;
    border-radius: 6px; font-size: 20px; cursor: pointer; color: #999;
}
.modal-close:hover { background: #f5f6fa; color: #333; }
.modal-body { padding: 24px; }
.modal-foot {
    padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px;
}

/* ---------- 列表页筛选 ---------- */
.filter-bar {
    background: #fff; border-radius: var(--radius); padding: 16px 20px;
    box-shadow: var(--shadow-sm); margin-bottom: 20px;
    display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap;
}
.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 150px; }
.filter-bar .form-group:last-child { flex: 0 0 auto; }

/* ---------- 我的预约列表 ---------- */
.booking-list .booking-item {
    background: #fff; border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow-sm); margin-bottom: 14px;
    display: flex; gap: 16px; align-items: flex-start; transition: all .2s;
}
.booking-list .booking-item:hover { box-shadow: var(--shadow); }
.booking-item .bi-date {
    width: 76px; text-align: center; padding: 10px;
    background: linear-gradient(135deg, rgba(102,126,234,.1), rgba(118,75,162,.1));
    border-radius: 10px; flex-shrink: 0;
}
.booking-item .bi-date .d { font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1; }
.booking-item .bi-date .m { font-size: 12px; color: var(--primary-dark); margin-top: 4px; }
.booking-item .bi-date .w { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.booking-item .bi-body { flex: 1; }
.bi-body .bi-top {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px;
}
.bi-body .bi-top h4 { font-size: 16px; font-weight: 600; }
.bi-body .bi-meta {
    display: flex; gap: 16px; color: var(--text-muted); font-size: 13px; flex-wrap: wrap; margin-bottom: 8px;
}
.bi-body .bi-meta span { display: flex; align-items: center; gap: 4px; }
.bi-body .bi-actions { margin-top: 10px; }
.bi-body .bi-actions .btn { margin-right: 8px; }

/* 详情面板 */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.detail-grid > div { padding: 10px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.detail-grid > div.full { grid-column: 1/-1; }
.detail-grid label { color: var(--text-muted); margin-right: 10px; min-width: 80px; display: inline-block; }
.detail-grid span b { color: #333; }

/* ---------- 后台管理 ---------- */
.admin-layout { display: flex; min-height: calc(100vh - 70px); }
.admin-sidebar {
    width: 220px; background: #fff; border-right: 1px solid var(--border);
    padding: 20px 0; flex-shrink: 0;
}
.admin-sidebar h5 { padding: 0 20px; margin-bottom: 12px; color: #999; font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.admin-sidebar a {
    display: block; padding: 10px 20px; color: #555; border-left: 3px solid transparent;
    font-size: 14px;
}
.admin-sidebar a:hover { background: #f8f9fb; color: var(--primary); }
.admin-sidebar a.active {
    background: linear-gradient(90deg, rgba(102,126,234,.1), transparent);
    border-left-color: var(--primary); color: var(--primary); font-weight: 600;
}
.admin-content { flex: 1; padding: 24px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1f2937; color: #cbd5e0; margin-top: auto; }
.footer-wrap {
    padding: 40px 20px 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px;
}
.footer-info h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.footer-info p { font-size: 13px; color: #a0aec0; opacity: .85; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h5 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-links a, .footer-links p {
    display: block; color: #a0aec0; font-size: 13px; margin-bottom: 8px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 20px; font-size: 12px; color: #718096; text-align: center;
}

/* ---------- Toast ---------- */
.toast {
    position: fixed; top: 100px; left: 50%; transform: translateX(-50%) translateY(-20px);
    background: #fff; color: #333; padding: 14px 26px; border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.18); z-index: 9999;
    opacity: 0; pointer-events: none; transition: all .3s; border-left: 4px solid var(--primary);
    font-size: 14px; min-width: 240px; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info { border-left-color: var(--info); }

/* ---------- 空状态 ---------- */
.empty-state {
    padding: 60px 20px; text-align: center; color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 64px; margin-bottom: 16px; opacity: .5; }
.empty-state h4 { font-size: 16px; color: #666; margin-bottom: 6px; }
.empty-state p { font-size: 13px; margin-bottom: 20px; }

/* ---------- 个人中心 ---------- */
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.profile-card { background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.profile-card .avatar-lg {
    width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px;
    font-size: 36px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}
.profile-card h3 { font-size: 18px; color: #2d3748; }
.profile-card small { color: var(--text-muted); }
.profile-card .info-rows { margin-top: 20px; text-align: left; }
.profile-card .info-rows > div { padding: 10px 0; border-bottom: 1px dashed #eee; font-size: 13px; color: #555; }
.profile-card .info-rows label { color: var(--text-muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .hero { padding: 32px 24px; }
    .hero h1 { font-size: 24px; }
    .profile-layout { grid-template-columns: 1fr; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
    .footer-wrap { grid-template-columns: 1fr; gap: 30px; }
    .footer-links { grid-template-columns: 1fr; gap: 20px; }
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .container { padding: 0 14px; }
    .card { padding: 18px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-icon { width: 44px; height: 44px; font-size: 18px; }
    .stat-info h4 { font-size: 20px; }
    .form-row { flex-direction: column; gap: 0; }
    .booking-item { flex-direction: column; }
    .booking-item .bi-date { width: auto; display: flex; align-items: center; gap: 12px; padding: 12px; }
    .booking-item .bi-date .d { font-size: 28px; }
    .weekdays div, .day-cell { font-size: 11px; padding: 4px; }
    .day-cell { min-height: 60px; }
    .day-num { font-size: 13px; }
    .auth-card { border-radius: 12px; }
    .auth-header, .auth-body, .auth-footer { padding-left: 24px; padding-right: 24px; }
}
