﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

:root {
    --bg-page: rgba(248, 249, 252, 0.85);
    --bg-card: rgba(255, 255, 255, 0.9);
    --primary: #000000;
    --primary-light: #F5F5F5;
    --text-main: #1E293B;
    --text-primary: #1E293B;
    --text-secondary: #5A6A85;
    --text-placeholder: #94A3B8;
    --border-color: #E9EFF5;
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 6px 20px rgba(0,0,0,0.12);
    --card-radius: 20px;
    --spacing-page: 16px;
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

/* 响应式基础设置 */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media screen and (max-width: 374px) {
    html { font-size: 14px; }
    :root { --spacing-page: 12px; }
}

@media screen and (min-width: 768px) {
    html { font-size: 17px; }
    :root { --spacing-page: 20px; }
}

@media screen and (min-width: 1024px) {
    html { font-size: 18px; }
    :root { --spacing-page: 24px; }
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes marqueeRight {
    0% { margin-left: 100%; }
    100% { margin-left: -100%; }
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardHover {
    from { transform: translateY(0); box-shadow: var(--shadow-sm); }
    to { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}

@keyframes buttonClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.page-enter {
    animation: pageEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.btn-click {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-click:active {
    animation: buttonClick 0.15s ease;
}

.card-shadow {
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-shadow:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

html, body {
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
    position: relative;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    display: flex;
    justify-content: center;
}

#app {
    width: 100%;
    max-width: 768px;
    min-height: 100vh;
    background: #f5f5f5;
    overflow-x: hidden;
    position: relative;
}



.page-container {
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    background: #f5f5f5;
    position: relative;
}

.container {
    padding-left: var(--spacing-page);
    padding-right: var(--spacing-page);
    width: 100%;
    position: relative;
}

.page-content {
    width: 100%;
    max-width: 600px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 8px 12px;
    box-sizing: border-box;
    display: block;
}

.btn-clickable:active,
.clickable:active {
    transform: scale(0.92);
    transition: transform 0.15s ease;
    opacity: 0.7;
}

.clickable {
    transition: transform 0.15s ease;
    cursor: pointer;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.icon-wrapper {
    transition: all 0.2s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1);
}

/* 搜索 */
.search-bar {
    background: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 24px !important;
    padding: 14px 20px !important;
    margin: 16px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: none !important;
}

.search-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #000 !important;
    font-weight: normal !important;
    padding: 0 !important;
}

/* 移除所有其他白色背景，只保留边�?*/
.card-placeholder,
.tag-item,
.product-card,
.main-category-item,
.sub-category-item,
.order-card,
.overview-card,
.report-card,
.config-card {
    background: #fff !important;
    border: 1px solid #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.msg-card {
    background: #fff !important;
    border: 1px solid #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-content {
    background: #fff !important;
    border: 1px solid #000 !important;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 14px;
    color: #000;
}

/* 设置搜索框placeholder为黑色并加粗 */
.search-input::placeholder {
    color: #000 !important;
    opacity: 1 !important;
    font-weight: bold !important;
}

/* 首页样式 */
.home-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* 品牌�?*/
.brand-image-area {
    margin: 8px 0 12px;
    text-align: center;
}
.brand-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
}
.brand-placeholder {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 3 / 1;
    background: #E2E8F0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 13px;
}

/* 跑马�?*/
.marquee-wrapper {
    background: #F7B244;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.marquee-icon {
    font-size: 18px;
    flex-shrink: 0;
    color: var(--primary);
}
.marquee-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    padding-left: 100%;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 订单状态标�?*/
.order-status-tabs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.status-tab {
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
.status-tab.active {
    background: #000;
    color: #fff;
}

/* 订单列表 */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.order-item {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.order-id {
    font-size: 13px;
    color: var(--text-secondary);
}
.order-status {
    font-size: 13px;
    font-weight: 600;
}
.status-pending {
    color: #2196F3;
}
.status-service {
    color: #2196F3;
}
.status-completed {
    color: #2196F3;
}
.order-content {
    margin-bottom: 12px;
}
.order-product {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.product-info {
    flex: 1;
}
.product-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
}
.product-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.product-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 16px;
}
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}
.order-time {
    font-size: 12px;
    color: var(--text-placeholder);
}

/* 订单卡片新样�?*/
.order-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E7EB;
}

.order-card-header .order-time {
    font-size: 14px;
    color: #6B7280;
}

.order-card-header .order-status {
    font-size: 14px;
    font-weight: 600;
}

.order-card-product {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.product-image-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #DC2626;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px 0 8px 0;
}

.product-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-detail .product-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #1F2937;
}

.price-quantity-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.product-detail .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #DC2626;
}

.product-quantity {
    font-size: 12px;
    color: #6B7280;
}

.product-detail .product-desc {
    font-size: 11px;
    color: #6B7280;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 16px;
    margin-top: 1px;
}

.order-card-details {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 11px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #6B7280;
}

.detail-value {
    color: #1F2937;
    font-weight: 500;
}

.detail-row-highlight {
    padding-top: 8px;
    border-top: 1px dashed #E5E7EB;
    margin-top: 8px;
}

.price-highlight {
    color: #DC2626;
    font-weight: 700;
    font-size: 14px;
}

.order-card-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid;
}

.cancel-btn {
    background: white;
    color: #6B7280;
    border-color: #D1D5DB;
}

.pay-btn {
    background: #DC2626;
    color: white;
    border-color: #DC2626;
}

.confirm-btn {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 50%, #2196F3 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4), 0 2px 4px rgba(33, 150, 243, 0.3);
}

.detail-btn {
    background: white;
    color: #1E40AF;
    border-color: #1E40AF;
}

