/* 泡泡龙运动平台 - 自定义样式补充 */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #10b981;
    --accent: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.aspect-ratio-1 { aspect-ratio: 1; }
.aspect-ratio-16-9 { aspect-ratio: 16/9; }

.coach-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.rating-stars {
    color: #f59e0b;
}
/* ============================================
   上门体育教练平台 - 移动端样式
   设计语言：运动活力 + 微信原生感
   ============================================ */

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FFF0EB;
    --secondary: #FFD93D;
    --accent: #2DD34A;
    --bg: #F5F6FA;
    --card: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --radius: 12px;
    --radius-sm: 8px;
    --safe-bottom: env(safe-area-inset-bottom, 0);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
input, textarea, button { font-family: inherit; font-size: inherit; }

/* ========== Header ========== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    color: #151515;
    border-bottom: 1px solid #EEEAE4;
    box-shadow: none;
}
.app-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 16px;
    box-sizing: border-box;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
.logo-icon { font-size: 28px; }
.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #151515;
}
.header-bell {
    position: relative;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    color: #6F6A64;
}
.header-bell:hover { color: #151515; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-btn {
    padding: 7px 16px;
    border-radius: 20px;
    background: #FAFAF8;
    font-size: 14px;
    color: #151515;
}
.header-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #FFF1E8;
    color: #FF6B35;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 600;
}

.app-main {
    padding-bottom: 80px;
}

/* ========== Tab Bar ========== */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid var(--border);
    padding-bottom: var(--safe-bottom);
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 6px;
    font-size: 10px;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.tab-item.active { color: var(--primary); }
.tab-icon { font-size: 22px; margin-bottom: 2px; }
.tab-label { font-size: 11px; }

/* ========== 浮动返回按钮 ========== */
.float-back-btn {
    position: fixed;
    bottom: 30px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.float-back-btn:active {
    transform: scale(0.9);
    background: rgba(0,0,0,0.8);
}

/* ========== Search Bar ========== */
.search-bar {
    padding: 10px 16px;
    background: #fff;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: 24px;
    padding: 10px 16px;
    gap: 8px;
}
.search-icon { font-size: 16px; opacity: 0.5; }
.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
}

