/* 三角洲护航商铺 - 主样式文件 */
:root {
    --primary: #00cc66;
    --primary-dark: #00994d;
    --primary-glow: rgba(0, 204, 102, 0.4);
    --secondary: #00e676;
    --success: #00ff41;
    --danger: #f72585;
    --warning: #f8961e;
    --light: #f8f9fa;
    --dark: #e0e0e0;
    --gray: #888888;
    --gray-light: #222222;
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-nav: #0d0d0d;
    --border-green: rgba(0, 204, 102, 0.15);
    --text-muted: #999999;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --box-shadow-hover: 0 8px 30px rgba(0, 204, 102, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--bg-nav);
    box-shadow: 0 1px 0 var(--border-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 20px var(--primary-glow);
}

.nav-brand h1 i {
    color: var(--primary);
}

.slogan {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover {
    background-color: var(--gray-light);
    color: var(--primary);
}

.nav-menu a.active {
    background-color: var(--primary);
    color: #000;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* 按钮 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(0, 204, 102, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #003311 50%, #00cc66 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    border: 1px solid var(--border-green);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: block;
}

.carousel-inner {
    position: relative;
    width: 100%;
    min-height: 280px;
}

.carousel-item {
    display: none;
    width: 100%;
    animation: carouselFade 0.5s ease;
}

.carousel-item.active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 2rem;
    min-height: 340px;
}

@keyframes carouselFade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* 图片轮播项 */
.carousel-item.image-slide {
    padding: 0;
    position: relative;
    display: none;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-item.image-slide.active {
    display: block;
    padding: 0;
}

.carousel-item.image-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

.carousel-item.image-slide .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    padding: 1.2rem 2rem;
    text-align: left;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    backdrop-filter: blur(4px);
}

.carousel-item.image-slide .carousel-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.carousel-item.image-slide .carousel-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* 左右箭头 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

/* 底部指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--bg-card);
    border-color: white;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* 轮播图响应式 */
@media (max-width: 768px) {
    .carousel-item.active {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .carousel-item.image-slide img {
        height: 240px;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-item.image-slide .carousel-caption {
        padding: 1rem 1.2rem;
    }

    .carousel-item.image-slide .carousel-caption h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .carousel-item.image-slide img {
        height: 200px;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

/* 筛选区域 */
.filters {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.filters h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select {
    padding: 8px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    background: var(--bg-card);
    font-family: inherit;
}

/* 打手网格 */
.escorts-section, .match-section, .results-section, .recommended-section {
    margin-bottom: 3rem;
}

.escorts-section h2, .match-section h2, .results-section h2, .recommended-section h2 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

.escorts-grid, .recommended-grid, .match-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* 打手卡片 */
.escort-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.escort-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.escort-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.escort-avatar {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
}

.escort-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.rating {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.rating.S { background-color: var(--rating-s, #ff6b6b); }
.rating.A { background-color: var(--rating-a, #4ecdc4); }
.rating.B { background-color: var(--rating-b, #45b7d1); }

.escort-maps {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.escort-body {
    padding: 0 1.5rem 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.tag {
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.escort-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

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

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* 匹配表单 */
.match-form {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--dark);
}

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

/* 匹配结果 */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.match-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.match-avatar {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
}

.match-details {
    flex: 1;
}

.match-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* 打手详情 */
.escort-detail {
    display: grid;
    gap: 1.5rem;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.detail-avatar {
    font-size: 4rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
}

.detail-info h2 {
    margin-bottom: 10px;
}

.detail-description {
    line-height: 1.8;
    color: var(--gray);
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

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

.detail-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.detail-stat .label {
    font-size: 0.9rem;
    color: var(--gray);
}

.available-slots {
    margin-top: 1rem;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.slot-item {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.slot-item:hover {
    background: var(--primary);
    color: white;
}

.slot-item.selected {
    background: var(--primary);
    color: white;
}

/* 预约表单 - 下拉菜单样式 */
.booking-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.booking-form h3 {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-form .form-group {
    margin-bottom: 1rem;
}

.booking-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.booking-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
    appearance: auto;
}

.booking-select:hover {
    border-color: var(--primary);
}

.booking-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

/* 匹配成功弹窗 */
.match-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.matched-escort {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.match-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* 提示框 */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast i {
    font-size: 1.5rem;
}

/* 页脚 */
footer {
    background: #0d0d0d;
    color: #888;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid var(--border-green);
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .escorts-grid, .recommended-grid, .match-results {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .match-form {
        grid-template-columns: 1fr;
    }

    .detail-header {
        flex-direction: column;
        text-align: center;
    }

    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .match-card {
        flex-direction: column;
        text-align: center;
    }

    .match-actions {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .escorts-grid, .recommended-grid, .match-results {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10px;
    }
}

/* 工具类 */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* 登录页面样式 */
.login-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.login-container {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.login-header {
    margin-bottom: 2rem;
    text-align: center;
}

.login-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

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

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

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

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: var(--gray);
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-light);
}

.form-divider span {
    padding: 0 1rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    font-weight: 600;
    border: 2px solid var(--gray-light);
    background: transparent;
    color: var(--dark);
    transition: var(--transition);
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-google:hover {
    border-color: #DB4437;
    color: #DB4437;
}

.btn-github:hover {
    border-color: #ccc;
    color: #ccc;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.register-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.login-features {
    background: linear-gradient(135deg, #0d0d0d 0%, #0a1a0a 100%);
    border: 1px solid var(--border-green);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.login-features h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features-list li i {
    color: var(--success);
    margin-top: 3px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .login-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .login-features {
        order: -1;
    }
}

@media (max-width: 480px) {
    .login-container,
    .login-features {
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* 输入错误样式 */
.input-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-error i {
    font-size: 0.9rem;
}

/* 弹窗内提示消息 */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-error {
    background: rgba(247, 37, 133, 0.1);
    color: #f72585;
    border-left: 3px solid #f72585;
}
.alert-success {
    background: rgba(0, 204, 102, 0.1);
    color: #00cc66;
    border-left: 3px solid #00cc66;
}

/* 选项卡样式 */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 0;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* 用户头像容器 */
.user-avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 可编辑字段 */
.editable-field {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.editable-field h3 {
    margin: 0;
}

.edit-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-btn:hover {
    background: var(--gray-light);
}

/* 用户名编辑输入 */
.username-edit {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.username-edit input {
    padding: 8px 16px;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
}

.username-edit .btn {
    padding: 8px 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        justify-content: center;
        border-bottom: none;
        border-left: 3px solid transparent;
        border-radius: 0;
    }

    .tab-btn.active {
        border-left-color: var(--primary);
        border-bottom-color: transparent;
    }

    .editable-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* 导航栏滚动隐藏 */
.navbar {
    transition: transform 0.3s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* 战地1风格用户卡片 */
.user-card-bf1 {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.user-card-bf1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4361ee, #7209b7);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.user-avatar-bf1 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #cbd5e0;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--primary-glow);
    box-shadow: 0 0 20px var(--primary-glow), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.user-avatar-bf1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-title-bf1 {
    flex: 1;
}

.user-title-bf1 h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.user-title-bf1 .user-rank {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #4361ee, #7209b7);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(67, 97, 238, 0.3);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.info-card-header i {
    font-size: 1.2rem;
    color: #4361ee;
    background: rgba(67, 97, 238, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-header h4 {
    color: #cbd5e0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card-content {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.info-card-subtitle {
    color: #a0aec0;
    font-size: 0.9rem;
}

.stats-grid-bf1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card-bf1 {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-bf1:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(67, 97, 238, 0.3);
}

.stat-icon-bf1 {
    font-size: 2rem;
    color: #4361ee;
    margin-bottom: 1rem;
}

.stat-content-bf1 h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-content-bf1 p {
    color: #a0aec0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .user-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .user-avatar-bf1 {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .user-title-bf1 h2 {
        font-size: 1.5rem;
    }

    .user-info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid-bf1 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid-bf1 {
        grid-template-columns: 1fr;
    }
}

/* 邮箱信息溢出处理 */
#userEmail {
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    #userEmail {
        font-size: 1.1rem;
    }

    .info-card-content {
        font-size: 1.3rem;
    }
}

/* =============================================
   预约卡片样式
   ============================================= */
.booking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.booking-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(67, 97, 238, 0.3);
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.booking-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.booking-info {
    flex: 1;
}

.booking-info h4 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.booking-info p {
    color: #a0aec0;
    font-size: 0.85rem;
    margin-top: 4px;
}

.booking-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-details p {
    color: #cbd5e0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-details p i {
    width: 18px;
    color: #4361ee;
}

.booking-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 空状态 / 加载 */
.no-bookings, .loading, .error-message {
    text-align: center;
    padding: 3rem 1rem;
    color: #a0aec0;
}

.no-bookings h3, .error-message h3 {
    margin: 1rem 0 0.5rem;
    color: #cbd5e0;
}

.no-bookings p, .error-message p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

/* =============================================
   预约详情卡片 (模态框内)
   ============================================= */
.booking-detail-card {
    display: grid;
    gap: 1.5rem;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
}

.detail-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-info-item i {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    border-radius: 10px;
    flex-shrink: 0;
}

.detail-info-item label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 2px;
}

.detail-info-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.detail-remark {
    background: rgba(248, 150, 30, 0.1);
    border: 1px solid rgba(248, 150, 30, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.detail-remark h4 {
    color: #f8961e;
    margin-bottom: 0.5rem;
}

.detail-remark p {
    color: var(--dark);
    line-height: 1.6;
}

.detail-rating p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
}

/* =============================================
   深色主题详情网格 (在 BF1 卡片中使用)
   ============================================= */
.user-card-bf1 .detail-info-grid {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-card-bf1 .detail-info-item i {
    background: rgba(67, 97, 238, 0.2);
    color: #4361ee;
}

.user-card-bf1 .detail-info-item label {
    color: #a0aec0;
}

.user-card-bf1 .detail-info-item span {
    color: white;
}

.user-card-bf1 .detail-rating p {
    color: #cbd5e0;
}

.user-card-bf1 .detail-remark {
    background: rgba(248, 150, 30, 0.08);
    border-color: rgba(248, 150, 30, 0.15);
}

.user-card-bf1 .detail-remark h4 {
    color: #f8961e;
}

.user-card-bf1 .detail-remark p {
    color: #cbd5e0;
}

/* =============================================
   按钮变体
   ============================================= */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-danger {
    background-color: #f72585;
    color: white;
    border: none;
}

.btn-danger:hover {
    background-color: #d81b6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.3);
}

/* =============================================
   控制台头部
   ============================================= */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =============================================
   仪表盘表格
   ============================================= */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e0;
    font-size: 0.95rem;
}

.dashboard-table thead {
    background: linear-gradient(90deg, #4361ee, #7209b7);
}

.dashboard-table th {
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dashboard-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* =============================================
   Toggle 开关
   ============================================= */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--bg-card);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: #4361ee;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* =============================================
   可用时间网格 (打手面板)
   ============================================= */
.availability-table {
    display: grid;
    gap: 4px;
}

.avail-row {
    display: grid;
    grid-template-columns: 100px repeat(4, 1fr);
    gap: 4px;
    align-items: center;
}

.avail-header .avail-cell {
    color: #a0aec0;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avail-cell {
    padding: 12px 8px;
    text-align: center;
    border-radius: 8px;
}

.avail-date-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #cbd5e0;
    font-weight: 600;
    font-size: 0.9rem;
}

.avail-weekday {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 400;
}

.avail-time-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.avail-row:not(.avail-header):hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* =============================================
   预约卡片在深色 BF1 背景中的适配
   ============================================= */
.user-card-bf1 .bookings-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 4px;
}

.user-card-bf1 .bookings-list::-webkit-scrollbar {
    width: 6px;
}

.user-card-bf1 .bookings-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.user-card-bf1 .bookings-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* =============================================
   响应式适配
   ============================================= */
@media (max-width: 768px) {
    .avail-row {
        grid-template-columns: 80px repeat(4, 1fr);
    }

    .avail-cell {
        padding: 8px 4px;
    }

    .detail-info-grid {
        grid-template-columns: 1fr;
    }

    .booking-details {
        grid-template-columns: 1fr;
    }

    .dashboard-table {
        font-size: 0.85rem;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .avail-row {
        grid-template-columns: 70px repeat(4, 1fr);
    }

    .avail-date-cell {
        font-size: 0.8rem;
    }

    .toggle-switch {
        width: 36px;
        height: 20px;
    }

    .toggle-slider::before {
        width: 14px;
        height: 14px;
    }

    .toggle-switch input:checked + .toggle-slider::before {
        transform: translateX(16px);
    }

    .booking-actions {
        flex-direction: column;
    }

    .booking-actions .btn {
        width: 100%;
    }
}