.contact-btn {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.complaint-btn {
    background: white;
    color: #DC2626;
    border-color: #DC2626;
}

/* 状态颜�?*/
.status-pending {
    color: #F59E0B;
}
.status-accept {
    color: #3B82F6;
}
.status-service {
    color: #8B5CF6;
}
.status-confirm {
    color: #2196F3;
}
.status-completed {
    color: #6B7280;
}
.status-refunded {
    color: #DC2626;
}

.order-btn {
    background: #000;
    border: none;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.order-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.buy-again-btn {
    background: #F3F4F6;
    color: var(--text-secondary);
    border: 1px solid #E5E7EB;
}

.confirm-btn {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 50%, #2196F3 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4), 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* 双卡�?*/
.double-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.entry-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.card-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-placeholder);
    font-size: 13px;
}
.entry-card-img {
    width: 100%;
    display: block;
}

/* 分类标签 */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.all-cat-title {
    font-weight: 800;
    font-size: 18px;
}
.more-cat {
    font-size: 12px;
    color: var(--text-secondary);
}
.scroll-tags {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.tag-item {
    display: inline-block;
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.tag-item.active {
    background: #000;
    color: #fff;
}

/* 商品网格 */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.product-card {
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.product-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 12px;
}
.product-info {
    padding: 10px;
}
.product-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 2px;
}
.product-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}
.price-now {
    color: var(--primary);
    font-weight: 800;
    font-size: 16px;
}
.price-old {
    font-size: 12px;
    color: var(--text-placeholder);
    text-decoration: line-through;
}
.sold-count {
    font-size: 12px;
    color: var(--text-placeholder);
}

/* 一级分类样�?*/
.main-categories {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.main-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    min-width: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none !important;
    box-shadow: none !important;
}

.main-category-item.active {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

/* 二级分类样式 */
.sub-categories {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.sub-category-item {
    padding: 6px 16px;
    background: transparent !important;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none !important;
    color: #000 !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.sub-category-item.active {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

/* 排序按钮样式 */
.sort-btn {
    padding: 6px 12px;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    white-space: nowrap;
}

/* 排序选项样式 */
.sort-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sort-btn-option {
    padding: 10px 20px;
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 50%, #2196F3 100%);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4), 0 2px 4px rgba(33, 150, 243, 0.3);
}

.sort-btn-option:not(.active) {
    background: #f0f0f0;
    color: #000;
}

.sort-btn-option.active {
    background: #000;
    color: #fff;
}

/* 排序弹窗按钮样式 */
.reset-btn {
    flex: 1;
    background: #f0f0f0;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.confirm-btn {
    flex: 2;
    background: #f0f0f0;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* 二级分类按钮样式 */
.category-sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    margin-right: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none !important;
    background: transparent !important;
    color: #000 !important;
    white-space: nowrap;
}

.category-sidebar-item.active {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
}

/* 商品卡片样式调整 */
.product-card {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-desc {
    height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Tab */
.tab-item {
    display: inline-block;
    font-size: 16px;
    padding: 6px 0;
    margin-right: 20px;
    color: var(--text-placeholder);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.tab-item.active {
    color: #000;
    border-bottom-color: #000;
    font-weight: 700;
}

/* 分类页侧边栏 */
.category-sidebar {
    width: 100px;
    flex-shrink: 0;
}
.category-sidebar-item {
    padding: 12px 8px;
    text-align: center;
    background: var(--bg-card);
    border-radius: 14px;
    margin-bottom: 8px;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 1px solid #e0e0e0;
}
.category-sidebar-item.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* 排行�?*/
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rank-item {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.rank-num {
    width: 32px;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
}
.rank-avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #E2E8F0;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 消息卡片 */
.msg-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
}

/* 用户卡片 */
.user-card {
    background: transparent;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.user-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.avatar {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}
.role-badge {
    background: var(--primary-light);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}
.switch-btn {
    background: white;
    border: 1px solid var(--primary);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

/* 我的订单（带边框�?*/
.order-section {
    padding: 0;
    margin-bottom: 0;
    margin-top: 16px;
}
.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    background: transparent !important;
}
.order-buttons {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.order-btn-sm {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: none;
}

/* 余额/客服�?*/
.action-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.action-item {
    flex: 1;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.action-item:nth-child(1) { background: #2196F3; }
.action-item:nth-child(2) { background: #fff; }

/* 更多功能（大边框�?*/
.func-wrap {
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 16px;
}
.func-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.func-btn-small {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}
.func-emoji { font-size: 22px; }

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3), 0 4px 24px rgba(0,0,0,0.15);
    padding: 0 8px;
    border: 2px solid rgba(79, 195, 247, 0.5);
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #999;
    font-size: 11px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    flex: 1;
    max-width: 60px;
}
.nav-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.nav-item {
    transition: all 0.15s ease;
}

.nav-item:active {
    transform: scale(0.92);
}

.nav-item.active { color: #2196F3 !important; }
.nav-item.active span { color: #2196F3 !important; }

.nav-item.hander-btn {
	position: relative;
	top: -28px;
	width: 58px;
	height: 58px;
	background: transparent;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex: none;
	gap: 0;
	border: 1px solid transparent;
	transition: all 0.2s ease;
}
.nav-item.hander-btn img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
}
.nav-item.hander-btn.active {
}
.nav-item.hander-btn span {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}
.nav-item.hander-btn.active span {
    color: #2196F3;
}
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-placeholder);
}

/* 弹窗 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}
.modal-mask.show { visibility: visible; opacity: 1; }
.modal-container {
    background: white;
    width: 80%;
    border-radius: 28px;
    padding: 24px;
    text-align: center;
}
.identity-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}
.identity-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #f5f5f5;
    cursor: pointer;
    border: 2px solid transparent;
}
.identity-item.active {
    border-color: #000;
    background: rgba(0, 0, 0, 0.1);
}
.identity-icon {
    font-size: 20px;
}
.identity-text {
    font-size: 16px;
    font-weight: 600;
}
.bottom-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 28px 28px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: 0.2s;
    z-index: 1001;
}
.bottom-modal.show { transform: translateY(0); }

/* 会员等级页面 */
.member-page {
    background: transparent;
    min-height: 100vh;
    padding: 20px 16px;
}
.member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.member-title {
    font-size: 18px;
    font-weight: 800;
}
.home-btn {
    font-size: 18px;
    cursor: pointer;
}

/* 轮播卡片 */
.member-carousel {
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
}
.carousel-container {
    display: flex;
    transition: transform 0.3s ease;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}
.carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}
.level-card {
    background: white;
    padding: 16px;
    border-radius: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.level-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E2E8F0;
    cursor: pointer;
}
.indicator.active {
    background: #000;
    width: 20px;
    border-radius: 4px;
}

/* 轮播箭头 */
.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
}
.arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    user-select: none;
}
.arrow.left {
    left: 12px;
}
.arrow.right {
    right: 12px;
}

/* 当前等级信息 */
.current-level-info {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.level-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}
.status-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.status-value {
    font-size: 14px;
    font-weight: 800;
}
.level-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.progress-label {
    font-size: 14px;
    font-weight: 600;
}
.progress-percentage {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}
.progress-bar {
    width: 100%;
    height: 8px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.current-points {
    font-size: 12px;
    color: var(--text-secondary);
}
.view-next-btn {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

/* 权益介绍 */
.benefits-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.benefits-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}
.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}
.benefit-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.benefit-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}
.benefits-empty {
    text-align: center;
    padding: 24px 0;
    color: var(--text-placeholder);
}
.empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.empty-text {
    font-size: 14px;
}

/* 当前等级任务 */
.tasks-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.tasks-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.task-item {
    font-size: 14px;
    line-height: 1.4;
}

/* 接单中心页面 */
.reception-page {
    background: transparent;
    min-height: 100vh;
    padding: 20px 16px;
}
.reception-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.reception-title {
    font-size: 18px;
    font-weight: 800;
}
.online-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: #F1F5F9;
    color: var(--text-secondary);
    cursor: pointer;
}
.online-status.online {
    background: #2196F3;
    color: white;
}

/* 接单统计 */
.reception-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}
.stat-item {
    flex: 1;
    background: white;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin: 0 4px;
}
.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 筛选条�?*/
.filter-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.filter-title {
    font-size: 16px;
    font-weight: 800;
}
.reset-btn {
    font-size: 12px;
    color: var(--primary);
    cursor: pointer;
}
.filter-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter-label {
    font-size: 14px;
    font-weight: 600;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-tag {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
}
.filter-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 订单列表 */
.order-list-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.section-title {
    font-size: 16px;
    font-weight: 800;
}
.refresh-btn {
    font-size: 12px;
    color: var(--primary);
    cursor: pointer;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
}
.order-card.processing {
    border-color: #000;
    background: rgba(0, 0, 0, 0.05);
}
.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.order-id {
    font-size: 12px;
    color: var(--text-secondary);
}
.order-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}
.order-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.order-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.order-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.order-time {
    font-size: 12px;
    color: var(--text-placeholder);
}
.order-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #F1F5F9;
}
.order-status.processing {
    background: #000;
    color: #fff;
}
.order-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.detail-item {
    font-size: 12px;
    color: var(--text-secondary);
    background: #F8FAFC;
    padding: 2px 8px;
    border-radius: 8px;
}
.order-progress {
    margin-bottom: 12px;
}
.progress-bar {
    width: 100%;
    height: 6px;
    background: #F1F5F9;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}
.progress-fill {
    height: 100%;
    background: #000;
    border-radius: 3px;
}
.progress-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
}
.order-actions {
    display: flex;
    gap: 8px;
}
.accept-btn {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.team-btn {
    flex: 1;
    background: #F1F5F9;
    color: var(--text-primary);
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.chat-btn {
    flex: 1;
    background: #F1F5F9;
    color: var(--text-primary);
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.update-btn {
    flex: 1;
    background: #F1F5F9;
    color: var(--text-primary);
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.complete-btn {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 聊天界面 */
.chat-container {
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message {
    max-width: 80%;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F1F5F9;
    align-self: flex-start;
}
.chat-message.mine {
    background: #000;
    color: #fff;
    align-self: flex-end;
}
.message-content {
    margin-bottom: 4px;
    line-height: 1.4;
}
.message-time {
    font-size: 10px;
    opacity: 0.7;
    text-align: right;
}
.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}
.chat-input-field {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
}
.send-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 消息页面聊天样式 */
.chat-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 80vh;
}
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: #F8FAFC;
}
.chat-title {
    font-size: 16px;
    font-weight: 800;
}
.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-secondary);
}
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message.sent {
    background: #000;
    color: #fff;
    align-self: flex-end;
}
.chat-message.received {
    background: #F1F5F9;
    align-self: flex-start;
}

/* 钱包页面 */
.wallet-page {
    background: transparent;
    min-height: 100vh;
    padding: 20px 16px;
}
.wallet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.wallet-title {
    font-size: 18px;
    font-weight: 800;
}
.wallet-balance {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.balance-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.balance-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.deposit-info {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.deposit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.deposit-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.deposit-amount {
    font-size: 16px;
    font-weight: 600;
}
.deposit-amount.frozen {
    color: #94A3B8;
}
.wallet-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.wallet-actions .action-item {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.action-icon {
    font-size: 24px;
    margin-bottom: 8px;
}
.action-text {
    font-size: 14px;
    font-weight: 600;
}
.transaction-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.transaction-item:last-child {
    border-bottom: none;
}
.transaction-info {
    flex: 1;
}
.transaction-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.transaction-time {
    font-size: 12px;
    color: var(--text-secondary);
}
.transaction-amount {
    font-size: 16px;
    font-weight: 600;
}
.transaction-amount.income {
    color: #2196F3;
}
.transaction-amount.outcome {
    color: #EF4444;
}

/* 通用按钮样式 */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.sort-modal {
    align-items: flex-start;
    padding-top: 120px;
}
.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}
.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}
.modal-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 12px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
}
.amount-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.amount-option {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.amount-option.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 登录类型选择 */
.login-type-selector {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 4px;
}
.login-type {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.login-type.active {
    background: white;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

/* 快捷登录 */
.quick-login {
    margin-top: 24px;
}
.quick-login-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}
.quick-login-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.quick-login-info {
    flex: 1;
}
.quick-login-phone {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.quick-login-password {
    font-size: 12px;
    color: var(--text-secondary);
}
.quick-login-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 身份切换模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}
.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}
.identity-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.identity-option.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}
.identity-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.identity-radio.checked {
    border-color: var(--primary);
    background: var(--primary);
}
.identity-radio.checked::after {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}
.identity-info {
    flex: 1;
}
.identity-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.identity-desc {
    font-size: 14px;
    color: var(--text-secondary);
}
.modal-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 12px;
}
.btn-cancel {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 16px;
    cursor: pointer;
}
.btn-confirm {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.avatar-option {
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.avatar-option.active {
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* 余额充值页�?*/
.recharge-page {
    background: transparent;
    min-height: 100vh;
    padding: 20px 16px;
}
.recharge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.recharge-title {
    font-size: 18px;
    font-weight: 800;
}
.home-btn {
    font-size: 18px;
    cursor: pointer;
}
.balance-info {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.balance-amount {
    display: flex;
    align-items: center;
    gap: 12px;
}
.balance-icon {
    font-size: 24px;
}
.balance-text {
    font-size: 14px;
    color: var(--text-secondary);
}
.balance-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.recharge-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}
.amount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.amount-item {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
}
.amount-item.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}
.amount-item.recommended {
    border-color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
}
.amount-value {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}
.amount-label {
    font-size: 12px;
    color: var(--text-secondary);
}
.recommended-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #F59E0B;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
}
.custom-amount {
    background: #F8FAFC;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 16px;
}
.custom-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.custom-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.custom-input-section {
    margin-bottom: 16px;
}
.custom-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}
.input-hint {
    font-size: 12px;
    color: var(--text-placeholder);
    text-align: center;
    margin-top: 4px;
}
.recharge-btn {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 16px;
}
.balance-detail {
    text-align: center;
    font-size: 14px;
    color: var(--primary);
    cursor: pointer;
}

/* 申请信息�?*/
.apply-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
}
.apply-info-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}
.apply-info-content {
    font-size: 14px;
    line-height: 1.8;
}

/* 申请备注 */
.apply-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FEF3C7;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}
.note-icon {
    font-size: 20px;
}
.note-text {
    font-size: 14px;
    color: #92400E;
    flex: 1;
}



.sub-category-icon-upload {
    width: 36px;
    height: 36px;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f9fafb;
    color: #6b7280;
}

.sub-category-icon-upload img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.price-input {
    width: 100px;
}

.price-unit {
    font-size: 14px;
    color: #6b7280;
}

.rule-level {
    width: 60px;
}

.rule-name {
    flex: 1;
}

.rule-punish {
    flex: 1;
}

.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.keyword-tag-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
}

.keyword-delete {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #6b7280;
}

.add-keyword-form {
    display: flex;
    gap: 8px;
}

.add-keyword-form .form-input {
    flex: 1;
}

.notice-edit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-edit-item {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
}

.notice-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notice-edit-header .form-input {
    flex: 1;
    margin-right: 8px;
}

.notice-edit-header .form-select {
    width: 100px;
}

.notice-edit-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.notice-edit-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.notice-time {
    font-size: 12px;
    color: #6b7280;
}

.banner-edit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.banner-edit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
}

.banner-edit-preview {
    width: 120px;
    height: 60px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    color: #6b7280;
    flex-shrink: 0;
}

.banner-edit-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.banner-edit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.banner-upload-btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
}

.service-edit-item .form-input {
    flex: 1;
    margin-bottom: 8px;
}

.price-input {
    width: 80px !important;
    flex: none !important;
}