/* ========== Hero Banner ========== */
.hero-banner {
    margin: 12px 16px;
    padding: 28px 24px;
    background: linear-gradient(135deg, #FF6B35, #FF9A5C);
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: '🏅';
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 100px;
    opacity: 0.15;
}
.hero-content h1 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.highlight { color: var(--secondary); }
.hero-content p { font-size: 14px; opacity: 0.9; margin-bottom: 16px; }
.hero-stats { display: flex; gap: 24px; margin-bottom: 18px; }
.hero-stat { display: flex; flex-direction: column; }
.stat-num { font-size: 20px; font-weight: 800; }
.stat-label { font-size: 11px; opacity: 0.8; }
.hero-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #fff;
    color: var(--primary);
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ========== Sections ========== */
.section { padding: 20px 16px; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.section-header h2 { font-size: 18px; font-weight: 700; }
.section-more { font-size: 13px; color: var(--primary); }

/* ========== Category Grid ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.category-card:active { transform: scale(0.96); }
.category-icon { font-size: 28px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; }
.sport-ico {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.sport-ico-emoji { display: inline-block; line-height: 1; }
.category-icon .sport-ico,
.hcs-icon .sport-ico,
.bub .sport-ico,
.cat-icon-circle .sport-ico,
.sd-icon.category .sport-ico {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    display: block;
}
.category-icon,
.bub,
.cat-icon-circle,
.sd-icon.category {
    overflow: hidden;
}
.ms-opt-label { display: inline-flex; align-items: center; gap: 8px; }
.ms-option.active { background: #FFF1E8; }
.category-name { font-size: 12px; font-weight: 600; text-align: center; }
.category-price { font-size: 10px; color: var(--primary); margin-top: 2px; }

/* ========== Coach Cards ========== */
.coach-list { display: flex; flex-direction: column; gap: 12px; }
.coach-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.coach-card:active { transform: scale(0.98); }
.coach-avatar-wrap { position: relative; flex-shrink: 0; }
.coach-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: 700;
}
.online-dot {
    position: absolute; bottom: 2px; right: 2px;
    width: 12px; height: 12px;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
}
.coach-info { flex: 1; min-width: 0; }
.coach-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.coach-name { font-size: 16px; font-weight: 700; }
.cname { display: inline-flex; align-items: baseline; flex-wrap: wrap; min-width: 0; }
.cname-real { font-weight: 700; letter-spacing: 0.08em; color: #151515; }
.cname-nick { font-weight: 400; font-size: 0.82em; letter-spacing: 0.1em; color: #8A847C; }
.coach-gender { font-size: 12px; color: var(--text-secondary); }
.verified-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 4px;
}
.coach-specialties { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.tag {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
}
.tag.club { background: #F3E8FF; color: #9333EA; }
.coach-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.coach-rating { color: var(--primary); font-weight: 600; }
.coach-price .price { font-size: 18px; font-weight: 800; color: var(--primary); }
.price-unit { font-size: 11px; color: var(--text-secondary); }

/* ========== Coach List Full (coaches page) ========== */
.coach-list-full { padding: 0 16px; }
.coach-card-full {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}
.coach-avatar-lg { flex-shrink: 0; position: relative; }
.avatar-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; font-weight: 700;
}
.online-badge {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    padding: 1px 8px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    white-space: nowrap;
}
.coach-detail { flex: 1; min-width: 0; }
.coach-bio {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.coach-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 6px;
}
.gender-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}
.gender-badge.male { background: #E3F2FD; color: #1565C0; }
.gender-badge.female { background: #FCE4EC; color: #C62828; }
.verified-badge-lg {
    font-size: 10px;
    padding: 2px 8px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 4px;
}
.rating-badge {
    background: #FFF8E1;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    color: #F57F17;
}
.meta-text { color: var(--text-light); font-size: 12px; }

/* ========== Map ========== */
.map-section { position: relative; }
.map-toggle {
    display: flex;
    background: #fff;
    padding: 8px 16px;
    gap: 8px;
}
.view-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.view-btn.active {
    background: var(--primary);
    color: #fff;
}
.coach-map {
    height: 300px;
    margin: 0 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ========== Filter & Sort ========== */
.filter-bar {
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.filter-scroll { display: flex; gap: 8px; white-space: nowrap; }
.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg);
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}
.filter-chip.active {
    background: var(--primary);
    color: #fff;
}
.sort-bar {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}
.sort-label { font-size: 12px; color: var(--text-secondary); }
.sort-item {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--text-secondary);
}
.sort-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* ========== Coach Detail ========== */
.coach-profile-header {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    padding: 24px 16px;
    color: #fff;
}
.profile-top { display: flex; gap: 16px; align-items: flex-start; }
.profile-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}
.profile-basic { flex: 1; }
.profile-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.profile-name-row h1 { font-size: 22px; }
.profile-bio { font-size: 13px; opacity: 0.9; margin-bottom: 4px; }
.profile-location { font-size: 12px; opacity: 0.8; }
.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.p-stat { text-align: center; }
.p-stat-num { display: block; font-size: 22px; font-weight: 800; }
.p-stat-label { font-size: 11px; opacity: 0.8; }

.price-cards {
    display: flex;
    gap: 12px;
    padding: 16px;
}
.price-card {
    flex: 1;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
}
.price-card.highlight {
    border-color: var(--primary);
    background: var(--primary-light);
}
.price-card-label { font-size: 12px; color: var(--text-secondary); display: block; }
.price-card-value { font-size: 24px; font-weight: 800; color: var(--primary); display: block; margin: 4px 0; }
.price-card-unit { font-size: 11px; color: var(--text-light); }

.detail-section {
    padding: 16px;
    background: var(--card);
    margin-bottom: 10px;
}
.detail-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.specialty-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.specialty-tag {
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.cert-list { display: flex; flex-direction: column; gap: 8px; }
.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #F0FDF4;
    border-radius: var(--radius-sm);
    font-size: 13px;
}
.cert-icon { color: var(--accent); font-weight: 700; }
.description-text { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.detail-map {
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 8px;
}
.map-address { font-size: 12px; color: var(--text-secondary); }
.rating-summary { font-size: 13px; font-weight: 400; color: var(--text-secondary); }
.no-reviews { font-size: 13px; color: var(--text-light); text-align: center; padding: 20px; }

/* ========== Reviews ========== */
.review-list { display: flex; flex-direction: column; gap: 10px; }
.review-card {
    padding: 14px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.review-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.review-stars { font-size: 12px; }
.review-date { font-size: 11px; color: var(--text-light); }
.review-content { font-size: 13px; line-height: 1.6; margin-bottom: 6px; }
.review-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.review-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: #FFF8E1;
    color: #F57F17;
    border-radius: 10px;
}

/* ========== Bottom Action Bar ========== */
.bottom-action-bar {
    position: fixed;
    bottom: 60px;
    left: 0; right: 0;
    display: flex;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid var(--border);
    gap: 12px;
    z-index: 90;
}
.action-btn {
    padding: 12px 0;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}
.fav-btn {
    flex: 0 0 100px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    gap: 2px;
}
.book-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

/* ========== Booking Page ========== */
.booking-page { padding-bottom: 20px; }
.booking-coach-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.booking-coach-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700;
}
.booking-coach-info { flex: 1; }
.booking-coach-name { font-weight: 600; display: block; }
.booking-coach-spec { font-size: 12px; color: var(--text-secondary); }
.booking-coach-price { color: var(--primary); font-weight: 700; font-size: 16px; }

.booking-section {
    padding: 16px;
    background: var(--card);
    margin-bottom: 10px;
}
.booking-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }

.service-select {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.service-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
}
.service-option input { display: none; }
.service-option.selected { border-color: var(--primary); background: var(--primary-light); }
.service-icon { font-size: 22px; margin-bottom: 4px; }
.service-name { font-weight: 500; }
.service-price { color: var(--primary); font-weight: 600; margin-top: 2px; }

.date-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.date-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    min-width: 60px;
    transition: all 0.2s;
}
.date-option input { display: none; }
.date-option.selected { border-color: var(--primary); background: var(--primary-light); }
.date-weekday { font-size: 11px; color: var(--text-secondary); }
.date-day { font-size: 14px; font-weight: 600; margin-top: 2px; }

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.time-option {
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.time-option input { display: none; }
.time-option.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }

.duration-options { display: flex; gap: 10px; }
.duration-option {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.duration-option input { display: none; }
.duration-option.selected { border-color: var(--primary); background: var(--primary-light); }
.dur-label { display: block; font-weight: 600; margin-bottom: 2px; }
.dur-price { display: block; font-size: 13px; color: var(--primary); font-weight: 700; }

.booking-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
}
.booking-input:focus { border-color: var(--primary); }
.input-hint { font-size: 11px; color: var(--text-light); margin-top: 6px; }
.booking-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    min-height: 80px;
    resize: vertical;
}

.booking-summary {
    margin: 16px;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.free-tag { color: var(--accent); font-weight: 600; }
.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dashed var(--border);
    font-weight: 700;
}
.total-price { font-size: 20px; color: var(--primary); }

.submit-booking-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 16px auto;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

/* ========== Payment ========== */
.payment-page { padding: 20px 16px; }
.payment-header { text-align: center; padding: 20px 0; }
.payment-icon { font-size: 48px; }
.payment-header h2 { font-size: 20px; margin-top: 8px; }
.payment-order-info {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.pay-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--bg);
}
.pay-row:last-child { border: none; }
.payment-amount {
    text-align: center;
    padding: 20px;
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.amount-label { font-size: 13px; color: var(--text-secondary); display: block; }
.amount-value { font-size: 36px; font-weight: 800; color: var(--primary); }

.payment-methods {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.payment-methods h3 { font-size: 15px; margin-bottom: 12px; }
.pay-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.pay-method-option input { display: none; }
.pay-method-option.selected { border-color: var(--primary); background: var(--primary-light); }
.pay-method-icon { font-size: 24px; }
.pay-method-name { flex: 1; font-weight: 500; }
.pay-method-check { color: var(--primary); opacity: 0; }
.pay-method-option.selected .pay-method-check { opacity: 1; }

.pay-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent), #4ADE80);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45,211,74,0.3);
}
.pay-submit-btn.paid {
    background: var(--accent);
}
.pay-note { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 12px; }

