﻿/* ====== 基础样式重置 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #a3bffa;
    /* 渐变色系 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    /* 文本色 */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-light: #ffffff;
    /* 边框色 */
    --border-light: #e2e8f0;
    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
    /* 间距 */
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
}

/* 全局样式 */
body {
    font-family: 'Poppins', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 70px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ====== 主内容区域 ====== */
.main-content {
    margin: 0;
}

/* ====== 轮播图 ====== */
/* ====== 轮播图 ====== */
.hero-section {
    position: relative;
    width: 100%;
    height: 250px; /* 设置轮播图高度 */
    margin: 0;
    padding: 0;
    background: var(--bg-tertiary);
}

.hero-swiper {
    width: 100%;
    height: 250px;
}

.swiper-slide {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 轮播图片尺寸设置 */
.slide-1, .slide-2, .slide-3, .slide-4 {
    width: 100% !important;
    height: 100% !important;
}

/* 移除原有的渐变背景和内容样式 */
.slide-content,
.slide-title,
.slide-desc,
.slide-btn {
    display: none !important;
}

.swiper-pagination {
    bottom: 12px !important;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        height: 250px; /* 中等屏幕高度 */
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 250px; /* 小屏幕高度 */
    }

    .swiper-pagination {
        bottom: 8px !important;
    }

    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}

/* ====== 核心功能 ====== */
.features-section {
    background: white;
    padding: var(--space-6) 0;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding: 0 var(--space-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    padding: var(--space-2);
    transition: all 0.2s ease;
}

    .feature-item:hover {
        background: var(--bg-tertiary);
    }

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.feature-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* 功能图标颜色 */
.feature-item:nth-child(2) .feature-icon {
    background: var(--gradient-secondary);
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-item:nth-child(4) .feature-icon {
    background: var(--gradient-success);
}

.feature-item:nth-child(5) .feature-icon {
    background: var(--gradient-warning);
}

.feature-item:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.feature-item:nth-child(7) .feature-icon {
    background: var(--gradient-gold);
}

.feature-item:nth-child(8) .feature-icon {
    background: linear-gradient(135deg, #667eea, #4facfe);
}

/* ====== 热门活动 ====== */
.promotions-section {
    background: white;
    padding: var(--space-6) 0;
    margin-bottom: var(--space-4);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding: 0 var(--space-2);
}

.section-more {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

    .section-more:hover {
        color: var(--primary-color);
    }

.promotions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.promotion-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.redpacket-card {
    background: var(--gradient-gold);
    color: #78350f;
}

.promotion-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.redpacket-card .promotion-badge {
    background: #dc2626;
}

.promotion-card:not(.redpacket-card) .promotion-badge {
    background: var(--primary-color);
}

.promotion-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.promotion-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.redpacket-card .promotion-icon {
    color: #f59e0b;
}

.promotion-info {
    flex: 1;
}

.promotion-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.promotion-desc {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: var(--space-2);
}

.redpacket-amount {
    font-weight: 800;
    color: #dc2626;
}

.promotion-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.redpacket-card .promotion-timer {
    color: #92400e;
}

.promotion-card:not(.redpacket-card) .promotion-timer {
    color: var(--text-tertiary);
}

.promotion-action {
    text-align: center;
}

.promotion-status {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.redpacket-card .promotion-status {
    color: #dc2626;
    background: rgba(255, 255, 255, 0.9);
}

.promotion-card:not(.redpacket-card) .promotion-status {
    color: var(--primary-color);
    background: white;
}

.promotion-card:hover .promotion-status {
    transform: scale(1.05);
}

/* ====== 热门商品 (两列布局) ====== */
.products-section {
    background: white;
    padding: var(--space-6) 0 var(--space-8);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    z-index: 1;
}

    .product-badge.hot {
        background: #ef4444;
    }

    .product-badge.sale {
        background: #10b981;
    }

    .product-badge.new {
        background: #3b82f6;
    }

.product-image {
    height: 140px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.product-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
    font-size: 14px;
}

    .product-wishlist:hover {
        background: white;
        color: #ef4444;
    }

.product-content {
    padding: var(--space-3);
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
}

.current-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
}

.original-price {
    font-size: 12px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.btn-cart {
    width: 32px;
    height: 32px;
    background: var(--gradient-success);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-cart:hover {
        transform: rotate(15deg) scale(1.1);
    }

/* ====== 底部导航 ====== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

    .nav-item:hover {
        background: var(--bg-tertiary);
    }

    .nav-item.active {
        background: rgba(102, 126, 234, 0.1);
    }

.nav-icon {
    font-size: 20px;
    color: var(--text-secondary);
}

.nav-item.active .nav-icon {
    color: var(--primary-color);
}

.nav-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-item.active .nav-label {
    color: var(--primary-color);
}

/* ====== 响应式设计 ====== */
@media (max-width: 768px) {
    .hero-section {
        height: 200px;
    }

    .slide-title {
        font-size: 16px;
    }

    .slide-desc {
        font-size: 12px;
    }

    .features-grid {
        gap: var(--space-2);
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .products-grid {
        gap: var(--space-2);
    }

    .product-image {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 140px;
    }

    .slide-title {
        font-size: 15px;
    }

    .slide-desc {
        font-size: 11px;
    }

    .slide-btn {
        padding: 6px 16px;
        font-size: 12px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2);
    }

    .feature-item {
        padding: var(--space-1);
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .feature-label {
        font-size: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .product-image {
        height: 100px;
    }

    .product-title {
        font-size: 13px;
        height: 36px;
    }

    .product-desc {
        font-size: 11px;
    }

    .current-price {
        font-size: 15px;
    }

    .bottom-nav {
        padding: 6px 0;
    }

    .nav-icon {
        font-size: 18px;
    }

    .nav-label {
        font-size: 9px;
    }
}

/* 美化滚动条 */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}
/* ====== 理发师页面样式 ====== */
.stylist-section {
    padding: var(--space-4) 0;
    background: var(--bg-secondary);
}

/* 搜索栏 */
.stylist-search {
    padding: 0 var(--space-4);
    margin-bottom: var(--space-6);
}

.search-container {
    position: relative;
    background: white;
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    padding-left: 30px;
    background: transparent;
}

    .search-input::placeholder {
        color: var(--text-tertiary);
        font-weight: 400;
    }

.search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 14px;
}

.filter-tabs {
    display: flex;
    gap: var(--space-2);
    padding: 0 var(--space-4);
    margin-bottom: var(--space-4);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

.filter-tab {
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .filter-tab:hover {
        border-color: var(--primary-light);
        color: var(--primary-color);
    }

    .filter-tab.active {
        background: var(--gradient-primary);
        border-color: transparent;
        color: white;
        font-weight: 600;
    }

/* 排序栏 */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-4);
    margin-bottom: var(--space-4);
}

.sort-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.sort-select {
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .sort-select:hover {
        border-color: var(--primary-light);
    }

.sort-view {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

    .view-btn:hover {
        border-color: var(--primary-light);
        color: var(--primary-color);
    }

    .view-btn.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

/* 理发师列表 */
.stylist-list {
    padding: 0 var(--space-4);
}

.stylist-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

    .stylist-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .stylist-card.featured {
        border: 2px solid var(--primary-color);
        background: linear-gradient(to right, rgba(102, 126, 234, 0.05), white);
    }

.stylist-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.avatar-status {
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
}

    .avatar-status.online {
        background: var(--gradient-success);
    }

    .avatar-status.offline {
        background: var(--text-tertiary);
    }

    .avatar-status.busy {
        background: var(--gradient-warning);
    }

.stylist-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.stylist-info {
    flex: 1;
}

.stylist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.stylist-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.stylist-title {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.stylist-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.rating-stars {
    display: flex;
    gap: 1px;
    color: #fbbf24;
    font-size: 12px;
}

.rating-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

.stylist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.stylist-tag {
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

    .stylist-tag.hot {
        background: rgba(239, 68, 68, 0.1);
        color: #dc2626;
    }

    .stylist-tag.new {
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
    }

.stylist-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stylist-stats {
    display: flex;
    gap: var(--space-3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-icon {
    color: var(--text-tertiary);
    font-size: 12px;
}

.stat-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
}

.stylist-level {
    display: flex;
    align-items: center;
    gap: 6px;
}

.level-badge {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: white;
}

    .level-badge.gold {
        background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    }

    .level-badge.platinum {
        background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 100%);
        color: var(--text-primary);
    }

    .level-badge.diamond {
        background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
    }

.level-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.stylist-actions {
    flex-shrink: 0;
}

.btn-book {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .btn-book:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn-book:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .btn-book.busy {
        background: var(--gradient-warning);
    }

/* 空状态 */
.stylist-empty {
    padding: var(--space-8) var(--space-4);
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

.empty-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

/* 响应式调整 */
@media (max-width: 576px) {
    .stylist-card {
        padding: var(--space-3);
        gap: var(--space-3);
    }

    .avatar-image {
        width: 60px;
        height: 60px;
    }

    .stylist-name {
        font-size: 15px;
    }

    .stylist-title {
        font-size: 12px;
    }

    .stylist-rating {
        margin-bottom: 4px;
    }

    .rating-stars {
        font-size: 11px;
    }

    .rating-value {
        font-size: 12px;
    }

    .rating-count {
        font-size: 11px;
    }

    .btn-book {
        padding: 7px 16px;
        font-size: 12px;
    }

    .stylist-stats {
        gap: var(--space-2);
    }

    .stat-item {
        gap: 2px;
    }

    .stat-icon {
        font-size: 11px;
    }

    .stat-value {
        font-size: 11px;
    }

    .stat-label {
        font-size: 10px;
    }

    .sort-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .sort-options {
        width: 100%;
        justify-content: space-between;
    }
}
/* ====== 我的页面样式 ====== */
.my-section {
    padding: var(--space-4) 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 70px);
}

/* 用户信息头部 */
.user-header {
    background: white;
    border-radius: var(--radius-lg);
    margin: 0 var(--space-4) var(--space-4);
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.user-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.avatar-edit {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
    font-size: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-id {
    font-size: 12px;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.user-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: var(--radius-full);
    color: #78350f;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.user-level-icon {
    font-size: 14px;
}

.user-points {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.points-value {
    font-weight: 700;
    color: var(--primary-color);
}

.points-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-4);
}

.stat-box {
    text-align: center;
    padding: var(--space-2);
}

.stat-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* 功能区容器 */
.feature-container {
    background: white;
    border-radius: var(--radius-lg);
    margin: 0 var(--space-4) var(--space-4);
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.feature-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-title-icon {
    color: var(--primary-color);
    font-size: 16px;
}

/* 功能区网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.feature-item-my {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
}

    .feature-item-my:hover {
        background: var(--bg-tertiary);
        transform: translateY(-2px);
    }

.feature-icon-my {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    position: relative;
}

.feature-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
}

.feature-label-my {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

/* 会员功能区颜色 */
.member-feature .feature-icon-my {
    background: var(--gradient-primary);
}

.stylist-feature .feature-icon-my {
    background: var(--gradient-success);
}

.settings-feature .feature-icon-my {
    background: var(--gradient-secondary);
}

/* 功能图标独立颜色 */
.feature-item-my:nth-child(1) .feature-icon-my {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-item-my:nth-child(2) .feature-icon-my {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-item-my:nth-child(3) .feature-icon-my {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.feature-item-my:nth-child(4) .feature-icon-my {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.feature-item-my:nth-child(5) .feature-icon-my {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-item-my:nth-child(6) .feature-icon-my {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.feature-item-my:nth-child(7) .feature-icon-my {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.feature-item-my:nth-child(8) .feature-icon-my {
    background: linear-gradient(135deg, #667eea, #4facfe);
}

/* 会员级别进度条 */
.level-progress {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    height: 8px;
    margin: var(--space-2) 0 var(--space-3);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: var(--radius-full);
    position: relative;
    transition: width 0.5s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* 实名认证状态 */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    margin-left: 8px;
}

.verified-icon {
    font-size: 10px;
}

/* 入驻状态 */
.stylist-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.status-verified {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-unverified {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* 底部操作区域 */
.action-area {
    padding: var(--space-4);
    text-align: center;
    margin-top: var(--space-2);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-logout:hover {
        background: #fee2e2;
        color: #dc2626;
        border-color: #fecaca;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .user-header {
        margin: 0 var(--space-3) var(--space-3);
        padding: var(--space-3);
    }

    .avatar-large {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .user-name {
        font-size: 16px;
    }

    .features-grid {
        gap: var(--space-2);
    }

    .feature-icon-my {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .feature-label-my {
        font-size: 11px;
    }

    .feature-container {
        margin: 0 var(--space-3) var(--space-3);
        padding: var(--space-3);
    }
}

@media (max-width: 576px) {
    .my-section {
        padding: var(--space-3) 0;
    }

    .user-header {
        margin: 0 var(--space-2) var(--space-3);
        padding: var(--space-3);
    }

    .avatar-large {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .avatar-edit {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .user-name {
        font-size: 15px;
    }

    .user-level {
        font-size: 11px;
        padding: 3px 8px;
    }

    .user-points {
        font-size: 13px;
    }

    .stat-number {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2);
    }

    .feature-icon-my {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .feature-label-my {
        font-size: 10px;
    }

    .feature-title {
        font-size: 14px;
    }

    .btn-logout {
        padding: 8px 20px;
        font-size: 13px;
    }
}
/* ====== 订单页面样式 ====== */
.orders-section {
    padding: var(--space-4) 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 70px);
}

/* 订单状态切换 */
.orders-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.orders-nav {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

    .orders-nav::-webkit-scrollbar {
        display: none;
    }

.order-tab {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

    .order-tab:hover {
        background: var(--primary-light);
        color: var(--primary-color);
        border-color: var(--primary-light);
    }

    .order-tab.active {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

.order-tab-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* 订单列表容器 */
.orders-container {
    padding: var(--space-4);
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* 空状态 */
.orders-empty {
    padding: var(--space-8) var(--space-4);
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    margin: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.orders-empty-icon {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: var(--space-4);
    opacity: 0.6;
}

.orders-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.orders-empty-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* 订单卡片 */
.order-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

    .order-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

.order-header {
    padding: var(--space-3);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-id-value {
    color: var(--primary-color);
    font-weight: 700;
}

.order-time {
    font-size: 12px;
    color: var(--text-tertiary);
}

.order-status {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

    .order-status.pending {
        background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        color: #78350f;
    }

    .order-status.shipped {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .order-status.delivered {
        background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    }

    .order-status.cancelled {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        opacity: 0.6;
    }

/* 订单商品 */
.order-items {
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-light);
}

.order-item {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px dashed var(--border-light);
}

    .order-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-item-spec {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.order-item-quantity {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.order-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* 订单统计 */
.order-summary {
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-light);
}

.order-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
}

    .order-stat:last-child {
        margin-bottom: 0;
    }

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 500;
}

.order-total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-light);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 订单操作 */
.order-actions {
    padding: var(--space-3);
    display: flex;
    gap: var(--space-2);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.order-action-btn {
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: white;
    color: var(--text-secondary);
}

    .order-action-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

    .order-action-btn.primary {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }

    .order-action-btn.success {
        background: var(--gradient-success);
        color: white;
        border-color: transparent;
    }

    .order-action-btn.warning {
        background: var(--gradient-warning);
        color: white;
        border-color: transparent;
    }

    .order-action-btn.danger {
        background: var(--gradient-secondary);
        color: white;
        border-color: transparent;
    }

/* 订单折叠/展开 */
.order-collapse {
    padding: 12px var(--space-3);
    text-align: center;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .order-collapse:hover {
        background: var(--border-light);
    }

.order-collapse-icon {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.order-card.collapsed .order-collapse-icon {
    transform: rotate(180deg);
}

/* 加载更多 */
.orders-loadmore {
    padding: var(--space-4);
    text-align: center;
}

.btn-loadmore {
    padding: 10px 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-loadmore:hover {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

/* 订单筛选 */
.orders-filter {
    padding: var(--space-3) var(--space-4);
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.filter-container {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .filter-container::-webkit-scrollbar {
        display: none;
    }

.filter-btn {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .filter-btn:hover {
        border-color: var(--primary-light);
        color: var(--primary-color);
    }

    .filter-btn.active {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .orders-section {
        padding: var(--space-3) 0;
    }

    .orders-tabs {
        padding: var(--space-3);
    }

    .order-tab {
        padding: 7px 14px;
        font-size: 12px;
    }

    .order-tab-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .orders-container {
        padding: var(--space-3);
    }

    .order-header {
        padding: var(--space-2);
    }

    .order-id {
        font-size: 12px;
    }

    .order-time {
        font-size: 11px;
    }

    .order-item {
        gap: var(--space-2);
    }

    .order-item-image {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .order-item-name {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .orders-tabs {
        padding: var(--space-2);
    }

    .orders-nav {
        gap: var(--space-1);
    }

    .order-tab {
        padding: 6px 12px;
        font-size: 11px;
    }

    .orders-empty {
        padding: var(--space-6) var(--space-3);
        margin: var(--space-3);
    }

    .orders-empty-icon {
        font-size: 40px;
    }

    .orders-empty-title {
        font-size: 15px;
    }

    .orders-empty-desc {
        font-size: 13px;
    }

    .order-actions {
        justify-content: center;
    }

    .order-action-btn {
        padding: 5px 12px;
        font-size: 11px;
    }

    .order-summary,
    .order-items,
    .order-actions {
        padding: var(--space-2);
    }

    .order-item-image {
        width: 45px;
        height: 45px;
    }

    .btn-loadmore {
        padding: 8px 20px;
        font-size: 13px;
    }
}
/* ====== 抢红包页面样式 ====== */
.redpacket-section {
    padding: var(--space-4) 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
}

/* 红包统计卡片 */
.redpacket-stats {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    margin: var(--space-4);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.redpacket-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.redpacket-title {
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.redpacket-title-icon {
    font-size: 20px;
    color: #fbbf24;
}

.redpacket-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.stat-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.stat-value {
    font-size: 22px;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

.stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.remaining-count {
    font-size: 13px;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    background: rgba(220, 38, 38, 0.1);
    padding: 8px var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

/* 红包主区域 */
.redpacket-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.redpacket-center {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: var(--space-6);
}

.redpacket-envelope {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
}

    .redpacket-envelope:hover {
        transform: scale(1.05);
    }

    .redpacket-envelope.disabled {
        opacity: 0.7;
        cursor: not-allowed;
        filter: grayscale(0.5);
    }

        .redpacket-envelope.disabled:hover {
            transform: none;
        }

.redpacket-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4), inset 0 4px 20px rgba(255, 255, 255, 0.6);
    border: 8px solid #fbbf24;
}

    .redpacket-circle::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70% );
        animation: shine 3s infinite linear;
    }

.redpacket-lucky {
    font-size: 14px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: var(--space-2);
    z-index: 1;
}

.redpacket-amount {
    font-size: 48px;
    font-weight: 900;
    color: #dc2626;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.redpacket-unit {
    font-size: 24px;
    font-weight: 800;
    color: #78350f;
    margin-left: 4px;
}

.redpacket-hit {
    font-size: 14px;
    font-weight: 700;
    color: #78350f;
    margin-top: var(--space-2);
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.redpacket-open {
    position: absolute;
    bottom: 20px;
    font-size: 16px;
    font-weight: 800;
    color: #dc2626;
    z-index: 1;
    animation: pulse 2s infinite;
}

/* 烟花效果 */
.firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    animation: firework 0.8s ease-out forwards;
    pointer-events: none;
    opacity: 0;
}

/* 红包记录 */
.redpacket-records {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    margin: var(--space-4);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.1);
}

.records-title {
    font-size: 16px;
    font-weight: 800;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 6px;
}

.records-total {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.records-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

    .records-list::-webkit-scrollbar {
        width: 4px;
    }

    .records-list::-webkit-scrollbar-track {
        background: var(--bg-tertiary);
        border-radius: var(--radius-full);
    }

    .records-list::-webkit-scrollbar-thumb {
        background: rgba(220, 38, 38, 0.3);
        border-radius: var(--radius-full);
    }

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2);
    border-bottom: 1px dashed var(--border-light);
    animation: slideIn 0.3s ease;
}

    .record-item:last-child {
        border-bottom: none;
    }

.record-time {
    font-size: 12px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.record-amount {
    font-size: 14px;
    font-weight: 800;
    color: #dc2626;
}

/* 规则说明 */
.redpacket-rules {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    margin: var(--space-4);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.rules-title {
    font-size: 16px;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.rule-icon {
    color: #fbbf24;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 动画 */
@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes firework {
    0% {
        transform: translate(var(--x), var(--y));
        opacity: 1;
        width: 8px;
        height: 8px;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
        width: 4px;
        height: 4px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .redpacket-center {
        width: 240px;
        height: 240px;
    }

    .redpacket-amount {
        font-size: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-1);
    }

    .stat-value {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .redpacket-section {
        padding: var(--space-3) 0;
    }

    .redpacket-stats,
    .redpacket-records,
    .redpacket-rules {
        margin: var(--space-3);
        padding: var(--space-3);
    }

    .redpacket-center {
        width: 200px;
        height: 200px;
        margin-bottom: var(--space-4);
    }

    .redpacket-amount {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-card {
        padding: var(--space-2);
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
    }

    .record-item {
        padding: var(--space-1) 0;
    }

    .record-time {
        font-size: 11px;
    }

    .record-amount {
        font-size: 13px;
    }
}
/* ====== 商城页面样式 - 手机端 ====== */

/* 商城头部 */
.shop-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    z-index: 1000;
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-md);
}

.shop-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.shop-back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}

    .shop-back-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.shop-title {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
    text-align: center;
    margin: 0;
}

.shop-header-actions {
    display: flex;
    align-items: center;
}

.shop-cart-btn-header {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .shop-cart-btn-header:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--primary-color);
}

/* 商城主内容 */
.shop-main {
    padding: var(--space-4);
    padding-bottom: 100px; /* 为底部购物车栏留空间 */
    background: var(--bg-secondary);
    min-height: calc(100vh - 56px); /* 减去头部高度 */
}

/* 搜索栏 */
.shop-search-section {
    margin-bottom: var(--space-4);
}

.shop-search-container {
    background: white;
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.shop-search-icon {
    color: var(--text-tertiary);
    font-size: 14px;
    flex-shrink: 0;
}

.shop-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    min-width: 0;
}

    .shop-search-input::placeholder {
        color: var(--text-tertiary);
        font-weight: 400;
    }

.shop-search-btn {
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .shop-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

/* 分类筛选 */
.shop-categories-section {
    margin-bottom: var(--space-4);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.shop-categories-scroll {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

    .shop-categories-scroll::-webkit-scrollbar {
        display: none;
    }

.shop-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-2);
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-width: 56px;
}

    .shop-category i {
        font-size: 16px;
        color: var(--primary-color);
    }

    .shop-category span {
        font-weight: 500;
        white-space: nowrap;
    }

    .shop-category:hover {
        border-color: var(--primary-light);
        color: var(--primary-color);
    }

    .shop-category.active {
        background: var(--gradient-primary);
        border-color: transparent;
        color: white;
    }

        .shop-category.active i {
            color: white;
        }

/* 排序筛选 */
.shop-sort-section {
    margin-bottom: var(--space-4);
}

.shop-sort-container {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

    .shop-sort-container::-webkit-scrollbar {
        display: none;
    }

.shop-sort-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

    .shop-sort-btn i {
        font-size: 12px;
    }

    .shop-sort-btn:hover {
        border-color: var(--primary-light);
        color: var(--primary-color);
    }

    .shop-sort-btn.active {
        background: var(--gradient-primary);
        border-color: transparent;
        color: white;
    }

        .shop-sort-btn.active i {
            color: white;
        }

/* 商品列表 */
.shop-products-section {
    margin-bottom: var(--space-6);
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.shop-product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    position: relative;
}

    .shop-product-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    z-index: 1;
}

    .product-badge.hot {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    }

    .product-badge.sale {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }

    .product-badge.new {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    }

.product-image {
    height: 140px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.product-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
    font-size: 14px;
}

    .product-wishlist:hover {
        background: white;
        color: #ef4444;
        transform: scale(1.1);
    }

.product-info {
    padding: var(--space-3);
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--space-3);
}

.product-tag {
    padding: 2px 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

    .product-tag.free-shipping {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
    }

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    flex: 1;
}

.product-current-price {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.product-original-price {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.product-sales {
    font-size: 11px;
    color: var(--text-secondary);
}

.product-actions {
    flex-shrink: 0;
}

.product-cart-btn {
    width: 32px;
    height: 32px;
    background: var(--gradient-success);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .product-cart-btn:hover {
        transform: rotate(15deg) scale(1.1);
    }

/* 商品详情弹窗 */
.shop-product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.product-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

    .modal-close-btn:hover {
        background: white;
        transform: rotate(90deg);
    }

.modal-product-image {
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.modal-product-info {
    padding: var(--space-4);
}

.modal-product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.modal-product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-3);
}

.modal-product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.modal-product-specs {
    margin-bottom: var(--space-4);
}

.spec-item {
    margin-bottom: var(--space-3);
}

.spec-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.spec-options {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.spec-option {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .spec-option:hover {
        border-color: var(--primary-light);
        color: var(--primary-color);
    }

    .spec-option.active {
        background: var(--gradient-primary);
        border-color: transparent;
        color: white;
    }

.modal-product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quantity-btn:hover {
        background: var(--border-light);
    }

.quantity-input {
    width: 60px;
    height: 36px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: white;
}

.add-to-cart-btn {
    padding: var(--space-3);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

    .add-to-cart-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

.buy-now-btn {
    padding: var(--space-3);
    background: var(--gradient-success);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .buy-now-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

/* 底部购物车栏 */
.shop-bottom-bar {
    position: fixed;
    bottom: 70px; /* 在底部导航之上 */
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-3) var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
    z-index: 900;
}

.cart-info {
    flex: 1;
}

.cart-total {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    margin-bottom: 2px;
}

.total-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.total-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.cart-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

.cart-checkout-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

    .cart-checkout-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .cart-checkout-btn.disabled {
        background: var(--bg-tertiary);
        color: var(--text-tertiary);
        cursor: not-allowed;
    }

        .cart-checkout-btn.disabled:hover {
            transform: none;
            box-shadow: none;
        }

/* 消息提示 */
.message-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 80%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .message-toast.show {
        opacity: 1;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .shop-main {
        padding: var(--space-3);
        padding-bottom: 90px;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .product-image {
        height: 150px;
    }

    .shop-header {
        padding: var(--space-2) var(--space-3);
    }

    .shop-search-container {
        padding: var(--space-2) var(--space-3);
    }

    .shop-bottom-bar {
        padding: var(--space-2) var(--space-3);
        bottom: 60px;
    }
}
/* ====== 商品详情页面样式 ====== */

/* 页面头部 */
.product-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
    padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .product-back-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateX(-2px);
    }

.product-header-title {
    font-size: 17px;
    font-weight: 700;
    flex: 1;
    text-align: center;
    margin: 0;
}

.product-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-header-action {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .product-header-action:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

/* 主内容区域 */
.product-detail-main {
    padding-top: 60px; /* 头部高度 */
    padding-bottom: 140px; /* 底部操作栏高度 */
    background: #f8f9fa;
    min-height: 100vh;
}

/* 商品图片轮播 */
.product-images-section {
    background: white;
    margin-bottom: 10px;
    position: relative;
}

.product-images-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.product-images-slider {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease;
}

.product-image-slide {
    width: 25%;
    height: 100%;
    flex-shrink: 0;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
}

.product-images-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.image-pagination-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

    .image-pagination-dot.active {
        background: white;
        transform: scale(1.2);
    }

.product-images-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* 商品信息区域 */
.product-info-section {
    background: white;
    padding: 20px 16px;
    margin-bottom: 10px;
}

.product-price-tag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.price-current {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-symbol {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b6b;
}

.price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ff6b6b;
}

.price-original {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #868e96;
}

.price-original-text {
    font-weight: 500;
}

.price-original-amount {
    text-decoration: line-through;
}

.price-discount {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff5f5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.discount-badge {
    color: #ff6b6b;
    font-weight: 700;
}

.discount-text {
    color: #868e96;
}

.discount-amount {
    color: #ff6b6b;
    font-weight: 700;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-subtitle {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #495057;
}

.product-sales,
.product-stock,
.product-ship {
    position: relative;
    padding-left: 16px;
}

    .product-sales::before {
        content: "🔥";
        position: absolute;
        left: 0;
    }

    .product-stock::before {
        content: "📦";
        position: absolute;
        left: 0;
    }

    .product-ship::before {
        content: "🚚";
        position: absolute;
        left: 0;
    }

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

    .product-tag.hot {
        background: #fff5f5;
        color: #ff6b6b;
        border-color: #ffc9c9;
    }

    .product-tag.discount {
        background: #e7f5ff;
        color: #339af0;
        border-color: #a5d8ff;
    }

    .product-tag.quality {
        background: #f8f9fa;
        color: #495057;
        border-color: #dee2e6;
    }

    .product-tag.service {
        background: #fff3e6;
        color: #f76707;
        border-color: #ffc078;
    }

/* 通用区块样式 */
.product-specs-section,
.product-promotion-section,
.product-params-section,
.product-description-section,
.product-reviews-section,
.product-recommend-section {
    background: white;
    padding: 16px;
    margin-bottom: 10px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

    .section-title i {
        color: #667eea;
        font-size: 14px;
    }

/* 规格选择 */
.product-specs-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .spec-option:hover {
        border-color: #adb5bd;
        background: #f1f3f5;
    }

    .spec-option.active {
        background: #e7f5ff;
        border-color: #339af0;
        color: #1971c2;
    }

.spec-name {
    font-weight: 600;
}

.spec-price {
    font-weight: 700;
    color: #ff6b6b;
}

.spec-tag {
    background: #339af0;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.spec-option.active .spec-tag {
    background: #1971c2;
}

/* 促销信息 */
.promotion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promotion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

    .promotion-item i {
        color: #ff6b6b;
        font-size: 14px;
    }

.promotion-text {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

/* 商品参数 */
.params-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.param-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e9ecef;
}

    .param-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.param-label {
    font-size: 14px;
    color: #868e96;
    min-width: 80px;
}

.param-value {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    text-align: right;
    flex: 1;
    padding-left: 16px;
}

/* 商品详情 */
.description-content {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

    .description-content p {
        margin-bottom: 12px;
    }

        .description-content p:last-child {
            margin-bottom: 0;
        }

.description-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.desc-image {
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 600;
}

/* 用户评价 */
.reviews-count {
    font-size: 14px;
    color: #868e96;
    font-weight: 400;
}

.reviews-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rating-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rating-score {
    font-size: 32px;
    font-weight: 800;
    color: #212529;
}

.rating-stars {
    color: #ffd43b;
    font-size: 14px;
    display: flex;
    gap: 2px;
}

.rating-text {
    font-size: 12px;
    color: #868e96;
}

.rating-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-label {
    font-size: 12px;
    color: #495057;
    min-width: 30px;
}

.rating-bar {
    flex: 1;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #ffd43b;
    border-radius: 3px;
}

.rating-percent {
    font-size: 12px;
    color: #868e96;
    min-width: 25px;
    text-align: right;
}

.reviews-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.review-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 2px;
}

.review-time {
    font-size: 12px;
    color: #868e96;
}

.review-content {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.view-all-reviews {
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .view-all-reviews:hover {
        background: #e9ecef;
    }

/* 推荐商品 */
.recommend-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.recommend-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.recommend-info {
    flex: 1;
}

.recommend-name {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.recommend-price {
    font-size: 15px;
    font-weight: 700;
    color: #ff6b6b;
}

.recommend-add {
    width: 32px;
    height: 32px;
    background: #339af0;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .recommend-add:hover {
        background: #1971c2;
        transform: scale(1.1);
    }

/* 底部操作栏 */
.product-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.product-footer-actions {
    display: flex;
    gap: 8px;
}

.footer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-width: 60px;
}

    .footer-action:hover {
        background: #e9ecef;
    }

    .footer-action i {
        font-size: 18px;
        margin-bottom: 2px;
    }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}

.product-footer-buy {
    flex: 1;
    display: flex;
    gap: 8px;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn {
    background: #4dabf7;
    color: white;
}

    .add-to-cart-btn:hover {
        background: #339af0;
        transform: translateY(-1px);
    }

.buy-now-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
}

    .buy-now-btn:hover {
        background: linear-gradient(135deg, #fa5252 0%, #ff6b6b 100%);
        transform: translateY(-1px);
    }

/* 消息提示 */
.detail-message-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 80%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(10px);
}

    .detail-message-toast.show {
        opacity: 1;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .product-images-container {
        height: 320px;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }

    .product-footer-bar {
        flex-direction: column;
        gap: 10px;
    }

    .product-footer-actions {
        justify-content: space-between;
    }

    .footer-action {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .product-images-container {
        height: 280px;
    }

    .price-amount {
        font-size: 24px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-footer-bar {
        padding: 10px 12px;
    }

    .add-to-cart-btn,
    .buy-now-btn {
        padding: 12px;
        font-size: 14px;
    }
}
/* ====== 技师入驻页面样式 ====== */

/* 页面头部 */
.join-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    z-index: 1000;
    padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.join-header-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.join-back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .join-back-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateX(-2px);
    }

.join-title {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
    margin: 0;
}

/* 入驻引导 */
.join-guide-section {
    padding: 70px 16px 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.guide-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

    .guide-steps::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: #e9ecef;
        z-index: 1;
    }

.guide-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #868e96;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 4px solid white;
}

.step-text {
    font-size: 12px;
    font-weight: 600;
    color: #868e96;
    white-space: nowrap;
}

.guide-step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.guide-step.active .step-text {
    color: #667eea;
    font-weight: 700;
}

/* 主表单区域 */
.join-main {
    padding: 20px 16px 140px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.join-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .form-step.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f3f5;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #343a40;
    margin: 0;
}

    .section-title i {
        color: #667eea;
        font-size: 14px;
    }

.section-required {
    font-size: 12px;
    color: #868e96;
}

.section-hint {
    font-size: 12px;
    color: #fa5252;
    font-weight: 500;
}

/* 表单组 */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

    .form-label.required::after {
        content: '*';
        color: #fa5252;
        margin-left: 4px;
    }

.form-input,
.form-select select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    background: white;
    transition: all 0.2s ease;
}

    .form-input:focus,
    .form-select select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .form-input.error {
        border-color: #fa5252;
    }

.form-hint {
    font-size: 12px;
    color: #868e96;
    margin-top: 4px;
}

.form-select {
    position: relative;
}

    .form-select select {
        appearance: none;
        padding-right: 40px;
    }

    .form-select i {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #868e96;
        pointer-events: none;
    }

/* 单选和复选框 */
.form-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.radio-label input[type="radio"] {
    display: none;
}

    .radio-label input[type="radio"]:checked + .radio-custom {
        border-color: #667eea;
    }

        .radio-label input[type="radio"]:checked + .radio-custom::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background: #667eea;
            border-radius: 50%;
        }

.radio-text {
    font-size: 14px;
    color: #495057;
}

.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

    .checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
        background: #667eea;
        border-color: #667eea;
    }

        .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

.checkbox-text {
    font-size: 14px;
    color: #495057;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-text {
    color: #667eea;
    font-weight: 600;
}

.checkbox-label:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

/* 短信验证码 */
.sms-btn {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: none;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .sms-btn:hover {
        background: #e9ecef;
    }

    .sms-btn.disabled {
        background: #e9ecef;
        color: #868e96;
        cursor: not-allowed;
    }

/* 上传区域 */
.upload-group {
    margin-bottom: 24px;
}

.upload-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

    .upload-title.required::after {
        content: '*';
        color: #fa5252;
        margin-left: 4px;
    }

.upload-area {
    position: relative;
    height: 120px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    overflow: hidden;
}

    .upload-area:hover {
        border-color: #667eea;
        background: #f8f9fa;
    }

    .upload-area i {
        font-size: 24px;
        color: #868e96;
        margin-bottom: 8px;
    }

.upload-text {
    font-size: 14px;
    color: #868e96;
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    margin-top: 12px;
}

.preview-item {
    position: relative;
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 12px;
}

    .preview-item img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }

.preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #fa5252;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .preview-remove:hover {
        background: #e03131;
        transform: scale(1.1);
    }

.works-upload-area {
    margin-top: 8px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.work-upload-item {
    height: 100px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .work-upload-item:hover {
        border-color: #667eea;
        background: #f8f9fa;
    }

    .work-upload-item i {
        font-size: 20px;
        color: #868e96;
        margin-bottom: 4px;
    }

    .work-upload-item .upload-text {
        font-size: 12px;
    }

/* 价格设置 */
.price-settings {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

    .price-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.price-label {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.price-input-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-symbol {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.price-input {
    width: 80px;
    padding: 6px 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
    text-align: center;
}

    .price-input:focus {
        outline: none;
        border-color: #667eea;
    }

.price-unit {
    font-size: 14px;
    color: #868e96;
    margin-left: 4px;
}

/* 工作经历 */
.experience-list {
    margin-bottom: 20px;
}

.experience-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}

.experience-title {
    font-size: 15px;
    font-weight: 700;
    color: #495057;
    margin: 0;
}

.experience-remove {
    width: 32px;
    height: 32px;
    background: #ffe3e3;
    color: #fa5252;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .experience-remove:hover {
        background: #ffc9c9;
        transform: scale(1.1);
    }

.add-experience-btn {
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

    .add-experience-btn:hover {
        background: #e9ecef;
        border-color: #667eea;
    }

/* 字符计数器 */
.form-counter {
    text-align: right;
    font-size: 12px;
    color: #868e96;
    margin-top: 4px;
}

/* 审核确认 */
.review-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-header {
    text-align: center;
    margin-bottom: 20px;
}

    .review-header i {
        font-size: 48px;
        color: #51cf66;
        margin-bottom: 16px;
    }

.review-title {
    font-size: 20px;
    font-weight: 700;
    color: #343a40;
    margin: 0 0 8px 0;
}

.review-desc {
    font-size: 14px;
    color: #868e96;
    text-align: center;
    margin-bottom: 24px;
}

.review-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

    .review-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.review-label {
    font-size: 15px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 12px;
}

.review-value {
    font-size: 14px;
    color: #495057;
}

.info-line {
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
}

.info-label {
    font-weight: 600;
    color: #868e96;
    min-width: 80px;
}

/* 协议条款 */
.agreement-group {
    margin-bottom: 24px;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.agreement-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

#agreementCheck {
    display: none;
}

    #agreementCheck:checked + .agreement-custom {
        background: #667eea;
        border-color: #667eea;
    }

        #agreementCheck:checked + .agreement-custom::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

.agreement-text {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.agreement-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

    .agreement-link:hover {
        text-decoration: underline;
    }

.submit-tips {
    background: #e7f5ff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

    .submit-tips i {
        color: #339af0;
        font-size: 16px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .submit-tips p {
        font-size: 14px;
        color: #1864ab;
        margin: 0;
        line-height: 1.5;
    }

/* 底部操作栏 */
.join-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e9ecef;
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.progress-info {
    font-size: 14px;
    color: #495057;
}

.current-step {
    font-weight: 700;
    color: #667eea;
}

.footer-actions {
    display: flex;
    gap: 8px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    min-width: 100px;
}

.btn-prev {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

    .btn-prev:hover:not(.disabled) {
        background: #e9ecef;
    }

    .btn-prev.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

    .btn-next:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

.btn-submit {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    color: white;
}

    .btn-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(81, 207, 102, 0.3);
    }

/* 加载状态 */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #f1f3f5;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

/* 成功提示 */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.success-content {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    font-size: 64px;
    color: #51cf66;
    margin-bottom: 16px;
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    color: #343a40;
    margin: 0 0 12px 0;
}

.success-desc {
    font-size: 15px;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 24px;
}

.success-tips {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
    margin-bottom: 8px;
    justify-content: center;
}

    .tip-item:last-child {
        margin-bottom: 0;
    }

    .tip-item i {
        color: #868e96;
        font-size: 14px;
    }

.success-actions {
    display: flex;
    gap: 12px;
}

.btn-close,
.btn-home {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-close {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

    .btn-close:hover {
        background: #e9ecef;
    }

.btn-home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

    .btn-home:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

/* 消息提示 */
.join-message-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 80%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(10px);
}

    .join-message-toast.show {
        opacity: 1;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .guide-steps::before {
        left: 10%;
        right: 10%;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-text {
        font-size: 11px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-group.half {
        width: 100%;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .join-header,
    .join-footer {
        padding: 10px 12px;
    }

    .join-guide-section {
        padding: 60px 12px 15px;
    }

    .join-main {
        padding: 15px 12px 120px;
    }

    .form-section {
        padding: 16px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .btn-prev,
    .btn-next,
    .btn-submit {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 80px;
    }
}