.price-unit {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 处罚规则编辑 */
.rule-edit-item {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.rule-level {
    width: 60px !important;
    flex: none !important;
}
.rule-name {
    flex: 1;
}
.rule-punish {
    flex: 1;
}

/* ============ ͳһ��ƹ淶 - ������̬��ť ============ */
.btn-glass {
    position: relative;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-glass:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-glass.primary {
    background: rgba(76, 175, 80, 0.8);
    color: #fff;
    border-color: rgba(76, 175, 80, 0.5);
}

.btn-glass.primary:hover {
    background: rgba(76, 175, 80, 0.9);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.4);
}

.btn-glass.danger {
    background: rgba(239, 68, 68, 0.8);
    color: #fff;
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-glass.danger:hover {
    background: rgba(239, 68, 68, 0.9);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4);
}

.btn-glass.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============ Toast֪ͨ��� ============ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: toast-slide-in 0.3s ease-out forwards;
    max-width: 320px;
}

.toast.fade-out {
    animation: toast-fade-out 0.3s ease-out forwards;
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toast-fade-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.toast-icon.error {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.toast-icon.warning {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
}

.toast-icon.info {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ ����״̬���� ============ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(76, 175, 80, 0.2);
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    animation: loading-dot-pulse 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loading-dot-pulse {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ ������Ƭ��ǿ��� ============ */
.order-card-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.order-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800);
}

.order-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.order-card-enhanced:active {
    transform: translateY(-2px);
}

/* ============ �ӵ�״̬���ӻ� ============ */
.status-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.status-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #e2e8f0;
}

.status-step.active::after {
    background: linear-gradient(90deg, #4CAF50, #2196F3);
}

.status-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.status-dot.pending {
    background: #e2e8f0;
    color: #94a3b8;
}

.status-dot.active {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    color: #fff;
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.4);
}

.status-dot.completed {
    background: #4CAF50;
    color: #fff;
}

.status-label {
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

/* ============ ����ͳ�ƿ�Ƭ ============ */
.stats-card-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 20px;
    margin: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.stats-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item-enhanced {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-item-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
}

.stat-value-enhanced {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label-enhanced {
    font-size: 12px;
    color: #64748b;
}

/* ============ �����۽����� ============ */
.input-focus-effect {
    position: relative;
}

.input-focus-effect input,
.input-focus-effect textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    outline: none;
}

.input-focus-effect input:focus,
.input-focus-effect textarea:focus {
    border-color: #4CAF50;
    box-shadow: 
        0 0 0 3px rgba(76, 175, 80, 0.1),
        0 4px 20px rgba(76, 175, 80, 0.15);
}

.input-focus-effect input::placeholder,
.input-focus-effect textarea::placeholder {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.input-focus-effect input:focus::placeholder,
.input-focus-effect textarea:focus::placeholder {
    color: #cbd5e1;
}

/* ============ ����������� ============ */
.slider-container {
    padding: 20px 0;
}

.slider-track {
    position: relative;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.slider-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 4px;
    transition: width 0.15s ease;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(76, 175, 80, 0.3);
    transition: all 0.2s ease;
    z-index: 1;
}

.slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 0 0 4px rgba(76, 175, 80, 0.4);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #64748b;
}

/* ============ ��״̬�Ż� ============ */
.empty-state-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.empty-icon {
    font-size: 48px;
    opacity: 0.5;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.empty-description {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.5;
}

.empty-action {
    padding: 12px 32px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ============ ��Ʒ��Ƭ��ͣЧ�� ============ */
.product-card-hover {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card-hover:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-card-hover:hover::before {
    left: 100%;
}
    flex: 1;
}

/* 敏感词库 */
.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.keyword-tag-item {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border-radius: 16px;
    padding: 6px 12px;
    gap: 8px;
}
.keyword-text {
    font-size: 14px;
}
.keyword-delete {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #CBD5E1;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.add-keyword-form {
    display: flex;
    gap: 8px;
}
.add-keyword-form .form-input {
    flex: 1;
}

/* 公告编辑 */
.notice-edit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.notice-edit-item {
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
}
.notice-edit-header {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.notice-edit-header .form-input {
    flex: 1;
}
.notice-edit-header .form-select {
    width: 100px;
}
.notice-edit-item textarea {
    width: 100%;
    margin-bottom: 8px;
}
.notice-edit-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notice-time {
    font-size: 12px;
    color: var(--text-placeholder);
}

/* Banner编辑 */
.banner-edit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.banner-edit-item {
    display: flex;
    gap: 12px;
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
}
.banner-edit-preview {
    width: 120px;
    height: 80px;
    border-radius: 8px;
}

/* 新订单卡片样�?*/
.order-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.order-time {
    font-size: 14px;
    color: #6B7280;
}

.order-status {
    font-size: 14px;
    font-weight: 600;
    color: #DC2626;
}

.product-info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1F2937;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #DC2626;
}

.product-quantity {
    font-size: 12px;
    color: #6B7280;
}

.product-desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 8px;
}

.order-details {
    margin-bottom: 16px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #6B7280;
}

.detail-value {
    color: #1F2937;
    font-weight: 500;
}

.total-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
}

.total-price {
    color: #DC2626;
    font-weight: 700;
    font-size: 14px;
}

.order-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid;
}

.detail-btn {
    background: white;
    color: #1E40AF;
    border-color: #1E40AF;
}

.contact-btn {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.complaint-btn {
    background: white;
    color: #DC2626;
    border-color: #DC2626;
}

.buy-again-btn {
    background: #F3F4F6;
    color: #6B7280;
    border-color: #E5E7EB;
}

.banner-edit-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-upload-btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E2E8F0;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
}
.banner-edit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.banner-edit-info .form-group {
    margin-bottom: 0;
}
.banner-edit-item > .btn-icon {
    align-self: flex-start;
}

.img-upload-box.small {
    width: 100px;
    height: 100px;
}

.form-select {
    padding: 10px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}
.config-card .config-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.quick-actions .action-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 8px;
}
.quick-actions .action-text {
    font-size: 12px;
    color: var(--text-primary);
}

/* 实时预警 */
.alerts-section {
    margin-bottom: 16px;
}
.alert-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}
.alert-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.alert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}
.alert-item.warning {
    background: #FEF3C7;
    color: #92400E;
}
.alert-item.danger {
    background: #FEE2E2;
    color: #991B1B;
}

/* 财务管理样式 */
.finance-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.finance-card {
    background: white;
    padding: 20px 16px;
    border-radius: 16px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.finance-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.finance-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.finance-value.primary {
    color: var(--primary);
}
.finance-value.warning {
    color: #F59E0B;
}

/* 财务标签�?*/
.finance-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.finance-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    background: #F8FAFC;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.finance-tab.active {
    background: var(--primary);
    color: white;
}