/* ========== Orders ========== */
.orders-page { padding: 16px; }
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.order-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    overflow: hidden;
}
.order-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg);
    font-size: 12px;
}
.order-no { color: var(--text-secondary); }
.order-status { font-weight: 600; }
.status-pending { color: #F59E0B; }
.status-confirmed { color: #3B82F6; }
.status-in_progress { color: var(--primary); }
.status-completed { color: var(--accent); }
.status-cancelled { color: var(--text-light); }

.order-body { padding: 12px 14px; }
.order-coach { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.order-info {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.order-location { font-size: 12px; color: var(--text-light); }

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid var(--bg);
}
.order-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.order-actions { display: flex; gap: 8px; }
.btn-sm {
    padding: 6px 14px;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
}
.btn-cancel { background: var(--bg); color: var(--text-secondary); }
.btn-pay { background: var(--primary); color: #fff; }
.btn-review { background: var(--secondary); color: var(--text); font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; }
.order-rated { font-size: 12px; color: var(--accent); }

/* ========== Login ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 50%);
}
.login-logo { text-align: center; margin-bottom: 40px; }
.login-icon { font-size: 64px; }
.login-logo h1 { font-size: 24px; margin-top: 12px; color: var(--primary); }
.login-logo p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
.login-form { width: 100%; max-width: 360px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--primary); }
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}
.login-hint { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 12px; }

/* ========== Profile ========== */
.profile-page { padding-bottom: 20px; }
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff;
}
.profile-avatar-lg {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700;
}
.profile-user-info h2 { font-size: 20px; }
.profile-user-info p { font-size: 13px; opacity: 0.8; }

.profile-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 16px;
    background: var(--card);
    margin: -12px 16px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}
.p-stat-item { text-align: center; }
.p-stat-item .p-stat-num { font-size: 22px; font-weight: 800; color: var(--primary); display: block; }
.p-stat-item .p-stat-label { font-size: 12px; color: var(--text-secondary); }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 16px;
}
.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 12px;
}
.qa-icon { font-size: 28px; }

.profile-section {
    padding: 16px;
    margin: 0 16px 12px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.profile-section h3 { font-size: 15px; margin-bottom: 12px; }
.fav-coach-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg);
}
.fav-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700;
}
.fav-info { flex: 1; }
.fav-name { font-weight: 600; display: block; }
.fav-spec { font-size: 12px; color: var(--text-secondary); }
.fav-rating-left { color: var(--primary); font-weight: 600; }

.profile-menu {
    margin: 0 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg);
    cursor: pointer;
    font-size: 14px;
}
.menu-item:last-child { border: none; }
.menu-arrow { color: var(--text-light); font-size: 18px; }
.logout-item { color: #EF4444; justify-content: center; }

/* ========== Safety Section ========== */
.safety-section { background: var(--card); margin: 0 0 10px; }
.safety-section h2 { text-align: center; margin-bottom: 16px; }
.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.safety-item {
    text-align: center;
    padding: 16px 12px;
    background: var(--bg);
    border-radius: var(--radius);
}
.safety-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.safety-item h3 { font-size: 14px; margin-bottom: 4px; }
.safety-item p { font-size: 11px; color: var(--text-secondary); }

/* ========== Admin ========== */
.admin-page { padding: 16px; }
.back-link { font-size: 13px; color: var(--primary); display: inline-block; margin-bottom: 16px; }
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.admin-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stat-icon { font-size: 24px; }
.stat-number { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-desc { font-size: 11px; color: var(--text-secondary); }

.admin-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.admin-nav-item {
    flex: 1;
    padding: 12px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}
.admin-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
.admin-section h3 { font-size: 15px; margin-bottom: 12px; }
.admin-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg);
}
.ao-no { font-size: 12px; color: var(--text-secondary); display: block; }
.ao-service { font-size: 13px; }
.ao-price { color: var(--primary); font-weight: 600; }

.admin-coach-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}
.acc-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 18px;
}
.acc-info { flex: 1; }
.acc-name { font-weight: 700; font-size: 15px; }
.acc-spec { font-size: 12px; color: var(--text-secondary); margin: 2px 0; }
.acc-stats { font-size: 12px; color: var(--text-secondary); }
.online-status { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.online-status.online { background: #E8F5E9; color: #2E7D32; }
.online-status.offline { background: var(--bg); color: var(--text-light); }

.admin-order-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    overflow: hidden;
}
.aoc-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg);
}
.aoc-no { font-size: 11px; color: var(--text-secondary); }
.aoc-body { padding: 10px 14px; }
.aoc-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
}
.aoc-price { color: var(--primary); font-weight: 600; }

.admin-review-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    margin-bottom: 10px;
}
.arc-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.arc-coach { font-weight: 600; }
.arc-content { font-size: 13px; margin-bottom: 6px; }
.arc-tags { display: flex; gap: 4px; margin-bottom: 6px; }
.arc-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light); }

/* ========== Modal ========== */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
}
.modal-content {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 360px;
}
.modal-content h3 { text-align: center; margin-bottom: 16px; }
.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.star {
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
    color: #E5E7EB;
}
.star.active { color: #FBBF24; }
.review-tag-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.tag-option {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
}
.tag-option input { display: none; }
.tag-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}
.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.modal-actions button { flex: 1; }

/* ========== Empty State ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.empty-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

/* ========== Footer Space ========== */
.footer-space { height: 80px; }
.footer-space-lg { height: 100px; }

