/* ============================================
   体育馆预约系统 - 前端公共样式
   ============================================ */

/* ---------- LAYUI样式覆盖（必须在layui.css之后加载） ---------- */

/* 重置layui.css对body的全局影响 */
body.layui-body { position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; overflow: auto !important; margin: 0 !important; padding: 0 !important; }
.layui-layout-admin .layui-body { position: static !important; left: 0 !important; top: 0 !important; }

/* 确保前台不受admin.css影响 */
.layui-layout-admin .layui-side,
.layui-layout-admin .layui-header,
.layui-layout-admin .layui-logo { display: none !important; }

/* layui-form在前台不需要左侧label偏移 */
.www-container .layui-form-label { width: auto !important; padding: 9px 10px !important; }
.www-container .layui-input-block { margin-left: 0 !important; }
.www-container .layui-form-item { margin-bottom: 0 !important; }

/* 轮播图覆盖layui默认高度 */
.layui-carousel { overflow: hidden; }

/* layui-btn圆角和阴影 */
.www-container .layui-btn { border-radius: 3px; }

/* ---------- 基础重置 ---------- */
html { background: #f2f2f2; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: #333; background: #f2f2f2; line-height: 1.6; }
a { color: #1E9FFF; text-decoration: none; }
a:hover { color: #0b76c4; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

/* ---------- 顶部导航 ---------- */
.www-header {
    background: #393D49;
    height: 60px;
    line-height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.www-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
}
.www-header .logo {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.www-header .logo:hover { color: #fff; }
.www-header .logo i {
    font-size: 26px;
    margin-right: 8px;
    vertical-align: middle;
}
.www-header .nav-menu {
    display: flex;
    gap: 4px;
}
.www-header .nav-menu a {
    color: rgba(255,255,255,.7);
    padding: 0 16px;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    font-size: 15px;
    transition: color .2s, background .2s;
    text-decoration: none;
}
.www-header .nav-menu a:hover,
.www-header .nav-menu a.active {
    color: #fff;
    background: rgba(255,255,255,.08);
}
.www-header .user-info {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.www-header .user-info span { color: rgba(255,255,255,.8); font-size: 14px; }
.www-header .user-info a { color: #FFB800; text-decoration: none; }
.www-header .user-info .btn-login {
    background: #1E9FFF;
    color: #fff;
    padding: 6px 18px;
    border-radius: 3px;
    font-size: 13px;
    display: inline-block;
    line-height: normal;
    text-decoration: none;
}
.www-header .user-info .btn-login:hover { background: #0b76c4; color: #fff; }
.www-header .user-info .btn-reg {
    background: transparent;
    color: rgba(255,255,255,.8);
    padding: 5px 14px;
    border-radius: 3px;
    font-size: 13px;
    display: inline-block;
    line-height: normal;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.3);
    transition: all .2s;
}
.www-header .user-info .btn-reg:hover { border-color: #FFB800; color: #FFB800; }

/* 移动端汉堡菜单 */
.www-header .mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* ---------- 页面主体容器 ---------- */
.www-container {
    max-width: 1200px;
    margin: 80px auto 30px;
    padding: 0 20px;
    min-height: calc(100vh - 180px);
}
/* auth页面容器：紧凑布局不出现滚动条 */
.auth-page .www-container,
.www-container .auth-page {
    min-height: calc(100vh - 165px);
}

/* ---------- 面包屑导航 ---------- */
.breadcrumb {
    padding: 12px 0;
    margin-bottom: 16px;
    font-size: 13px;
    color: #999;
}
.breadcrumb a { color: #1E9FFF; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* ---------- 轮播图区域 ---------- */
.banner-wrap {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.banner-wrap .layui-carousel { height: 360px; }
.banner-wrap img { width: 100%; height: 360px; object-fit: cover; display: block; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
    background: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.filter-bar .layui-form-item { margin-bottom: 0; }
.filter-bar .filter-label {
    font-weight: bold;
    color: #666;
    margin-right: 12px;
    min-width: 70px;
    display: inline-block;
    font-size: 14px;
}
.filter-bar .filter-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-bar .filter-tags .tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    background: #f6f6f6;
    transition: all .2s;
    border: 1px solid transparent;
    user-select: none;
}
.filter-bar .filter-tags .tag:hover { color: #1E9FFF; border-color: #1E9FFF; }
.filter-bar .filter-tags .tag.active {
    color: #fff;
    background: #1E9FFF;
    border-color: #1E9FFF;
}

/* 分类标签横向滚动（分类多时不挤压） */
.filter-bar .filter-tags.scrollable {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 4px;
    max-width: 100%;
}
.filter-bar .filter-tags.scrollable::-webkit-scrollbar { height: 4px; }
.filter-bar .filter-tags.scrollable::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.filter-bar .filter-tags.scrollable .tag { flex-shrink: 0; white-space: nowrap; }

/* ---------- 场馆列表页 Tab布局 ---------- */
.venue-tab-bar {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    overflow: hidden;
}

/* LAYUI Tab 覆盖样式 - 场馆分类 */
.venue-tab-bar .layui-tab {
    margin: 0;
}
.venue-tab-bar .layui-tab-title {
    border-bottom: 2px solid #f0f0f0;
    height: auto;
    padding: 0 16px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.venue-tab-bar .layui-tab-title::-webkit-scrollbar { height: 3px; }
.venue-tab-bar .layui-tab-title::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.venue-tab-bar .layui-tab-title li {
    min-width: auto;
    padding: 0 20px;
    line-height: 48px;
    font-size: 15px;
    color: #666;
    transition: color .2s;
}
.venue-tab-bar .layui-tab-title li:hover { color: #1E9FFF; }
.venue-tab-bar .layui-tab-title li.layui-this {
    color: #1E9FFF;
    font-weight: 600;
}
.venue-tab-bar .layui-tab-title li.layui-this::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 32px;
    height: 3px;
    background: #1E9FFF;
    border-radius: 2px 2px 0 0;
}

/* Tab不需要内容区域（只用来切换，内容由JS渲染） */
.venue-tab-bar .layui-tab-content { display: none; }

/* Tab右侧搜索栏 */
.venue-tab-bar .tab-search {
    padding: 10px 20px 14px;
    border-top: 1px solid #f6f6f6;
    background: #fafbfc;
}
.venue-tab-bar .search-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.venue-tab-bar .search-group .filter-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}
.venue-tab-bar .search-group .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    background: #f6f6f6;
    transition: all .2s;
    border: 1px solid transparent;
    user-select: none;
}
.venue-tab-bar .search-group .tag:hover { color: #1E9FFF; border-color: #1E9FFF; }
.venue-tab-bar .search-group .tag.active {
    color: #fff;
    background: #1E9FFF;
    border-color: #1E9FFF;
}

/* ---------- 场馆卡片列表 ---------- */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.venue-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.venue-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.venue-card .card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.venue-card .card-img-placeholder {
    width: 100%;
    height: 180px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 40px;
}
.venue-card .card-body {
    padding: 14px 16px;
    flex: 1;
}
.venue-card .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.venue-card .card-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.venue-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.venue-card .card-meta .price {
    color: #FF5722;
    font-size: 18px;
    font-weight: bold;
}
.venue-card .card-meta .price em {
    font-style: normal;
    font-size: 12px;
    font-weight: normal;
}
.venue-card .card-meta .status-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
}
.status-open { background: #e8f5e9; color: #4CAF50; }
.status-closed { background: #fce4ec; color: #f44336; }
.status-maintain { background: #e3f2fd; color: #2196F3; }

.venue-card .card-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.venue-card .card-footer .location {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.venue-card .card-footer .location i { margin-right: 4px; }
.venue-card .card-footer .btn-book {
    background: #1E9FFF;
    color: #fff;
    padding: 5px 16px;
    border-radius: 3px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.venue-card .card-footer .btn-book:hover { background: #0b76c4; color: #fff; }
.venue-card .card-footer .btn-book.disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ---------- 区块标题 ---------- */
.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1E9FFF;
    display: flex;
    align-items: center;
}
.section-title i { font-size: 22px; margin-right: 8px; color: #1E9FFF; }
.section-title .more-link {
    font-size: 13px;
    color: #999;
    font-weight: normal;
    margin-left: auto;
    text-decoration: none;
}
.section-title .more-link:hover { color: #1E9FFF; }

/* ---------- 公告列表 ---------- */
.news-list {
    background: #fff;
    border-radius: 8px;
    padding: 0 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.news-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #eee;
}
.news-item:last-child { border-bottom: none; }
.news-item .news-date {
    width: 70px;
    text-align: center;
    flex-shrink: 0;
}
.news-item .news-date .day {
    font-size: 24px;
    font-weight: bold;
    color: #1E9FFF;
    line-height: 1.2;
}
.news-item .news-date .month {
    font-size: 12px;
    color: #999;
}
.news-item .news-content {
    flex: 1;
    margin-left: 16px;
    overflow: hidden;
}
.news-item .news-content .news-title {
    font-size: 15px;
    color: #333;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}
.news-item .news-content .news-title:hover { color: #1E9FFF; }
.news-item .news-content .news-brief {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-item .hot-tag {
    background: #FF5722;
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 2px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ---------- 帮助入口 ---------- */
.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.help-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    transition: transform .2s;
    cursor: pointer;
}
.help-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.help-card i { font-size: 36px; color: #1E9FFF; margin-bottom: 10px; display: block; }
.help-card .help-title { font-size: 14px; color: #333; }

/* ---------- 底部版权 ---------- */
.www-footer {
    background: #393D49;
    color: rgba(255,255,255,.5);
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
    margin-top: 40px;
}
.www-footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.www-footer a:hover { color: #fff; }

/* auth页面底部无间距 */
.auth-page ~ .www-footer,
.www-container .auth-page ~ .www-footer { margin-top: 0; }

/* auth页面专用紧凑布局 */
body.auth-body-page .www-container { margin-bottom: 0; min-height: calc(100vh - 130px); }
body.auth-body-page .www-footer { margin-top: 0; padding: 12px 20px; }

/* ---------- 登录/注册页居中 ---------- */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 20px 0;
}
.auth-card {
    width: 420px;
    max-width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    overflow: hidden;
}
.auth-header {
    background: linear-gradient(135deg, #1E9FFF, #0b76c4);
    color: #fff;
    text-align: center;
    padding: 28px 24px 22px;
}
.auth-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}
.auth-header p {
    font-size: 14px;
    opacity: .85;
    margin: 0;
}
.auth-body {
    padding: 24px 32px 18px;
}
.auth-body .layui-form-item {
    position: relative;
    margin-bottom: 20px !important;
}
.auth-body .layui-input {
    padding-left: 42px;
    height: 42px;
    border-radius: 6px;
    border-color: #e6e6e6;
    font-size: 14px;
}
.auth-body .layui-input:focus {
    border-color: #1E9FFF;
    box-shadow: 0 0 0 3px rgba(30,159,255,.1);
}
.auth-body .login-icon {
    position: absolute;
    left: 1px;
    top: 1px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #999;
    font-size: 18px;
    z-index: 1;
    pointer-events: none;
}
.auth-body .layui-btn {
    height: 44px;
    line-height: 44px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
}
.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px !important;
    margin-bottom: 28px !important;
    padding-top: 4px;
}
.auth-links a {
    color: #1E9FFF;
    font-size: 13px;
}
.auth-links a:hover {
    color: #0b76c4;
}
.auth-body .login-code-img {
    height: 42px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
}

/* ---------- 两栏布局 ---------- */
.main-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.main-layout .main-content { flex: 1; min-width: 0; }
.main-layout .side-content { width: 320px; flex-shrink: 0; }

/* ---------- 预约详情页 ---------- */
.booking-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.booking-venue-info {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.booking-venue-info .venue-img {
    width: 300px;
    height: 200px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.booking-venue-info .venue-img-placeholder {
    width: 300px;
    height: 200px;
    border-radius: 6px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 48px;
    flex-shrink: 0;
}
.booking-venue-info .venue-detail { flex: 1; }
.booking-venue-info .venue-detail h2 { font-size: 22px; margin-bottom: 10px; color: #333; }
.booking-venue-info .venue-detail p { color: #666; margin-bottom: 6px; font-size: 14px; }
.booking-venue-info .venue-detail p i { margin-right: 6px; color: #1E9FFF; }

/* 预约表单区域 */
.booking-form-section {
    margin-top: 24px;
}
.booking-form-section h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.booking-form-section h3 i { color: #1E9FFF; margin-right: 6px; }

/* 日期选择行 */
.date-select-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.date-select-row label {
    font-weight: bold;
    color: #666;
    white-space: nowrap;
}

/* 时间段选择 */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin: 5px 0;
}
.time-slot {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.time-slot:hover { border-color: #1E9FFF; }
.time-slot.selected { border-color: #1E9FFF; background: #e8f4fd; }
.time-slot.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #f0f0f0;
}
.time-slot .slot-time { font-size: 15px; font-weight: bold; margin-bottom: 4px; }
.time-slot .slot-status { font-size: 12px; }
.time-slot.selected .slot-time { color: #1E9FFF; }

/* 费用预览 */
.cost-preview {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cost-preview .cost-label { color: #666; font-size: 14px; }
.cost-preview .cost-value { font-size: 24px; font-weight: bold; color: #FF5722; }
.cost-preview .cost-value em { font-style: normal; font-size: 14px; font-weight: normal; }

/* 提交按钮区 */
.booking-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.booking-actions .layui-btn { min-width: 160px; height: 42px; line-height: 42px; font-size: 16px; }

/* ---------- 会员中心 ---------- */
.member-layout {
    display: flex;
    gap: 24px;
    min-height: 600px;
    align-items: flex-start;
}
.member-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    overflow: hidden;
}
.member-profile {
    background: linear-gradient(135deg, #1E9FFF 0%, #0b76c4 100%);
    padding: 24px 16px;
    text-align: center;
    color: #fff;
}
.member-profile .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.5);
    margin-bottom: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #1E9FFF;
}
.member-profile .nickname { font-size: 16px; font-weight: bold; }
.member-profile .phone { font-size: 13px; opacity: .8; margin-top: 4px; }

.member-nav { padding: 8px 0; }
.member-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.member-nav .nav-item i { margin-right: 10px; font-size: 18px; }
.member-nav .nav-item:hover { background: #f6f6f6; color: #1E9FFF; }
.member-nav .nav-item.active { background: #e8f4fd; color: #1E9FFF; border-right: 3px solid #1E9FFF; }

.member-content {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    padding: 24px;
    min-width: 0;
}
.member-content .page-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* 统计卡片 */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    border-left: 4px solid #1E9FFF;
}
.stat-card.card-warning { border-left-color: #FF9800; }
.stat-card.card-success { border-left-color: #4CAF50; }
.stat-card.card-danger { border-left-color: #f44336; }
.stat-card .stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}
.stat-card .stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

/* 预约列表 */
.reservation-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow .2s;
}
.reservation-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.reservation-card .res-info { flex: 1; min-width: 0; }
.reservation-card .res-info .res-title { font-size: 16px; font-weight: bold; margin-bottom: 6px; }
.reservation-card .res-info .res-meta { font-size: 13px; color: #999; }
.reservation-card .res-info .res-meta span { margin-right: 16px; }
.reservation-card .res-status {
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}
.reservation-card .res-actions {
    margin-left: 16px;
    display: flex;
    gap: 8px;
}
.res-status-pending { background: #fff8e1; color: #FF9800; }
.res-status-approved { background: #e8f5e9; color: #4CAF50; }
.res-status-rejected { background: #fce4ec; color: #f44336; }
.res-status-cancelled { background: #f5f5f5; color: #999; }

/* 筛选行 */
.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-row .layui-form-select,
.filter-row .layui-input {
    display: inline-block;
}
.filter-row select { height: 36px; }

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: #ccc;
}
.empty-state i { font-size: 60px; display: block; margin-bottom: 16px; }
.empty-state p { font-size: 15px; color: #999; }

/* ---------- 分页增强 ---------- */
.layui-laypage { text-align: center; margin-top: 20px; }

/* ---------- 详情页内容 ---------- */
.detail-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.detail-content h1 {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.4;
    color: #333;
}
.detail-content .detail-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.detail-content .detail-meta span { margin-right: 20px; }
.detail-content .detail-body { line-height: 1.8; font-size: 15px; color: #555; }
.detail-content .detail-body img { max-width: 100%; border-radius: 4px; }

/* ---------- 帮助页 ---------- */
.help-search-box {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.help-search-box .search-input-wrap {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.help-search-box .search-input-wrap input {
    flex: 1;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 0 14px;
    font-size: 14px;
}
.help-search-box .search-input-wrap input:focus { border-color: #1E9FFF; outline: none; }
.help-search-box .search-input-wrap button { height: 40px; }

.help-list { background: #fff; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,.04); padding: 20px; }
.help-list .help-type-title {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px;
    padding-left: 10px;
    border-left: 3px solid #1E9FFF;
    color: #333;
}
.help-list .help-type-title:first-child { margin-top: 0; }
.help-list .help-item {
    padding: 12px 16px;
    border-bottom: 1px dashed #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background .2s;
}
.help-list .help-item:hover { background: #f9f9f9; }
.help-list .help-item:last-child { border-bottom: none; }
.help-list .help-item .help-q {
    font-size: 14px;
    color: #333;
    flex: 1;
}
.help-list .help-item .help-q i { color: #1E9FFF; margin-right: 6px; }
.help-list .help-item .help-arrow { color: #ccc; font-size: 14px; }

/* 联系方式卡片 */
.contact-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.contact-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}
.contact-card .contact-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}
.contact-card .contact-item i { font-size: 18px; color: #1E9FFF; margin-right: 10px; width: 20px; text-align: center; }

/* ---------- 个人资料编辑 ---------- */
.profile-form { max-width: 500px; }
.profile-form .layui-form-label { width: 80px; }
.profile-form .layui-input-block { margin-left: 110px; }
.profile-form .avatar-edit {
    text-align: center;
    margin-bottom: 20px;
}
.profile-form .avatar-edit .avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e8e8e8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #1E9FFF;
    cursor: pointer;
}
.profile-form .avatar-edit p { font-size: 13px; color: #999; margin-top: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .venue-grid { grid-template-columns: repeat(2, 1fr); }
    .main-layout { flex-direction: column; }
    .main-layout .side-content { width: 100%; }
    .www-header .nav-menu { display: none; }
    .www-header .mobile-menu-btn { display: block; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .time-slots { grid-template-columns: repeat(3, 1fr); }
    .booking-venue-info { flex-direction: column; }
    .booking-venue-info .venue-img,
    .booking-venue-info .venue-img-placeholder { width: 100%; }
}
@media (max-width: 768px) {
    .venue-grid { grid-template-columns: 1fr; }
    .help-grid { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    .member-layout { flex-direction: column; }
    .member-sidebar { width: 100%; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .filter-bar .filter-tags { gap: 4px; }
    .filter-bar .filter-tags .tag { padding: 3px 10px; font-size: 12px; }
    .banner-wrap .layui-carousel { height: 200px; }
    .banner-wrap img { height: 200px; }
    .venue-tab-bar .layui-tab-title li { padding: 0 12px; font-size: 14px; }
    .venue-tab-bar .search-group { gap: 8px; }
}
@media (max-width: 480px) {
    .stat-cards { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    .www-header .header-inner { padding: 0 12px; }
    .www-container { padding: 0 12px; }
    .auth-card { width: 100%; border-radius: 8px; }
    .auth-header { padding: 24px 16px 20px; }
    .auth-header h2 { font-size: 18px; }
    .auth-body { padding: 20px 16px 16px; }
}

/* ---------- 移动端导航展开 ---------- */
.nav-menu.show {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #393D49;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 998;
}
.nav-menu.show a {
    height: 48px;
    line-height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* ---------- 通用辅助 ---------- */
.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; }
.pt-20 { padding-top: 20px; }
.clearfix::after { content: ''; display: table; clear: both; }