/* 提现管理 */
.withdraw-list {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
}
.withdraw-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #E2E8F0;
}
.withdraw-card:last-child {
    border-bottom: none;
}
.withdraw-info {
    flex: 1;
}
.withdraw-name {
    font-weight: 600;
    margin-bottom: 4px;
}
.withdraw-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.withdraw-time {
    font-size: 12px;
    color: var(--text-secondary);
}
.withdraw-actions {
    display: flex;
    gap: 8px;
}
.action-btn.yellow {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 50%, #2196F3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4), 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* 流水记录 */
.records-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
}
.records-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.records-actions .action-btn {
    padding: 8px 16px;
    font-size: 14px;
}
.records-actions .action-btn.active {
    background: #000;
    color: white;
}
.records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.record-card {
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}
.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.record-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.record-type.type-income {
    background: #DCFCE7;
    color: #16A34A;
}
.record-type.type-expense {
    background: #FEE2E2;
    color: #DC2626;
}
.record-amount.income {
    color: #16A34A;
    font-weight: 700;
}
.record-amount.expense {
    color: #DC2626;
    font-weight: 700;
}
.record-desc {
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.record-time {
    font-size: 12px;
    color: var(--text-placeholder);
}

/* 管理模块 */
.manage-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.section-title {
    font-size: 16px;
    font-weight: 800;
}
.section-back {
    font-size: 12px;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* 用户管理 */
.user-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.user-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: #F3F4F6;
}
.user-tab.active {
    background: var(--primary);
    color: white;
}
.user-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}
.user-card {
    background: transparent;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* 老板头像样式 */
.avatar-gold {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.avatar-diamond {
    background: linear-gradient(135deg, #85C1E9, #2E86C1);
}

.avatar-supreme {
    background: linear-gradient(135deg, #BB8FCE, #8E44AD);
}

/* 打手头像样式 */
.avatar-senior {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.avatar-normal {
    background: linear-gradient(135deg, #BDC3C7, #7F8C8D);
}

.avatar-elite {
    background: linear-gradient(135deg, #82E0AA, #27AE60);
}

.avatar-default {
    background: #E2E8F0;
}

.avatar-default .avatar-text {
    color: #64748B;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 老板角色徽章样式 */
.badge-gold {
    background: #DBEAFE;
    color: #1D4ED8;
}

.badge-gold::before {
    content: "🟡";
}

.badge-diamond {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-diamond::before {
    content: "🔵";
}

.badge-supreme {
    background: #F3E8FF;
    color: #6B21A8;
}

.badge-supreme::before {
    content: "🟣";
}

/* 打手角色徽章样式 */
.badge-senior {
    background: #FEF3C7;
    color: #92400E;
}

.badge-senior::before {
    content: "🟡";
}

.badge-normal {
    background: #F3F4F6;
    color: #4B5563;
}

.badge-normal::before {
    content: "普通";
}

.badge-elite {
    background: #D1FAE5;
    color: #065F46;
}

.badge-elite::before {
    content: "🟢";
}

.user-meta {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 2px;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #E5E7EB;
    background: white;
    color: #374151;
}

.action-btn.warning {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FECACA;
}

/* 订单管理 */
.order-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.filter-tag {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    background: #F3F4F6;
    cursor: pointer;
}
.filter-tag.active {
    background: var(--primary);
    color: white;
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-item {
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.order-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}
.order-id {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    flex: 1;
}
.order-status {
    font-size: 14px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.order-status.pending {
    background: #FEF3C7;
    color: #92400E;
}
.order-status.processing {
    background: #DBEAFE;
    color: #1E40AF;
}
.order-status.completed {
    background: #D1FAE5;
    color: #065F46;
}
.order-status.dispute {
    background: #FEE2E2;
    color: #991B1B;
}
.order-body {
    margin-bottom: 12px;
}
.service-info {
    font-size: 14px;
    margin-bottom: 8px;
    color: #1F2937;
}
.amount-info {
    font-size: 16px;
    font-weight: 700;
    color: #DC2626;
    margin-bottom: 8px;
}
.order-parties {
    display: flex;
    gap: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6B7280;
}
.party {
    display: flex;
    align-items: center;
}
.order-time {
    font-size: 12px;
    color: #9CA3AF;
}
.order-actions {
    display: flex;
    gap: 8px;
}
.action-btn.detail-btn {
    background: white;
    color: #1E40AF;
    border-color: #1E40AF;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid;
}

.action-btn.assign-btn {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid;
}

/* 通用操作标签 */
.action-tag {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    background: #E5E7EB;
}
.action-tag.primary {
    background: #dc2626;
    color: white;
}
.action-tag.warning {
    background: #F59E0B;
    color: white;
}
.action-tag.success {
    background: #10B981;
    color: white;
}
.action-tag.danger {
    background: #EF4444;
    color: white;
}

/* 纠纷列表 */
.dispute-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dispute-item {
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.dispute-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}
.dispute-level {
    font-size: 14px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.dispute-level.high {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
.dispute-level.medium {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}
.order-item.level-high {
    border: 1px solid #FECACA;
}
.order-item.level-medium {
    border: 1px solid #FDE68A;
}
.dispute-description {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.4;
}
.dispute-parties {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.party-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.avatar-boss {
    background: linear-gradient(135deg, #F5B041, #F39C12);
}
.avatar-hitter {
    background: linear-gradient(135deg, #82E0AA, #27AE60);
}
.avatar-default {
    background: #E2E8F0;
}
.avatar-boss .avatar-text,
.avatar-hitter .avatar-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
}
.avatar-default .avatar-text {
    color: #64748B;
    font-size: 14px;
    font-weight: 600;
}
.party-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.party-name {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}
.party-role {
    font-size: 12px;
    color: #9CA3AF;
}
.arrow {
    font-size: 16px;
    color: #9CA3AF;
    margin: 0 8px;
}
.action-btn.primary {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}
.dispute-body {
    margin-bottom: 8px;
}
.dispute-type {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.dispute-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.dispute-actions {
    display: flex;
    gap: 8px;
}

/* 财务管理 */
.finance-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.finance-card {
    background: #F8FAFC;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}
.finance-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.finance-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}
.finance-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.finance-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: #F3F4F6;
}
.finance-tab.active {
    background: var(--primary);
    color: white;
}
.withdraw-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.withdraw-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 12px;
}
.withdraw-info {
    flex: 1;
}
.withdraw-name {
    font-weight: 600;
}
.withdraw-meta {
    font-size: 12px;
    color: var(--text-secondary);
}
.withdraw-amount {
    font-weight: 800;
    color: var(--primary);
}
.withdraw-actions {
    display: flex;
    gap: 8px;
}

/* 系统配置 */
.config-list {
    display: flex;
    flex-direction: column;
}
.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}
.config-item:last-child {
    border-bottom: none;
}
.config-arrow {
    color: var(--text-secondary);
}

/* 数据报表 */
.report-charts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.report-card {
    background: #F8FAFC;
    padding: 16px;
    border-radius: 12px;
}
.report-title {
    font-weight: 600;
    margin-bottom: 8px;
}
.report-data {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 客服端页�?*/
.cs-page {
    background: transparent;
    min-height: 100vh;
    padding: 16px;
}
.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cs-title {
    font-size: 18px;
    font-weight: 800;
}
.cs-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    cursor: pointer;
}
.cs-status.online {
    background: #D1FAE5;
    color: #059669;
}
.cs-status.busy {
    background: #FEF3C7;
    color: #D97706;
}
.cs-status.offline {
    background: #F3F4F6;
    color: #6B7280;
}
.cs-status.rest {
    background: #E0E7FF;
    color: #4338CA;
}

/* 客服数据概览 */
.cs-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.overview-item {
    background: white;
    padding: 12px 8px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.overview-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}
.overview-label {
    font-size: 10px;
    color: #000;
}

/* 客服快捷操作 */
.cs-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.quick-action {
    background: white;
    padding: 12px 8px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.quick-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}
.quick-text {
    font-size: 11px;
    color: var(--text-primary);
}

/* 客服预警 */
.cs-alerts {
    margin-bottom: 16px;
}
.alert-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}
.alert-banner.warning {
    background: #FEF3C7;
    color: #92400E;
}
.alert-banner.danger {
    background: #FEE2E2;
    color: #991B1B;
}

/* 功能模块 */
.cs-modules {
    margin-bottom: 16px;
}
.module-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.module-title {
    font-size: 16px;
    font-weight: 800;
}
.module-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 8px;
    background: #FEF3C7;
    color: #92400E;
}
.module-badge.danger {
    background: #FEE2E2;
    color: #991B1B;
}

/* 会话列表 */
.session-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.session-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 12px;
    cursor: pointer;
}
.session-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.session-info {
    flex: 1;
}
.session-name {
    font-weight: 600;
    margin-bottom: 4px;
}
.session-preview {
    font-size: 12px;
    color: var(--text-secondary);
}
.session-meta {
    text-align: right;
}
.session-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.session-status {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 8px;
}
.session-status.pending {
    background: #FEE2E2;
    color: #991B1B;
}
.session-status.replied {
    background: #D1FAE5;
    color: #059669;
}

/* 客服订单 */
.order-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.order-tab {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    gap: 4px;
}
.order-tab.active {
    background: var(--primary);
    color: white;
}
.tab-badge {
    font-size: 10px;
    background: #FEE2E2;
    color: #991B1B;
    padding: 2px 6px;
    border-radius: 8px;
}
.order-tab.active .tab-badge {
    background: white;
    color: var(--primary);
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-card {
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
}
.order-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.order-id {
    font-size: 12px;
    color: var(--text-secondary);
}
.order-type {
    font-size: 12px;
    background: #DBEAFE;
    color: #1E40AF;
    padding: 2px 8px;
    border-radius: 8px;
}
.order-info {
    font-size: 14px;
    margin-bottom: 8px;
}
.order-info .price {
    color: var(--primary);
    font-weight: 800;
}
.order-actions {
    display: flex;
    gap: 8px;
}
.cs-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
}
.cs-btn.primary {
    background: var(--primary);
    color: white;
    border: none;
}
.cs-btn.warning {
    background: #F59E0B;
    color: white;
    border: none;
}
.cs-btn.danger {
    background: #EF4444;
    color: white;
    border: none;
}

/* 客服纠纷 */
.dispute-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dispute-card {
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
}
.dispute-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.dispute-id {
    font-size: 12px;
    color: var(--text-secondary);
}
.dispute-level {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 8px;
}
.dispute-level.高危 {
    background: #FEE2E2;
    color: #991B1B;
}
.dispute-level.中危 {
    background: #FEF3C7;
    color: #92400E;
}
.dispute-body {
    margin-bottom: 8px;
}
.dispute-type {
    font-weight: 600;
    margin-bottom: 4px;
}
.dispute-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.dispute-parties {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 12px;
}
.party {
    color: var(--text-secondary);
}
.dispute-actions {
    display: flex;
    gap: 8px;
}

/* 投诉列表 */
.complaint-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.complaint-card {
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
}
.complaint-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.complaint-id {
    font-size: 12px;
    color: var(--text-secondary);
}
.complaint-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 8px;
}
.complaint-status.待处理{
    background: #FEF3C7;
    color: #92400E;
}
.complaint-status.已处理{
    background: #D1FAE5;
    color: #059669;
}
.complaint-body {
    font-size: 14px;
    margin-bottom: 8px;
}
.complaint-actions {
    display: flex;
    gap: 8px;
}

/* 快捷话术 */
.quick-phrases {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.phrase-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}
.phrase-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.phrase-item {
    background: #F8FAFC;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}

/* 商品详情页面 */
.product-detail {
    background: transparent;
    min-height: 100vh;
}
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.product-title {
    font-size: 16px;
    font-weight: 800;
}
.header-actions {
    display: flex;
    gap: 12px;
}
.home-btn {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}
.product-images {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
.product-images img {
    width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* 余额容器样式 */
.balance-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.wallet-balance-card,
.deposit-info-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.balance-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 8px;
}

/* 钱包操作按钮样式 */
.wallet-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.wallet-actions .action-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.action-btn.withdraw {
    background: var(--primary);
    color: white;
}

.action-btn.withdraw-deposit {
    background: var(--primary);
    color: white;
}

.action-btn.recharge-deposit {
    background: var(--primary);
    color: white;
}
.product-info {
    background: white;
    padding: 16px;
    margin-bottom: 8px;
}
.product-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}
.product-sales {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.price-current {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.price-original {
    font-size: 14px;
    color: var(--text-placeholder);
    text-decoration: line-through;
}
.product-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}
.service-guarantee {
    background: white;
    padding: 16px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 8px;
}
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.guarantee-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.guarantee-text {
    font-size: 12px;
    color: #F59E0B;
}
.product-details-section {
    background: white;
    padding: 16px;
    margin-bottom: 8px;
}
.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}
.product-details {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}
.detail-item {
    margin-bottom: 8px;
    background: none;
    padding: 0;
    border-radius: 0;
}
.user-reviews {
    background: white;
    padding: 16px;
    margin-bottom: 80px;
}
.reviews-scrolling {
    max-height: 300px;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.review-item {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}
.review-item:last-child {
    border-bottom: none;
}
.review-header {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}
.review-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.review-info {
    flex: 1;
}
.review-user {
    font-weight: 600;
    margin-bottom: 2px;
}
.review-time {
    font-size: 12px;
    color: var(--text-secondary);
}
.review-content {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}
.review-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.review-tag {
    font-size: 12px;
    padding: 2px 8px;
    background: #F3F4F6;
    border-radius: 8px;
    color: var(--text-secondary);
}
.product-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 12px 16px;
    gap: 12px;
}
.customer-service {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}
.cs-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 4px;
}
.order-btn {
    flex: 3;
    background: #F59E0B;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

/* 商品下单页面 */
.product-order {
    background: #f5f5f5;
    min-height: 100vh;
}
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.order-title {
    font-size: 16px;
    font-weight: 800;
}
.order-content {
    padding: 16px;
    margin-bottom: 80px;
}
.order-list-page .order-section {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.item-info {
    display: flex;
    gap: 12px;
    flex: 1;
}
.item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}
.item-details {
    flex: 1;
}
.item-name {
    font-weight: 600;
    margin-bottom: 4px;
}
.item-price {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}
.item-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.item-quantity {
    font-size: 14px;
    color: var(--text-secondary);
}
.order-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.info-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.info-value {
    font-size: 14px;
    color: var(--text-primary);
}
.info-value.price {
    color: var(--primary);
    font-weight: 800;
}
.info-input {
    margin-bottom: 12px;
}
.info-input label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    height: 100px;
    box-sizing: border-box;
}
.server-options {
    display: flex;
    gap: 12px;
}
.server-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}
.server-btn.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}
.hander-options {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.hander-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}
.hander-btn.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 16px;
}
.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.quantity {
    font-size: 16px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}
.reward-options {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.reward-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}
.reward-btn.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}
.remark-hint {
    font-size: 12px;
    color: var(--text-placeholder);
    margin-top: 4px;
}
.order-notes {
    background: #FEF3C7;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.note-item {
    font-size: 12px;
    color: #92400E;
    margin-bottom: 4px;
}
.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.total-label {
    font-size: 16px;
    font-weight: 600;
}
.total-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.order-btn {
    width: 100%;
    background: #F59E0B;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

/* 钱包页面 */
.wallet-page {
    background: transparent;
    min-height: 100vh;
    padding: 20px 16px;
}
.wallet-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.wallet-title {
    font-size: 18px;
    font-weight: 800;
    margin-left: 16px;
}

/* 钱包余额 */
.wallet-balance {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.balance-amount {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}
.balance-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 押金信息 */
.deposit-info {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.deposit-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.deposit-item:last-child {
    margin-bottom: 0;
}
.deposit-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.deposit-amount {
    font-size: 14px;
    font-weight: 600;
}
.deposit-amount.frozen {
    color: var(--text-placeholder);
}

/* 操作按钮 */
.wallet-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}
.wallet-actions .action-item {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin: 0 4px;
    cursor: pointer;
}
.wallet-actions .action-icon {
    font-size: 24px;
    margin-bottom: 8px;
}
.wallet-actions .action-text {
    font-size: 14px;
    font-weight: 600;
}

/* 底部导航�?*/
.hander-bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3), 0 4px 24px rgba(0,0,0,0.15);
    padding: 0 8px;
    border: 2px solid rgba(79, 195, 247, 0.5);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-label {
    font-size: 12px;
}

/* 等级卡片 */
.level-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    color: white;
}

.level-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.current-level {
    font-size: 14px;
    opacity: 0.8;
}

.level-name {
    font-size: 18px;
    font-weight: bold;
}

.level-progress {
    margin-top: 8px;
}

.level-progress .progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.level-progress .progress-fill {
    height: 100%;
    background: white;
    border-radius: 3px;
}

.level-progress .progress-text {
    font-size: 12px;
    opacity: 0.8;
}

/* 俱乐部管理规�?*/
.club-rule {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rule-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rule-icon {
    margin-right: 8px;
}

.rule-link {
    color: var(--primary);
    font-size: 14px;
    cursor: pointer;
}

/* 财务信息 */
.finance-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.finance-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.finance-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.finance-value {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.finance-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
}

.earnings-detail {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.earnings-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.earnings-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.earnings-value {
    font-size: 14px;
    font-weight: bold;
}

/* 功能入口 */
.function-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.function-item:hover {
    background: #f8f9fa;
}

.function-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.function-label {
    font-size: 12px;
    text-align: center;
}

/* 消息页面 */
.message-section {
    padding: 24px 0;
}

/* 打手端我的页�?*/
.hander-user-card {
    display: flex;
}

/* ============ 新增美化效果 ============ */

/* 1. 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.3s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

.animate-scale-in {
    animation: scaleIn 0.2s ease-out;
}

/* 2. 微交�?*/
.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.btn-press {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-press:active {
    transform: scale(0.95);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-lift:active {
    transform: translateY(-2px);
}

.glow-effect {
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 4. 图标与字�?*/
.icon-spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.icon-bounce {
    animation: icon-bounce 1s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.font-smoothing {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 6. 布局优化 */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.truncate-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-text-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.safe-area-top {
    padding-top: env(safe-area-inset-top);
}

.safe-area-inset {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* 7. 用户体验 */
.toast-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.toast {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    animation: toast-in 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toast.success {
    background: rgba(76, 175, 80, 0.9);
}

.toast.error {
    background: rgba(239, 68, 68, 0.9);
}

.toast.warning {
    background: rgba(255, 152, 0, 0.9);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

.tap-hint {
    position: relative;
}

.tap-hint::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: tap-ring 1.5s ease-out infinite;
}

@keyframes tap-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* 8. 导航栏优�?*/
.nav-item-animated {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-animated.active {
    transform: translateY(-2px);
}

.nav-item-animated.active img {
    filter: drop-shadow(0 2px 4px rgba(79, 195, 247, 0.5));
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
    border-radius: 2px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border-radius: 9px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: badge-pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item.active + .nav-glow {
    opacity: 1;
}

/* 渐变背景 */
.gradient-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #A8E6CF 0%, #88D8B0 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #2C3E50 0%, #4A69BD 100%);
}

/* 毛玻璃效�?*/
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* 卡片悬浮效果 */
.card-float {
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-float::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    right: 10%;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-float:hover {
    transform: translateY(-8px);
}

.card-float:hover::before {
    opacity: 1;
}

/* 按钮渐变悬停 */
.btn-gradient {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

/* 进度条动�?*/
.progress-animated {
    background: linear-gradient(90deg, #FF6B6B, #FF8E53, #FFD93D);
    background-size: 200% 100%;
    animation: progress-shine 2s linear infinite;
}

@keyframes progress-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 数字滚动动画 */
.number-animate {
    display: inline-block;
    animation: number-pop 0.3s ease-out;
}

@keyframes number-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 输入框聚焦效�?*/
.input-focus {
    transition: all 0.3s ease;
}

.input-focus:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    border-color: #FF6B6B;
}

/* 图片懒加载占�?*/
.image-placeholder {
    background: linear-gradient(135deg, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: placeholder-shimmer 1.5s infinite;
}

@keyframes placeholder-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 星级评分 */
.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ddd'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.star.filled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.star:hover {
    transform: scale(1.2);
}

/* 滑块开�?*/
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

/* 分隔�?*/
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 16px 0;
}

.divider-dashed {
    height: 1px;
    background: repeating-linear-gradient(90deg, #ddd, #ddd 4px, transparent 4px, transparent 8px);
    margin: 16px 0;
}

/* 网格背景 */
.grid-bg {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 条纹背景 */
.striped-bg {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
}

/* 响应式断�?*/
@media (max-width: 320px) {
    .responsive-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
}

@media (min-width: 768px) {
    .responsive-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
}
    align-items: center;
    gap: 16px;
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    margin-bottom: 16px;
    color: var(--text-main);
}

.hander-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #E2E8F0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hander-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hander-info {
    flex: 1;
}

.hander-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-main);
}

.hander-level {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 暂无消息图标样式 */
.empty-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* 暂无订单刷新按钮 */
.refresh-empty-btn {
    margin-top: 16px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 接单大厅搜索�?*/
.reception-page .search-bar {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 12px !important;
    background: transparent !important;
    border: 0.1px solid #000 !important;
    border-radius: 20px !important;
    margin: 16px !important;
}

.reception-page .search-input {
    flex: 1 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    outline: none !important;
    background: transparent !important;
    color: #000 !important;
    font-weight: normal !important;
}

.search-input:focus {
    border-color: var(--primary);
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 订单规格标签 */
.order-spec {
    display: flex;
    gap: 8px;
    margin: 8px 0;
}

.spec-tag {
    padding: 4px 12px;
    background: #F1F5F9;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 老板ID显示 */
.order-boss {
    margin: 8px 0;
}

.boss-id {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

/* 打手端订单统�?*/
.hander-order-stats {
    display: flex;
    justify-content: space-between;
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stat-box {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-box:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 打手端通用页面样式 */
.page-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    gap: 12px;
}

.page-title {
    font-size: 18px;
    font-weight: 800;
}

.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--text-main);
    cursor: pointer;
}

/* 钱包页面样式 */
.worker-wallet-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.wallet-balance-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 16px;
    color: var(--text-main);
}

.balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.balance-value {
    font-size: 32px;
    font-weight: 800;
}

.wallet-actions {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.action-btn.recharge {
    background: var(--primary);
    color: white;
}

.action-btn.withdraw {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.action-btn.primary {
    background: #dc2626;
    color: white;
}

.action-btn.secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.transaction-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.transaction-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.transaction-amount {
    font-size: 16px;
    font-weight: 600;
}

.transaction-amount.income {
    color: #2196F3;
}

.transaction-amount.expense {
    color: #EF4444;
}

.withdraw-balance-info {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.withdraw-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.withdraw-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.withdraw-amount.warning {
    color: #F59E0B;
}

.withdraw-tips {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.withdraw-tips.warning {
    background: #FEF3C7;
}

.tips-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tips-item {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.deposit-amount-options {
    margin-bottom: 16px;
}

.deposit-option-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.deposit-info-box {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.info-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-item {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-primary {
    flex: 1;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary.warning {
    background: #F59E0B;
}

.btn-secondary {
    flex: 1;
    padding: 12px;
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

/* 保证金页面样�?*/
.worker-deposit-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.deposit-info-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 16px;
    text-align: center;
}

.deposit-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.deposit-status.paid {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.deposit-amount {
    margin-bottom: 16px;
}

.amount-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.amount-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.deposit-rules {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px 16px;
}

.rule-item {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.deposit-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
}

/* 收益页面样式 */
.worker-earnings-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.earnings-summary {
    padding: 16px;
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.summary-card.total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.summary-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.summary-value {
    font-size: 24px;
    font-weight: 800;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.earnings-records {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px;
}

.record-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.record-item:last-child {
    border-bottom: none;
}

.record-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.record-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.record-amount {
    font-size: 16px;
    font-weight: 600;
    color: #10B981;
}

/* 评价页面样式 */
.worker-reviews-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.reviews-summary {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 16px;
}

.reviews-summary .summary-card {
    text-align: center;
    margin-bottom: 16px;
}

.reviews-summary .summary-value {
    font-size: 36px;
    color: var(--primary);
}

.score-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.score-stars {
    color: #F59E0B;
}

.reviews-list {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px;
}

.review-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
}

.review-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-score {
    font-size: 14px;
    color: #F59E0B;
    font-weight: 600;
}

.review-content {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.review-order {
    font-size: 12px;
    color: var(--text-placeholder);
}

/* 设置页面样式 */
.worker-settings-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.profile-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 16px;
}

.avatar-edit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background: #E2E8F0;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.change-avatar-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-tag {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.game-tag.active {
    background: var(--primary);
    color: white;
}

.save-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    margin: 16px;
    text-align: center;
    cursor: pointer;
}

.save-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.avatar-preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background: #E2E8F0;
    cursor: pointer;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.avatar-preview:hover .avatar-overlay {
    opacity: 1;
}

.change-text {
    font-size: 14px;
    color: white;
}

.input-hint {
    font-size: 12px;
    color: var(--text-placeholder);
    text-align: right;
    margin-top: 4px;
}

.phone-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

.change-phone-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    cursor: pointer;
}

.gender-options {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

.gender-option.active {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.code-input-group {
    display: flex;
    gap: 8px;
}

.code-input-group .form-input {
    flex: 1;
}

.send-code-btn {
    padding: 0 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 等级页面样式 */
.worker-level-page {
    padding: 16px;
}

/* 等级轮播 */
.worker-carousel {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-container {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-item {
    flex: 0 0 100%;
}

.level-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
}

.level-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* 轮播指示�?*/
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E2E8F0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* 轮播箭头 */
.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
}

.arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.arrow:hover {
    background: white;
    transform: scale(1.1);
}

.arrow.left {
    color: var(--text-secondary);
}

.arrow.right {
    color: var(--text-secondary);
}

/* 当前等级信息 */
.current-level-info {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
    margin-bottom: 20px;
}

.level-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.status-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.status-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.level-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-percentage {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-placeholder);
}

.view-next-btn {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
}

/* 权益介绍 */
.benefits-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
    margin-bottom: 20px;
}

.benefits-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 12px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.benefit-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-text {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
}

.benefits-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-placeholder);
}

.empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

/* 等级规则 */
.level-rules {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F1F5F9;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.rule-item {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.worker-level-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.current-level-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 16px;
    color: white;
    text-align: center;
}

.level-badge {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 24px;
    margin-bottom: 12px;
}

.level-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

.level-exp {
    margin-top: 16px;
}

.exp-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.exp-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
}

.exp-text {
    font-size: 12px;
    opacity: 0.9;
}

.level-privileges {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px 16px;
}

.privilege-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privilege-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

.privilege-item.unlocked {
    background: rgba(16, 185, 129, 0.1);
}

.privilege-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.privilege-item:not(.unlocked) .privilege-status {
    background: rgba(148, 163, 184, 0.2);
    color: #94A3B8;
}

.privilege-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.privilege-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.level-rules {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px;
}

/* 全部等级展示样式 */
.all-levels-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.all-levels-section .level-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.all-levels-section .level-item.current-level {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
}

.level-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
}

.all-levels-section .level-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.level-require {
    font-size: 11px;
    color: var(--text-secondary);
}

.current-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* 团费页面样式 */
.worker-teamfee-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.teamfee-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.teamfee-actions {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.teamfee-records {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px;
}

.teamfee-rules {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin: 16px;
}

/* 通用空状�?*/
.empty-state {
    text-align: center;
    padding: 32px 16px;
}

.empty-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 功能图标样式 */
.function-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 6px;
}

/* 财务图标样式 */
.finance-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 8px;
}

/* 底部导航图标样式 */
.nav-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-bottom: 4px;
    filter: grayscale(100%) brightness(0.6);
}

.hander-bottom-nav .nav-item.active .nav-icon-img {
    filter: brightness(0) saturate(100%) invert(33%) sepia(92%) saturate(3000%) hue-rotate(195deg) brightness(100%) contrast(100%);
}

/* 邀请打手弹窗样�?*/
.invite-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.invite-worker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* 全局背景�?- 最高优先级 */
html, body {
    background-image: url('icons/背景�?png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.invite-worker-item:hover {
    background: #f0f0f0;
}

.invite-worker-item.selected {
    background: rgba(79, 70, 229, 0.1);
    border: 2px solid var(--primary);
}

.invite-worker-item .worker-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E2E8F0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite-worker-item .worker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invite-worker-item .worker-info {
    flex: 1;
}

.invite-worker-item .worker-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.invite-worker-item .worker-level {
    font-size: 12px;
    color: var(--text-secondary);
}

.invite-worker-item .worker-status {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* 邀请打手按钮样�?*/
.invite-btn {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 开始服务按钮样�?*/
.start-service-btn {
    flex: 1;
    background: #F59E0B;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 打手端订单状态标�?*/
.order-status-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    margin-top: 12px;
}

.order-status-tabs .status-tab {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.order-status-tabs .status-tab.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

/* 订单状态颜�?*/
.order-card.pending {
    border-left: 4px solid #F59E0B;
}

.order-card.service {
    border-left: 4px solid var(--primary);
}

.order-card.confirm {
    border-left: 4px solid #10B981;
}

.order-card.completed {
    border-left: 4px solid #94A3B8;
}

.order-card.refund {
    border-left: 4px solid #EF4444;
}

/* 头像保持原色 */
.hander-avatar img {
    filter: none;
}

/* 接单统计 */
.reception-stats {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* 接单中心页面 */
.reception-page {
    padding: 16px;
    min-height: 100vh;
    background: #f5f5f5;
    padding-bottom: 70px;
}

/* 交易记录 */
.transaction-section {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.transaction-item:last-child {
    border-bottom: none;
}
.transaction-info {
    flex: 1;
}
.transaction-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.transaction-time {
    font-size: 12px;
    color: var(--text-placeholder);
}
.transaction-amount {
    font-size: 16px;
    font-weight: 800;
}
.transaction-amount.income {
    color: #2196F3;
}
.transaction-amount.outcome {
    color: var(--primary);
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}
.modal-title {
    font-size: 16px;
    font-weight: 800;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-placeholder);
}
.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}
.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}
.btn-secondary {
    flex: 1;
    background: #F1F5F9;
    color: var(--text-primary);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.amount-option {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.amount-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.balance-info {
    font-size: 12px;
    color: var(--text-placeholder);
    margin-top: 4px;
}

/* ===== 登录/表单页通用样式 ===== */
.form-page {
    background: transparent;
    min-height: 100vh;
    padding: 30px 20px;
}

/* 登录页面 */
.login-page {
    background: transparent;
    min-height: 100vh;
    padding: 20px 16px;
}

.login-back {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    cursor: pointer;
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 16px;
}

.login-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
}

.code-input-wrap {
    display: flex;
    gap: 12px;
}

.code-input-wrap .form-input {
    flex: 1;
}

.send-code-btn {
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.send-code-btn:disabled {
    background: #E2E8F0;
    color: var(--text-placeholder);
    cursor: not-allowed;
}

.login-btn {
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-login-btn {
    background: #fff;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agreement-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 16px;
}

.agreement-text .link {
    color: var(--primary);
    cursor: pointer;
}

/* 协议勾选框 */
.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.agreement-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.agreement-checkbox .link {
    color: var(--primary);
    cursor: pointer;
}
.form-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 14px;
    outline: none;
}
.form-input:focus {
    border-color: var(--primary);
}
.form-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.form-btn:active { opacity: 0.8; }
.form-link {
    color: var(--primary);
    font-size: 13px;
    text-align: center;
    display: block;
    margin-top: 16px;
}
.form-agreement {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sms-row {
    display: flex;
    gap: 12px;
}
.sms-btn {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.img-upload-box {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-placeholder);
    cursor: pointer;
    border: 1px dashed #ccc;
}
.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-placeholder);
    margin-top: 4px;
}
.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    margin-bottom: 16px;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
}
/* ���ܿ�Ƭ����Ч�� */
.action-card {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 16px;
}

.action-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 215, 0, 0.08);
}

.action-card:active {
    transform: scale(0.95);
    background: rgba(255, 215, 0, 0.15);
}

.action-card:hover .action-icon-box {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.action-card:active .action-icon-box {
    transform: scale(0.92);
}

.action-card:hover img {
    transform: scale(1.05);
}

.action-card:hover span {
    color: #FFA500;
}

.action-icon-box {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ��Ʒ��Ƭ����Ч�� */
.product-card-item {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.product-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.2);
}

.product-card-item:active {
    transform: scale(0.98);
}

.product-card-item:hover .product-image-box img {
    transform: scale(1.08);
}

.product-card-item:hover .buy-button {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.5);
}

.product-card-item:active .buy-button {
    transform: scale(0.95);
}

/* ��ť����Ч�� */
.buy-button {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.buy-button:hover {
    transform: translateY(-2px);
}

.buy-button:active {
    transform: scale(0.95);
}

/* ���ർ������Ч�� */
.category-item {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.category-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.category-item:active {
    transform: scale(0.96);
}

/* ����������Ч�� */
.search-card {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.search-card:focus-within {
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* �ͷ���ť����Ч�� */
.service-btn {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.service-btn:active {
    transform: scale(0.9);
}

/* ��ݷ�����ڽ���Ч�� */
.quick-category-entry {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.quick-category-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(255, 215, 0, 0.4);
}

.quick-category-entry:active {
    transform: scale(0.98);
}

/* ͨ�õ������?*/
.clickable {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.clickable:active {
    transform: scale(0.95);
}

/* ��ť������� */
.btn-click-active {
    transition: transform 0.15s ease;
}

.btn-click-active:active {
    transform: scale(0.95);
}

/* ��Ƭ������� */
.card-click-active {
    transition: transform 0.2s ease;
}

.card-click-active:active {
    transform: scale(0.98);
}

/* ��Ƭ����Ч�� */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ============ ҳ���л����� ============ */
.page-transition-enter {
    opacity: 0;
    transform: translateX(30px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-leave {
    opacity: 1;
    transform: translateX(0);
}

.page-transition-leave-active {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ �Ǽ������ض��� ============ */
@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
    border-radius: 8px;
}

.skeleton-round {
    border-radius: 50%;
}

/* ============ ����ˢ�¶��� ============ */
.pull-refresh-container {
    position: relative;
    overflow: hidden;
}

.pull-refresh-content {
    transition: transform 0.3s ease;
}

.pull-refresh-indicator {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    transition: opacity 0.3s ease;
}

.pull-refresh-indicator.active {
    opacity: 1;
}

.pull-refresh-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #FFD700;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ �������ظ��� ============ */
.load-more-container {
    padding: 20px;
    text-align: center;
}

.load-more-text {
    font-size: 14px;
    color: #999;
}

.load-more-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #FFD700;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* ============ ��Ϣδ���Ǳ궯�� ============ */
@keyframes badge-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.nav-badge.bounce {
    animation: badge-bounce 1s infinite;
}

/* ============ ��Ƭ������ǿ ============ */
.card-enhanced {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.card-enhanced.gradient-border {
    position: relative;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #4fc3f7, #29b6f6) border-box;
    border: 2px solid transparent;
}

.card-glow {
    position: relative;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255,215,0,0.3), rgba(255,165,0,0.3));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-glow:hover::before {
    opacity: 1;
}

/* ============ ��ť����Ч�� ============ */
.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============ �ղع�����ʽ ============ */





/* ============ ����ɾ����ʽ ============ */
.swipe-delete-container {
    position: relative;
    overflow: hidden;
}

.swipe-delete-content {
    position: relative;
    z-index: 2;
    background: #fff;
    transition: transform 0.3s ease;
}

.swipe-delete-actions {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 1;
}

.swipe-action-delete {
    width: 80px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ============ ͼƬ������ ============ */
.lazy-image {
    background: #f5f5f5;
    transition: opacity 0.3s ease;
}

.lazy-image.loading {
    opacity: 0.5;
}

.lazy-image.loaded {
    opacity: 1;
}

/* ============ ������ť��ʽ ============ */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(78, 205, 196, 0.4);
}

/* ============ �����˵���ʽ ============ */
.long-press-menu {
    position: fixed;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 8px;
    z-index: 1000;
    min-width: 160px;
}

.long-press-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.long-press-menu-item:hover {
    background: #f5f5f5;
}

.long-press-menu-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}




/* ============ ���ֶ���ʽ - �� hander.html Ǩ�� ============ */



/* =========================================== */
/* 打手端样�?- �?hander.html 迁移 */
/* =========================================== */

/* 通用模态框 */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-content { background: #fff; border-radius: 12px; width: 90%; max-width: 400px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #eee; }
.modal-title { font-size: 16px; font-weight: 600; }
.modal-close { font-size: 24px; background: none; border: none; cursor: pointer; color: #999; }
.modal-body { padding: 16px; }
.modal-footer { display: flex; gap: 12px; padding: 16px; border-top: 1px solid #eee; }
.btn-secondary { flex: 1; padding: 10px; background: #f5f5f5; border: none; border-radius: 8px; cursor: pointer; }
.btn-primary { flex: 1; padding: 10px; background: linear-gradient(135deg, #2196F3, #1976D2); color: white; border: none; border-radius: 8px; cursor: pointer; }
.btn-confirm { 
    width: 100%; 
    padding: 14px; 
    background: linear-gradient(135deg, #4CAF50, #45a049); 
    color: white; 
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 600; 
    box-shadow: 0 4px 12px rgba(76,175,80,0.3); 
    transition: all 0.2s ease;
}
.btn-confirm:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 16px rgba(76,175,80,0.4); 
}
.btn-confirm:active { 
    transform: scale(0.98); 
}

/* 底部导航 */
.bottom-nav { position: fixed; bottom: 12px; left: 12px; right: 12px; height: 60px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 20px; display: flex; justify-content: space-around; align-items: center; z-index: 100; box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3), 0 4px 24px rgba(0,0,0,0.15); padding: 0 8px; border: 2px solid rgba(79, 195, 247, 0.5); }
.bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #999; font-size: 11px; background: none; border: none; cursor: pointer; padding: 6px 12px; flex: 1; max-width: 80px; transition: all 0.2s ease; }
.bottom-nav .nav-item:active { transform: scale(0.92); }
.bottom-nav .nav-item .nav-icon-img { width: 26px; height: 26px; object-fit: contain; filter: grayscale(100%) brightness(1.5); opacity: 0.4; transition: all 0.2s ease; }
.bottom-nav .nav-item .nav-label { font-size: 11px; color: #999; transition: all 0.2s ease; }
.bottom-nav .nav-item.active { color: #2196F3; }
.bottom-nav .nav-item.active .nav-label { color: #2196F3; font-weight: 700; }
.bottom-nav .nav-item.active .nav-icon-img { filter: brightness(0) saturate(100%) invert(33%) sepia(92%) saturate(3000%) hue-rotate(195deg) brightness(100%) contrast(100%); opacity: 1; }
.bottom-nav .nav-item.hander-btn .nav-icon-img,
.bottom-nav .nav-item.hander-btn.active .nav-icon-img {
    filter: none !important;
    opacity: 1 !important;
    width: 44px !important;
    height: 44px !important;
}

/* 点击动画 */
.clickable { transition: transform 0.15s ease; }
.clickable:active { transform: scale(0.95); }

/* 页面头部 */
.page-header { background: transparent; padding: 16px; padding-top: calc(16px + env(safe-area-inset-top)); display: flex; align-items: center; justify-content: center; position: relative; }
.page-header .back-btn { position: absolute; left: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.2); border-radius: 50%; transition: transform 0.15s ease; }
.page-header .back-btn:active { transform: scale(0.95); }
.page-header .title { font-size: 18px; font-weight: 600; color: #000; }

/* 列表�?*/
.list-item { background: #fff; padding: 16px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.list-item:active { background: #f5f5f5; }
.list-item .right-arrow { width: 20px; height: 20px; opacity: 0.5; }

/* 统计卡片 */
.stats-card { background: #fff; border-radius: 12px; padding: 16px; margin: 16px; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.stats-card .card-title { font-size: 16px; font-weight: 600; color: #000; margin-bottom: 16px; }
.stats-card .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats-card .stat-item { text-align: center; }
.stats-card .stat-value { font-size: 18px; font-weight: 600; color: #000; }
.stats-card .stat-label { font-size: 12px; color: #999; margin-top: 4px; }

/* 统计卡片�?*/
.stat-card { background: #fff; border-radius: 12px; padding: 12px; text-align: center; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.stat-card .stat-value { font-size: 16px; font-weight: 700; color: #4CAF50; }
.stat-card .stat-label { font-size: 11px; color: #999; margin-top: 4px; }

/* 订单卡片 */
.order-card { background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%); border-radius: 16px; padding: 16px; margin-bottom: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s ease; }
.order-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.order-card:active { transform: scale(0.98); }

.order-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.order-game { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.order-type { font-size: 12px; color: #666; margin-top: 4px; }
.order-price { font-size: 20px; font-weight: 700; color: #EF4444; }

.order-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.order-info-item { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #f8f9fa; border-radius: 10px; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.order-info-item .icon { width: 16px; height: 16px; opacity: 0.6; }
.order-info-item .label { font-size: 11px; color: #999; flex-shrink: 0; }
.order-info-item .value { font-size: 12px; color: #333; font-weight: 500; }

.order-divider { height: 1px; background: linear-gradient(90deg, transparent, #e0e0e0, transparent); margin-bottom: 14px; }

.order-footer { display: flex; justify-content: space-between; align-items: center; }
.boss-info { display: flex; align-items: center; gap: 10px; }
.boss-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #f0f0f0; }
.boss-detail { display: flex; flex-direction: column; }
.boss-name { font-size: 13px; color: #333; font-weight: 600; }
.boss-id { font-size: 11px; color: #999; }

.order-actions { display: flex; gap: 10px; }
.btn-detail { padding: 8px 16px; background: #fff; color: #666; border: 1px solid rgba(0,0,0,0.1); border-radius: 20px; font-size: 12px; font-weight: 500; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.btn-detail:hover { background: #f5f5f5; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-accept { padding: 8px 20px; background: linear-gradient(135deg, #2196F3, #1976D2); color: #fff; border: none; border-radius: 20px; font-size: 12px; font-weight: 600; transition: all 0.2s; box-shadow: 0 4px 12px rgba(33,150,243,0.3); }
.btn-accept:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(33,150,243,0.4); }
.btn-accept:active { transform: scale(0.95); }

/* 分类标签 */
.category-tabs { background: transparent; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; }
.category-tab { padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; color: #999; background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.06); flex-shrink: 0; transition: all 0.2s; }
.category-tab.active { background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%); color: #fff; box-shadow: 0 2px 8px rgba(79,195,247,0.4); }

/* 订单状�?*/
.order-status { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.status-hot { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: #fff; animation: float-up 2s ease-in-out infinite; box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3); }
.status-new { background: linear-gradient(135deg, #4CAF50, #45a049); color: #fff; box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); }
.status-normal { background: linear-gradient(135deg, #2196F3, #1976D2); color: #fff; box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3); }

/* 空状�?*/
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { width: 80px; height: 80px; margin-bottom: 16px; opacity: 0.3; }
.empty-title { font-size: 16px; color: #ccc; margin-bottom: 8px; }
.empty-desc { font-size: 13px; color: #999; }

/* 下拉刷新 */
.pull-refresh { position: relative; overflow: hidden; }
.pull-refresh-header { height: 60px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.pull-refresh-header.hidden { height: 0; opacity: 0; }
.pull-refresh-content { transition: transform 0.3s ease; }
.pull-refresh-text { font-size: 12px; color: #999; margin-left: 8px; }
input::placeholder { color: #999; }
.pull-refresh-spinner { animation: spin 1s linear infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.6); } 50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.9); } }
@keyframes float-up { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-5px); } }

/* 头像发光 */
.avatar-glow { animation: glow-pulse 2s ease-in-out infinite; }
.card-hover { transition: all 0.3s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15); }
.status-tag-hot { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: #fff; animation: float-up 2s ease-in-out infinite; }
.status-tag-new { background: linear-gradient(135deg, #4CAF50, #45a049); color: #fff; }
.status-tag-normal { background: linear-gradient(135deg, #2196F3, #1976D2); color: #fff; }
.price-gradient { background: linear-gradient(135deg, #ff6b6b, #ff8e53); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.unread-highlight { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: #fff; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }
.icon-wrapper { transition: all 0.2s ease; }
.icon-wrapper:hover { transform: scale(1.1); }

/* 支付方式 */
.payment-method { transition: all 0.2s ease; }
.payment-method:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.payment-method.selected { border-color: #4CAF50; box-shadow: 0 0 0 1px #4CAF50, 0 4px 16px rgba(76, 175, 80, 0.2); background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }

/* 金额按钮 */
.amount-btn { transition: all 0.2s ease; }
.amount-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.amount-btn.selected { background: linear-gradient(135deg, #4CAF50, #45a049); color: #fff; box-shadow: 0 4px 12px rgba(76,175,80,0.3); transform: scale(1.05); }

/* 页面背景渐变 */
.page-bg-gradient { background: linear-gradient(180deg, #f8f9fa 0%, #e8f5f8 100%); min-height: 100vh; }

/* 卡片美化 */
.card-beauty { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s ease; }
.card-beauty:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }

/* 渐变文字 */
.text-gradient { background: linear-gradient(135deg, #4CAF50, #2196F3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }

/* 发光效果 */
.glow-effect { box-shadow: 0 0 20px rgba(76, 175, 80, 0.3); }

/* 脉冲动画 */
@keyframes pulse-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* 渐入动画 */
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fade-in-up 0.5s ease-out; }

/* 滑动动画 */
@keyframes slide-in-right { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.slide-in-right { animation: slide-in-right 0.4s ease-out; }

/* 波纹效果 */
.ripple-effect { position: relative; overflow: hidden; }
.ripple-effect::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.3); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.ripple-effect:active::after { width: 200px; height: 200px; }

/* 状态徽�?*/
.status-badge { padding: 4px 12px; border-radius: 16px; font-size: 11px; font-weight: 600; }
.status-badge.online { background: linear-gradient(135deg, #4CAF50, #45a049); color: #fff; box-shadow: 0 2px 8px rgba(76,175,80,0.3); }
.status-badge.offline { background: linear-gradient(135deg, #9E9E9E, #757575); color: #fff; }
.status-badge.busy { background: linear-gradient(135deg, #FF9800, #F57C00); color: #fff; box-shadow: 0 2px 8px rgba(255,152,0,0.3); }

/* 渐变边框 */
.gradient-border { position: relative; }
.gradient-border::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, #4CAF50, #2196F3); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* 毛玻璃效�?*/
.glass-effect { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); }

/* 价格高亮 */
.price-highlight { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, #ff6b6b, #ff8e53); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* 成功/警告/错误状�?*/
.success-state { color: #4CAF50; background: rgba(76, 175, 80, 0.1); padding: 4px 12px; border-radius: 8px; font-size: 12px; }
.warning-state { color: #FF9800; background: rgba(255, 152, 0, 0.1); padding: 4px 12px; border-radius: 8px; font-size: 12px; }
.error-state { color: #f44336; background: rgba(244, 67, 54, 0.1); padding: 4px 12px; border-radius: 8px; font-size: 12px; }

/* 金额数字滚动动画 */
@keyframes count-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.count-up { animation: count-up 0.5s ease-out forwards; }

/* 数字跳动动画 */
@keyframes number-pop { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.number-pop { animation: number-pop 0.3s ease-out; }

/* 按钮波纹效果 */
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.4); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s ease-out, height 0.4s ease-out; }
.btn-ripple:active::after { width: 200px; height: 200px; }

/* 分类标签过渡 */
.category-tab { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* 等级徽章 */
.level-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; }
.level-1 { background: #9E9E9E; }
.level-2 { background: #4CAF50; }
.level-3 { background: #2196F3; }
.level-4 { background: #FF9800; }
.level-5 { background: #E91E63; }
.level-6 { background: #9C27B0; }

/* 通用点击动画 */
.btn-click-active { transition: transform 0.15s ease; }
.btn-click-active:active { transform: scale(0.95); }
.card-click-active { transition: transform 0.2s ease; }
.card-click-active:active { transform: scale(0.98); }

/* 筛选标�?*/
.filter-tag { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; border: 1px solid #ddd; background: #fff; color: #666; transition: all 0.2s; }
.filter-tag.active { background: #4CAF50; color: #fff; border-color: #4CAF50; }

/* 新订单提示动�?*/
@keyframes new-order-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); } 50% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); } }
.new-order-pulse { animation: new-order-pulse 1.5s ease-in-out; }

/* 卡片进入动画 */
@keyframes card-enter { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.card-enter { animation: card-enter 0.4s ease-out forwards; }

/* 紧急标签样�?*/
.urgent-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%); color: #fff; border-radius: 12px; font-size: 11px; font-weight: 600; box-shadow: 0 2px 8px rgba(255,107,107,0.3); animation: pulse-urgent 2s ease-in-out infinite; }

@keyframes pulse-urgent { 0%, 100% { box-shadow: 0 2px 8px rgba(255,107,107,0.3); } 50% { box-shadow: 0 4px 16px rgba(255,107,107,0.5); } }

/* 价格标签容器 */
.price-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%); color: #fff; border-radius: 16px; font-size: 20px; font-weight: 700; box-shadow: 0 4px 16px rgba(255,107,107,0.4); border: 1px solid rgba(255,255,255,0.3); }

/* 筛选标签容�?*/
.filter-container { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; margin-bottom: 8px; -webkit-overflow-scrolling: touch; }

/* 筛选标�?*/
.filter-chip { flex-shrink: 0; padding: 8px 16px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 20px; font-size: 13px; font-weight: 500; color: #666; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.filter-chip:hover { border-color: rgba(76,175,80,0.3); background: rgba(76,175,80,0.05); }
.filter-chip.active { background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(76,175,80,0.4); }

/* 加载骨架屏动�?*/
@keyframes skeleton-loading { 0% { background-position: -200px 0; } 100% { background-position: calc(200px + 100%) 0; } }
.skeleton-card { height: 200px; border-radius: 16px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200px 100%; animation: skeleton-loading 1.2s ease-in-out infinite; margin-bottom: 16px; }

/* 快捷回复标签 */
.quick-reply-container { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; background: rgba(255, 255, 255, 0.95); border-top: 1px solid rgba(0, 0, 0, 0.05); }
.quick-reply-chip { flex-shrink: 0; padding: 8px 16px; background: #f5f5f5; border: 1px solid #eee; border-radius: 20px; font-size: 13px; color: #666; cursor: pointer; transition: all 0.2s ease; }
.quick-reply-chip:hover { background: #4CAF50; color: #fff; border-color: #4CAF50; transform: translateY(-1px); }

/* 聊天时间�?*/
.chat-time-divider { text-align: center; margin: 16px 0; }
.chat-time-text { display: inline-block; padding: 4px 12px; background: rgba(0, 0, 0, 0.08); color: #999; font-size: 12px; border-radius: 12px; }

/* 未读消息提示优化 */
.unread-dot { display: inline-block; width: 10px; height: 10px; background: linear-gradient(135deg, #ff6b6b, #ee5a5a); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2); animation: pulseUnread 2s ease-in-out infinite; }
.unread-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: #fff; font-size: 12px; font-weight: 600; border-radius: 11px; box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4); animation: pulseBadge 2s ease-in-out infinite; }

@keyframes pulseUnread { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2); } 50% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(255, 107, 107, 0.1); } }
@keyframes pulseBadge { 0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4); } 50% { transform: scale(1.05); box-shadow: 0 4px 16px rgba(255, 107, 107, 0.5); } }

/* 头像边框动画 */
.avatar-animated { position: relative; border-radius: 50%; overflow: hidden; }
.avatar-animated::before { content: ''; position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px; background: linear-gradient(45deg, #4fc3f7, #4CAF50, #4fc3f7, #4CAF50); border-radius: 50%; z-index: -1; background-size: 300% 300%; animation: avatarBorderRotate 3s ease infinite; }

@keyframes avatarBorderRotate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* 在线状态呼吸灯 */
.online-status { position: relative; }
.online-status::after { content: ''; position: absolute; bottom: 2px; right: 2px; width: 14px; height: 14px; background: #4CAF50; border-radius: 50%; border: 2px solid #fff; animation: breathe 1.5s ease-in-out infinite; box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2); }

@keyframes breathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2); } 50% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.1); } }

/* 页面切换动画 */
@keyframes pageSlideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pageSlideOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-30px); } }
.page-transition { animation: pageSlideIn 0.3s ease-out; }

/* 底部导航栏图标切换动�?*/
@keyframes navIconBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.nav-icon-bounce { animation: navIconBounce 0.3s ease; }

/* 玻璃拟态按�?*/
.btn-glass { position: relative; padding: 12px 24px; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 16px; color: #333; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.4); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); transform: translateY(-2px); }
.btn-glass:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
.btn-glass.primary { background: rgba(76, 175, 80, 0.8); color: #fff; border-color: rgba(76, 175, 80, 0.5); }
.btn-glass.primary:hover { background: rgba(76, 175, 80, 0.9); box-shadow: 0 12px 40px rgba(76, 175, 80, 0.4); }
.btn-glass.danger { background: rgba(239, 68, 68, 0.8); color: #fff; border-color: rgba(239, 68, 68, 0.5); }
.btn-glass.danger:hover { background: rgba(239, 68, 68, 0.9); box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4); }
.btn-glass.disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Toast通知组件 */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); animation: toast-slide-in 0.3s ease-out forwards; max-width: 320px; }
.toast.fade-out { animation: toast-fade-out 0.3s ease-out forwards; }

@keyframes toast-slide-in { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-fade-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

.toast-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-icon.success { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.toast-icon.error { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.toast-icon.warning { background: rgba(255, 152, 0, 0.15); color: #FF9800; }
.toast-icon.info { background: rgba(33, 150, 243, 0.15); color: #2196F3; }
.toast-content { flex: 1; min-width: 0; }
.toast-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 2px; }
.toast-message { font-size: 12px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 加载状态反�?*/
.loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; }
.loading-spinner { width: 50px; height: 50px; border: 3px solid rgba(76, 175, 80, 0.2); border-top-color: #4CAF50; border-radius: 50%; animation: spin 0.8s linear infinite; }
.loading-text { margin-top: 16px; font-size: 14px; color: #666; }
.loading-dots { display: inline-flex; gap: 4px; }
.loading-dots span { animation: loading-dot-pulse 1.4s infinite ease-in-out; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loading-dot-pulse { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

/* 订单卡片增强 */
.order-card-enhanced { background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%); border-radius: 20px; padding: 20px; margin-bottom: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08); border: 1px solid rgba(255, 255, 255, 0.8); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.order-card-enhanced::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800); }
.order-card-enhanced:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.08); }
.order-card-enhanced:active { transform: translateY(-2px); }

/* 接单状态可视化 */
.status-flow { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f8fafc; border-radius: 12px; margin-bottom: 16px; }
.status-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.status-step:not(:last-child)::after { content: ''; position: absolute; top: 12px; right: -20px; width: 40px; height: 2px; background: #e2e8f0; }
.status-step.active::after { background: linear-gradient(90deg, #4CAF50, #2196F3); }
.status-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; margin-bottom: 6px; transition: all 0.3s ease; }
.status-dot.pending { background: #e2e8f0; color: #94a3b8; }
.status-dot.active { background: linear-gradient(135deg, #4CAF50, #2196F3); color: #fff; box-shadow: 0 0 12px rgba(76, 175, 80, 0.4); }
.status-dot.completed { background: #4CAF50; color: #fff; }
.status-label { font-size: 11px; color: #64748b; text-align: center; }

/* 订单统计卡片 */
.stats-card-enhanced { background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%); border-radius: 20px; padding: 20px; margin: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); border: 1px solid rgba(255, 255, 255, 0.6); }
.stats-card-title { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.stats-grid-enhanced { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-item-enhanced { background: rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 16px 12px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); transition: all 0.3s ease; position: relative; overflow: hidden; }
.stat-item-enhanced:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.stat-item-enhanced::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #4CAF50, #2196F3); }
.stat-value-enhanced { font-size: 24px; font-weight: 800; background: linear-gradient(135deg, #1e293b, #475569); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 4px; }
.stat-label-enhanced { font-size: 12px; color: #64748b; }

/* 输入框聚焦反�?*/
.input-focus-effect { position: relative; }
.input-focus-effect input, .input-focus-effect textarea { width: 100%; padding: 14px 16px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 14px; transition: all 0.3s ease; background: #fff; outline: none; }
.input-focus-effect input:focus, .input-focus-effect textarea:focus { border-color: #4CAF50; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1), 0 4px 20px rgba(76, 175, 80, 0.15); }
.input-focus-effect input::placeholder, .input-focus-effect textarea::placeholder { color: #94a3b8; transition: all 0.3s ease; }
.input-focus-effect input:focus::placeholder, .input-focus-effect textarea:focus::placeholder { color: #cbd5e1; }

/* 空状态优�?*/
.empty-state-enhanced { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; text-align: center; }
.empty-icon-wrapper { width: 100px; height: 100px; background: linear-gradient(145deg, #f1f5f9, #e2e8f0); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); }
.empty-icon { font-size: 48px; opacity: 0.5; }
.empty-title { font-size: 18px; font-weight: 600; color: #475569; margin-bottom: 8px; }
.empty-description { font-size: 14px; color: #94a3b8; margin-bottom: 24px; line-height: 1.5; }
.empty-action { padding: 12px 32px; background: linear-gradient(135deg, #4CAF50, #45a049); color: #fff; border: none; border-radius: 24px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3); }
.empty-action:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4); }

/* 成就展示�?*/
.achievements-section { background: linear-gradient(135deg, #fff9f0 0%, #fff 100%); border-radius: 16px; padding: 16px; margin: 16px; box-shadow: 0 4px 20px rgba(255, 152, 0, 0.1); border: 1px solid rgba(255, 152, 0, 0.2); }
.achievement-card { display: flex; flex-direction: column; align-items: center; padding: 12px; background: #fff; border-radius: 12px; transition: all 0.3s ease; border: 2px solid transparent; }
.achievement-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255, 152, 0, 0.2); }
.achievement-card.locked { opacity: 0.5; filter: grayscale(0.5); }
.achievement-icon { font-size: 32px; margin-bottom: 8px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); }
.achievement-name { font-size: 12px; font-weight: 600; color: #333; text-align: center; margin-bottom: 4px; }
.achievement-desc { font-size: 10px; color: #999; text-align: center; }

/* 评价�?*/
.reviews-section { background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%); border-radius: 16px; padding: 16px; margin: 16px; box-shadow: 0 4px 20px rgba(79, 195, 247, 0.1); border: 1px solid rgba(79, 195, 247, 0.2); }
.review-card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
.review-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #e0e0e0; }
.review-user-name { font-size: 14px; font-weight: 600; color: #333; }
.review-time { font-size: 11px; color: #999; }
.review-rating { display: flex; gap: 2px; }
.star { font-size: 14px; color: #ddd; }
.star.filled { color: #ffd700; filter: drop-shadow(0 1px 2px rgba(255, 215, 0, 0.3)); }
.review-content { font-size: 13px; color: #666; line-height: 1.6; }

/* 统计卡片 */
.stat-card { background: #fff; border-radius: 12px; padding: 16px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: all 0.3s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.stat-value { font-size: 24px; font-weight: 700; color: #333; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: #999; }