/* ========== Coach Mode ========== */
.role-toggle-btn {
    background: rgba(255,255,255,0.25) !important;
    font-size: 12px !important;
    padding: 4px 10px !important;
}
.coach-mode-bar {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    gap: 12px;
    font-size: 13px;
}
.coach-mode-label { font-weight: 700; white-space: nowrap; font-size: 12px; }
.coach-mode-nav { display: flex; gap: 8px; flex: 1; }
.cm-item {
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    font-size: 12px;
    color: #fff;
}
.cm-switch-btn {
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
}

/* ========== Coach Recruitment Banner ========== */
.coach-recruit-banner {
    margin: 16px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.coach-recruit-banner::after {
    content: '🏅';
    position: absolute;
    right: -5px;
    bottom: -10px;
    font-size: 80px;
    opacity: 0.1;
}
.coach-recruit-banner h3 { font-size: 18px; margin-bottom: 8px; }
.coach-recruit-banner p { font-size: 13px; opacity: 0.8; margin-bottom: 16px; }
.coach-recruit-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
}

/* ========== Coach Dashboard ========== */
.coach-dash-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 20px 16px;
    color: #fff;
}
.cd-top { display: flex; align-items: center; gap: 14px; }
.cd-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
}
.cd-info { flex: 1; }
.cd-name { font-size: 18px; font-weight: 700; }
.cd-spec { font-size: 12px; opacity: 0.7; margin-top: 2px; }
.cd-online-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.toggle-switch {
    width: 44px; height: 24px;
    background: #555;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch.active { background: var(--accent); }
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}
.toggle-switch.active::after { transform: translateX(20px); }
.cd-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
}
.cd-stat {
    text-align: center;
    padding: 10px 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}
.cd-stat-num { font-size: 20px; font-weight: 800; display: block; }
.cd-stat-label { font-size: 10px; opacity: 0.7; }

.cd-section {
    padding: 16px;
    background: var(--card);
    margin-bottom: 10px;
}
.cd-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }

.cd-booking-card {
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.cdb-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cdb-user { font-weight: 600; font-size: 14px; }
.cdb-time { font-size: 12px; color: var(--text-secondary); }
.cdb-info { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.cdb-actions { display: flex; gap: 8px; }
.cdb-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 14px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
}
.cdb-btn-confirm { background: var(--accent); color: #fff; }
.cdb-btn-reject { background: #fee2e2; color: #dc2626; }
.cdb-btn-checkin { background: var(--primary); color: #fff; }
.cdb-btn-checkout { background: #3B82F6; color: #fff; }
.cdb-btn-report { background: var(--secondary); color: var(--text); }

/* ========== Fee Breakdown ========== */
.fee-breakdown {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 14px;
    margin: 12px 16px;
}
.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.fee-total {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px dashed var(--border);
    font-weight: 700;
    font-size: 15px;
}
.fee-total .fee-amount { color: var(--primary); font-size: 18px; }

.escrow-notice {
    margin: 12px 16px;
    padding: 12px 14px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #1E40AF;
    line-height: 1.6;
}

/* ========== Venue Mode Select ========== */
.venue-mode-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 12px;
}
.venue-mode-card {
    padding: 20px 14px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.venue-mode-card.selected {
    border-color: var(--primary);
    background: #FFF5F0;
}
.venue-mode-card .vmc-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.venue-mode-card .vmc-title { font-size: 14px; font-weight: 700; }
.venue-mode-card .vmc-desc { font-size: 11px; color: var(--text-secondary); margin-top: 4px; }

/* ========== Insurance Select ========== */
.insurance-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.insurance-option.selected { border-color: var(--primary); background: #FFF5F0; }
.insurance-option input[type="radio"] { display: none; }
.io-icon { font-size: 24px; }
.io-info { flex: 1; }
.io-name { font-weight: 600; font-size: 13px; }
.io-desc { font-size: 11px; color: var(--text-secondary); }
.io-price { color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ========== Venue List in Booking ========== */
.venue-list-booking { max-height: 300px; overflow-y: auto; }
.vlb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.vlb-item.selected { border-color: var(--primary); background: #FFF5F0; }
.vlb-icon { font-size: 24px; flex-shrink: 0; }
.vlb-info { flex: 1; min-width: 0; }
.vlb-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlb-meta { font-size: 11px; color: var(--text-secondary); }
.vlb-price { font-size: 13px; color: var(--primary); font-weight: 700; white-space: nowrap; }

/* ========== Training Report ========== */
.report-page { padding: 16px; }
.report-header {
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    padding: 20px 16px;
    color: #fff;
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.radar-chart {
    display: flex;
    justify-content: center;
    padding: 20px;
}
.radar-svg { width: 200px; height: 200px; }
.report-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.report-section h3 { font-size: 15px; margin-bottom: 10px; }
.report-text { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.score-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.score-label { font-size: 13px; width: 70px; }
.score-track {
    flex: 1;
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}
.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.5s;
}
.score-val { font-weight: 700; color: var(--primary); font-size: 14px; width: 30px; text-align: right; }

/* ========== Verification ========== */
.verify-progress {
    padding: 20px 16px;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff;
    text-align: center;
}
.vp-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 36px;
}
.vp-text { font-size: 16px; font-weight: 700; }
.vp-sub { font-size: 12px; opacity: 0.8; margin-top: 4px; }

.verify-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin: 12px 16px;
    box-shadow: var(--shadow);
}
.vc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.vc-icon { font-size: 28px; }
.vc-name { font-weight: 700; font-size: 14px; }
.vc-desc { font-size: 12px; color: var(--text-secondary); }
.vc-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.vc-status.unverified { background: var(--bg); color: var(--text-light); }
.vc-status.pending { background: #DBEAFE; color: #1E40AF; }
.vc-status.approved { background: #D1FAE5; color: #065F46; }
.vc-status.rejected { background: #FEE2E2; color: #DC2626; }
.vc-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bg); }
.vc-form .form-group { margin-bottom: 10px; }
.vc-form .form-input { padding: 10px 12px; font-size: 13px; }
.vc-required { color: #DC2626; font-size: 10px; margin-left: 4px; }

/* ========== Apply Pages ========== */
.apply-page { padding: 16px; }
.apply-banner {
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    padding: 28px 20px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}
.apply-banner h2 { font-size: 20px; margin-bottom: 8px; }
.apply-banner p { font-size: 13px; opacity: 0.9; }
.apply-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.apply-section h3 { font-size: 15px; margin-bottom: 12px; }
.apply-submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
}
.trust-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 16px;
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.trust-icon { font-size: 18px; flex-shrink: 0; }

/* ========== Success State ========== */
.success-state {
    text-align: center;
    padding: 60px 20px;
}
.success-icon { font-size: 64px; display: block; margin-bottom: 16px; }
.success-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.success-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

/* ========== Coach Profile Edit ========== */
.cpe-online-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

/* ========== Multi-tag Select ========== */
.tag-select-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-select-item {
    padding: 6px 14px;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.tag-select-item.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* ========== Order Venue Tag ========== */
.order-venue-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #EFF6FF;
    color: #1E40AF;
    border-radius: 8px;
    font-size: 11px;
    margin-top: 4px;
}
.escrow-tag {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}
.escrow-tag.escrowed { background: #DBEAFE; color: #1E40AF; }
.escrow-tag.released { background: #D1FAE5; color: #065F46; }
.escrow-tag.refunded { background: #FEE2E2; color: #DC2626; }

/* ========== Verified Badge on Cert ========== */
.cert-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
.cert-verify-badge.verified { background: #D1FAE5; color: #065F46; }
.cert-verify-badge.pending-verify { background: #DBEAFE; color: #1E40AF; }
.cert-verify-badge.unverified-cert { background: var(--bg); color: var(--text-light); }

/* ========== Admin Verify List ========== */
.av-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}
.av-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.av-coach-name { font-weight: 700; }
.av-type { font-size: 12px; color: var(--text-secondary); }
.av-detail { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.av-actions { display: flex; gap: 8px; }

/* ========== Booking Page - Venue Mode ========== */
.venue-mode-select { display: flex; flex-direction: column; gap: 10px; }
.venue-mode-option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; background: var(--card); border-radius: var(--radius);
    border: 2px solid var(--border); cursor: pointer; transition: all 0.2s;
}
.venue-mode-option.selected { border-color: var(--primary); background: var(--primary-light); }
.venue-mode-option input { display: none; }
.vm-icon { font-size: 24px; flex-shrink: 0; }
.vm-info { flex: 1; }
.vm-title { font-weight: 600; font-size: 14px; display: block; }
.vm-desc { font-size: 12px; color: var(--text-light); display: block; }
.vm-price { font-weight: 700; color: var(--primary); font-size: 13px; flex-shrink: 0; }

.venue-list-scroll { max-height: 220px; overflow-y: auto; }
.venue-pick-card {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; margin-bottom: 8px;
    background: var(--card); border-radius: var(--radius-sm);
    border: 2px solid var(--border); cursor: pointer; transition: all 0.2s;
}
.venue-pick-card.active { border-color: var(--primary); background: var(--primary-light); }
.vp-icon { font-size: 20px; }
.vp-info { flex: 1; min-width: 0; }
.vp-name { font-size: 13px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-badge { font-size: 9px; background: var(--primary); color: #fff; padding: 1px 5px; border-radius: 6px; margin-left: 4px; font-style: normal; }
.vp-meta { font-size: 11px; color: var(--text-light); }
.vp-price { font-size: 12px; font-weight: 700; color: var(--primary); flex-shrink: 0; }

.selected-venue-card {
    display: flex; align-items: center; gap: 10px;
    padding: 12px; background: var(--primary-light); border-radius: var(--radius);
    margin-bottom: 10px; border: 1px solid #FF6B3533;
}
.sv-icon { font-size: 22px; }
.sv-info { flex: 1; min-width: 0; }
.sv-name { font-weight: 600; font-size: 13px; display: block; }
.sv-addr { font-size: 11px; color: var(--text-light); display: block; }
.sv-price { font-weight: 700; color: var(--primary); }

/* ========== Insurance Options ========== */
.insurance-options { display: flex; flex-direction: column; gap: 8px; }
.insurance-option {
    display: flex; align-items: center; gap: 10px;
    padding: 12px; background: var(--card); border-radius: var(--radius-sm);
    border: 2px solid var(--border); cursor: pointer; transition: all 0.2s;
}
.insurance-option.selected { border-color: var(--primary); background: var(--primary-light); }
.insurance-option input { display: none; }
.insurance-option .ins-info { flex: 1; }
.insurance-option .ins-name { font-weight: 600; font-size: 13px; display: block; }
.insurance-option .ins-desc { font-size: 11px; color: var(--text-light); }
.insurance-option .ins-price { font-weight: 700; color: var(--primary); flex-shrink: 0; }
.insurance-option.disabled { opacity: 0.5; pointer-events: none; }

/* ========== Fee Breakdown ========== */
.booking-summary .escrow-notice {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px; margin-top: 10px;
    background: #EFF6FF; border-radius: var(--radius-sm);
    font-size: 12px; color: #1E40AF;
}
.escrow-icon { font-size: 16px; }

.fee-breakdown-card {
    background: var(--card); border-radius: var(--radius);
    padding: 16px; margin: 12px 0; box-shadow: var(--shadow);
}
.fee-breakdown-card h3 { margin-bottom: 10px; font-size: 14px; }
.fee-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; }
.fee-note { font-size: 11px; color: var(--text-light); }
.fee-divider { border-top: 1px dashed var(--border); margin: 8px 0; }
.fee-total { font-weight: 700; }
.fee-total-value { color: var(--primary); font-size: 16px; }

/* ========== Escrow Info Card ========== */
.escrow-info-card {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE); border-radius: var(--radius);
    padding: 16px; margin-bottom: 12px;
}
.escrow-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.escrow-shield { font-size: 20px; }
.escrow-title { font-weight: 700; font-size: 14px; color: #1E40AF; }
.escrow-steps { display: flex; gap: 8px; }
.escrow-step {
    flex: 1; display: flex; align-items: center; gap: 6px;
    padding: 8px; background: rgba(255,255,255,0.7); border-radius: var(--radius-sm);
    font-size: 11px;
}
.escrow-step.active { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.es-num {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--border); color: var(--text-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.escrow-step.active .es-num { background: var(--primary); color: #fff; }

/* ========== My Bookings - Fee & Escrow ========== */
.order-fee-toggle {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; margin-top: 6px;
    border-top: 1px dashed var(--border);
    font-size: 12px; color: var(--primary); cursor: pointer;
    font-weight: 600;
}
.fee-arrow { font-size: 10px; transition: transform 0.2s; }
.order-fee-detail { padding: 6px 0; }
.fee-line { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); padding: 3px 0; }
.fee-line-total { font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: 6px; margin-top: 4px; }
.order-escrow-status { margin-top: 6px; }
.escrow-tag { display: inline-flex; padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 600; }
.escrow-active { background: #DBEAFE; color: #1E40AF; }
.escrow-released { background: #D1FAE5; color: #065F46; }
.escrow-refunded { background: #FEE2E2; color: #DC2626; }

/* ========== Cert Verification Tags ========== */
.cert-verified-tag {
    display: inline-flex; font-size: 10px; padding: 2px 8px;
    background: #D1FAE5; color: #065F46; border-radius: 10px;
    margin-left: 8px; font-weight: 600; vertical-align: middle;
}
.cert-pending-tag {
    display: inline-flex; font-size: 10px; padding: 2px 8px;
    background: #FEF3C7; color: #92400E; border-radius: 10px;
    margin-left: 8px; font-weight: 600; vertical-align: middle;
}
.cert-badge {
    font-size: 9px; padding: 1px 5px; background: #D1FAE5; color: #065F46;
    border-radius: 4px; margin-left: auto;
}

/* ========== Coach Recruit Banner ========== */
.coach-recruit-section { padding: 0; }
.coach-recruit-banner {
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    border-radius: var(--radius); padding: 20px;
    color: #fff; text-align: center;
}
.recruit-content h2 { font-size: 18px; margin-bottom: 6px; }
.recruit-content p { font-size: 13px; opacity: 0.9; margin-bottom: 10px; }
.recruit-benefits { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.recruit-item { font-size: 12px; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 14px; }
.recruit-btn {
    display: inline-block; padding: 10px 24px;
    background: #fff; color: var(--primary); font-weight: 700;
    border-radius: 20px; font-size: 14px;
}

/* ========== Apply Pages ========== */
.apply-page { padding: 16px; }
.apply-header { text-align: center; padding: 20px 0; }
.apply-header h2 { font-size: 20px; margin-bottom: 4px; }
.apply-header p { color: var(--text-light); font-size: 13px; }
.apply-benefits {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.benefit-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; background: var(--card); border-radius: var(--radius-sm);
    font-size: 13px; box-shadow: var(--shadow);
}
.apply-form-card {
    background: var(--card); border-radius: var(--radius); padding: 16px;
    margin-bottom: 16px; box-shadow: var(--shadow);
}
.apply-form-card h3 { font-size: 15px; margin-bottom: 12px; color: var(--primary); }
.apply-trust-notice {
    background: #FFF7ED; border-radius: var(--radius); padding: 14px;
    margin-bottom: 16px; border: 1px solid #FDBA74;
}
.apply-trust-notice h4 { font-size: 13px; margin-bottom: 8px; }
.apply-trust-notice ul { padding-left: 16px; font-size: 12px; color: var(--text-secondary); }
.apply-trust-notice li { margin-bottom: 4px; }
.apply-success {
    text-align: center; padding: 40px 20px;
}
.success-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.apply-back-btn {
    display: inline-block; margin-top: 16px; padding: 10px 24px;
    background: var(--primary); color: #fff; border-radius: 20px; font-weight: 600;
}

/* ========== Coach Dashboard ========== */
.coach-dashboard { padding: 16px; }
.cd-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; background: var(--card); border-radius: var(--radius);
    margin-bottom: 12px; box-shadow: var(--shadow);
}
.cd-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FF8C5A);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.cd-info { flex: 1; }
.cd-info h2 { font-size: 16px; }
.cd-info p { font-size: 12px; color: var(--text-light); }
.cd-online-toggle { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cd-status-label { font-size: 11px; color: var(--accent); font-weight: 600; }
.toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border); border-radius: 22px; transition: 0.3s;
}
.toggle-slider:before {
    content: ""; position: absolute; height: 18px; width: 18px; left: 2px; bottom: 2px;
    background: #fff; border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(18px); }

.cd-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px;
}
.cd-stat {
    background: var(--card); border-radius: var(--radius); padding: 14px 8px;
    text-align: center; box-shadow: var(--shadow);
}
.cd-stat-num { display: block; font-size: 20px; font-weight: 700; color: var(--primary); }
.cd-stat-label { font-size: 11px; color: var(--text-light); }

.cd-section {
    background: var(--card); border-radius: var(--radius); padding: 14px;
    margin-bottom: 12px; box-shadow: var(--shadow);
}
.cd-section h3 { font-size: 14px; margin-bottom: 10px; }
.cd-badge {
    display: inline-flex; padding: 1px 8px; background: var(--primary);
    color: #fff; border-radius: 10px; font-size: 11px; margin-left: 6px;
}

.cd-booking-card {
    padding: 10px; margin-bottom: 8px; background: var(--bg);
    border-radius: var(--radius-sm); border-left: 3px solid var(--border);
}
.cd-booking-card.pending { border-left-color: var(--secondary); }
.cd-booking-card.today { border-left-color: var(--primary); }
.cd-booking-card.today.active { border-left-color: var(--accent); background: #F0FDF4; }
.cd-booking-info { margin-bottom: 6px; }
.cd-svc-name { font-weight: 600; font-size: 14px; display: block; }
.cd-datetime { font-size: 12px; color: var(--text-secondary); display: block; }
.cd-location { font-size: 12px; color: var(--text-light); display: block; }
.cd-price { font-weight: 700; color: var(--primary); font-size: 13px; }
.cd-booking-actions { display: flex; gap: 8px; }
.cd-status-badge {
    display: inline-block; padding: 2px 8px; border-radius: 8px;
    font-size: 10px; font-weight: 600; margin-top: 4px;
}
.cd-status-badge.status-confirmed { background: #DBEAFE; color: #1E40AF; }
.cd-status-badge.status-in_progress { background: #D1FAE5; color: #065F46; }
.cd-status-badge.status-completed { background: #F3F4F6; color: #6B7280; }
.cd-status-badge.status-cancelled { background: #FEE2E2; color: #DC2626; }
.cd-empty { text-align: center; padding: 20px; color: var(--text-light); font-size: 13px; }
.cd-review-card { padding: 10px; background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 8px; }
.cd-review-stars { font-size: 12px; }
.cd-review-content { font-size: 13px; margin: 4px 0; }
.cd-review-date { font-size: 11px; color: var(--text-light); }

/* ========== Coach Profile Edit ========== */
.coach-profile-edit { padding: 16px; }
.profile-edit-form {
    background: var(--card); border-radius: var(--radius); padding: 16px;
    box-shadow: var(--shadow);
}

/* ========== Verification Page ========== */
.verify-page { padding: 16px; }
.verify-progress { margin-bottom: 16px; }
.vp-bar {
    height: 8px; background: var(--border); border-radius: 4px; overflow: hidden;
}
.vp-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; transition: width 0.5s; }
.vp-text { font-size: 12px; color: var(--text-secondary); margin-top: 6px; text-align: center; }
.verify-complete-banner {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-radius: var(--radius); margin-bottom: 12px;
    font-weight: 700; color: #065F46;
}
.vc-icon { font-size: 20px; }

.verify-card {
    background: var(--card); border-radius: var(--radius); padding: 14px;
    margin-bottom: 10px; box-shadow: var(--shadow);
    border-left: 3px solid var(--border);
}
.verify-card.verified { border-left-color: var(--accent); }
.verify-card.rejected { border-left-color: #EF4444; }
.verify-card.pending { border-left-color: var(--secondary); }
.vc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vc-title-area { flex: 1; }
.vc-name { font-weight: 600; font-size: 14px; display: block; }
.vc-status {
    font-size: 11px; padding: 2px 8px; border-radius: 8px; font-weight: 600;
}
.vc-status.status-approved { background: #D1FAE5; color: #065F46; }
.vc-status.status-rejected { background: #FEE2E2; color: #DC2626; }
.vc-status.status-pending { background: #FEF3C7; color: #92400E; }
.vc-reject-reason {
    padding: 8px 10px; background: #FEF2F2; border-radius: var(--radius-sm);
    font-size: 12px; color: #DC2626; margin-bottom: 8px;
}
.vc-form { margin-top: 10px; }
.vc-hint { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.vc-commit-notice {
    padding: 12px; background: var(--bg); border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.vc-commit-notice p { font-size: 13px; margin-bottom: 6px; }
.vc-commit-notice ul { padding-left: 16px; font-size: 12px; color: var(--text-secondary); }

/* ========== Training Report ========== */
.report-page { padding: 16px; }
.report-order-info {
    background: var(--card); border-radius: var(--radius); padding: 14px;
    margin-bottom: 12px; box-shadow: var(--shadow);
}
.roi-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }
.roi-row span:first-child { color: var(--text-light); }
.report-view {
    background: var(--card); border-radius: var(--radius); padding: 16px;
    margin-bottom: 12px; box-shadow: var(--shadow);
}
.report-view h3 { margin-bottom: 10px; }
.report-content-display { font-size: 13px; line-height: 1.8; }
.report-section { margin-bottom: 12px; }
.report-section h4 { font-size: 13px; color: var(--primary); margin-bottom: 4px; }
.report-section p { font-size: 13px; color: var(--text-secondary); }
.report-edit-section {
    background: var(--card); border-radius: var(--radius); padding: 16px;
    box-shadow: var(--shadow);
}
.report-edit-section h3 { margin-bottom: 10px; }
.report-hint { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.report-form-section { margin-bottom: 12px; }
.report-pending {
    text-align: center; padding: 40px 20px;
    background: var(--card); border-radius: var(--radius);
}
.rp-icon { font-size: 40px; display: block; margin-bottom: 10px; }

/* ========== Venue Manager ========== */
.venue-manager-page { padding: 16px; }
.vm-card {
    background: var(--card); border-radius: var(--radius); padding: 14px;
    margin-bottom: 10px; box-shadow: var(--shadow);
}
.vm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.vm-name { font-weight: 700; font-size: 15px; }
.vm-badge {
    font-size: 10px; padding: 2px 8px; border-radius: 8px; font-weight: 600;
}
.vm-verified { background: #D1FAE5; color: #065F46; }
.vm-active { background: #DBEAFE; color: #1E40AF; }
.vm-inactive { background: #F3F4F6; color: #6B7280; }
.vm-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.vm-info-item { display: flex; gap: 4px; font-size: 12px; color: var(--text-secondary); }
.vm-stats { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.vm-sports-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ========== Admin Verifications ========== */
.admin-verify-page { padding: 16px; }
.verify-filter {
    display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto;
}
.vf-item {
    padding: 6px 14px; border-radius: 16px; font-size: 12px;
    background: var(--card); white-space: nowrap;
    border: 1px solid var(--border); transition: all 0.2s;
}
.vf-item.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.av-card {
    background: var(--card); border-radius: var(--radius); padding: 14px;
    margin-bottom: 10px; box-shadow: var(--shadow);
    border-left: 3px solid var(--border);
}
.av-card.av-approved { border-left-color: var(--accent); }
.av-card.av-rejected { border-left-color: #EF4444; }
.av-card.av-pending { border-left-color: var(--secondary); }
.av-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.av-coach-info { flex: 1; }
.av-coach-name { font-weight: 700; font-size: 14px; display: block; }
.av-type-badge { font-size: 11px; color: var(--text-secondary); }
.av-status { font-size: 11px; padding: 2px 8px; border-radius: 8px; font-weight: 600; }
.av-details { margin-bottom: 8px; }
.av-detail-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }
.av-detail-row span:first-child { color: var(--text-light); }
.av-reject-info { color: #DC2626; }
.av-actions { display: flex; gap: 8px; }

/* ========== Admin Nav Badge ========== */
.admin-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: #EF4444; color: #fff; border-radius: 9px;
    font-size: 10px; font-weight: 700;
}

/* ========== Button Styles ========== */
.btn-sm {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 14px; border-radius: 16px; font-size: 12px;
    font-weight: 600; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-accept { background: #D1FAE5; color: #065F46; }
.btn-reject { background: #FEE2E2; color: #DC2626; }
.btn-cancel { background: #F3F4F6; color: #6B7280; }
.btn-pay { background: var(--primary); color: #fff; }
.btn-review { background: #DBEAFE; color: #1E40AF; }
.btn-checkin { background: #D1FAE5; color: #065F46; }
.btn-checkout { background: #FEF3C7; color: #92400E; }
.btn-report { background: #EFF6FF; color: #1E40AF; }
.btn-sm.btn-report { background: #EFF6FF; color: #1E40AF; }

/* ========== 身份证实时校验结果 ========== */
.id-card-validate-result {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.id-card-validate-result.valid {
    background: #F0FDF4;
    border-color: #86EFAC;
    color: #166534;
}
.id-card-validate-result.invalid {
    background: #FEF2F2;
    border-color: #FCA5A5;
    color: #DC2626;
}
.id-card-validate-result.validating {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}
.vc-result-icon {
    font-size: 14px;
    margin-right: 6px;
}
.vc-valid-icon {
    color: #16A34A;
    font-weight: 700;
}
.vc-invalid-icon {
    color: #DC2626;
    font-weight: 700;
}
.vc-result-text {
    font-weight: 600;
}
.vc-result-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #86EFAC;
    font-size: 12px;
    color: #166534;
}
.vc-result-info span {
    white-space: nowrap;
}

/* 安全说明 */
.vc-security-note {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.6;
    padding: 8px 10px;
    background: #F0F9FF;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid #BAE6FD;
}

/* ===== 全局搜索 ===== */
.header-search {
    position: relative;
    flex: 1;
    max-width: 300px;
    margin: 0 12px;
}
.header-search input {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #FFE0CC;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    background: #FFF6F0;
    box-sizing: border-box;
}
.header-search input:focus {
    border-color: #FF6B35;
    background: white;
}
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 4px;
}
.search-group-title {
    padding: 8px 16px 4px;
    font-size: 11px;
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
}
.search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}
.search-item:hover {
    background: #FFF6F0;
}
.search-icon {
    font-size: 18px;
}
.search-sub {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 480px) {
    .header-search {
        display: none;
    }
}

/* ===== PC 主站壳：顶栏导航 + 隐藏底栏 ===== */
.header-nav { display: none; }
@media (min-width: 768px) {
    .app-header-inner {
        padding: 12px 24px;
    }
}
@media (min-width: 960px) {
    .app-header-inner {
        padding: 14px 24px;
        gap: 24px;
    }
    .logo-text { font-size: 20px; }
    .header-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex: 1;
        min-width: 0;
    }
    .hnav {
        color: #6F6A64;
        font-size: 17px;
        font-weight: 500;
        padding: 10px 20px;
        border-radius: 0;
        opacity: 1;
        white-space: nowrap;
        position: relative;
        letter-spacing: 0.04em;
    }
    .hnav:hover {
        color: #151515;
        background: none;
    }
    .hnav.active {
        color: #FF6B35;
        font-weight: 600;
        background: none;
        opacity: 1;
    }
    .hnav.active::after {
        content: '';
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 2px;
        height: 2px;
        background: #FF6B35;
        border-radius: 1px;
    }
    .tab-bar { display: none !important; }
    .app-main { padding-bottom: 32px; }
    #aiChatFab { bottom: 28px !important; right: 28px !important; }
    .float-back-btn { bottom: 28px; }

    .up, .upage, .uhelp, .uset, .uw, .promo, .so-page, .growth-page {
        max-width: 1180px !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
        padding-bottom: 48px !important;
    }

    .coach-list-full {
        max-width: 1180px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 8px 24px 40px;
    }
    .coach-list-full .coach-card-full { margin-bottom: 0; }
    .coach-list-full .empty-state { grid-column: 1 / -1; }
    .filter-bar, .sort-bar, .map-section {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }
    .filter-bar { padding-left: 24px; padding-right: 24px; }
    .sort-bar { padding-left: 24px; padding-right: 24px; }
}

/* H5 桌面弹窗：比例适中，标题可拖动，点遮罩不关 */
.h5-modal-overlay {
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
}
.h5-modal-card {
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto;
}
.h5-modal-head,
.enroll-drag-head,
.cm-head,
.cal-drag-head,
.h5-modal-drag,
.sch-modal-header,
.zone-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 4px 0 12px;
    cursor: move;
    user-select: none;
    touch-action: none;
}
.h5-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}
.h5-modal-foot {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid #F0EBE4;
}
@media (min-width: 960px) {
    .h5-modal-overlay {
        overflow: hidden !important;
        padding: 40px 24px !important;
        align-items: center !important;
    }
    .h5-modal-card {
        width: min(560px, calc(100vw - 96px));
        max-width: 560px;
        max-height: min(78vh, 680px);
    }
    .login-modal-header {
        cursor: move;
        user-select: none;
        touch-action: none;
    }
    .login-modal-card {
        width: min(420px, calc(100vw - 96px));
        max-width: 420px;
    }
}

