 * { margin: 0; padding: 0; box-sizing: border-box; }
   
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif; background: #f5f5f5; color: #1a1a1a; padding-bottom: 70px; }
.navbar { background: #1a1a2e; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.logo {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
}
/* RANGE CLUB Logo 字体样式 */
.navbar .logo {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links button, .nav-links a { text-decoration: none; background: rgba(255,255,255,0.1); border: none; font-size: 0.75rem; color: #ddd; padding: 6px 12px; border-radius: 20px; cursor: pointer; transition: all 0.2s; }
.nav-links button:hover { background: rgba(255,255,255,0.2); color: #d4af37; }
/* 修改容器宽度 - 满屏显示 */
.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 12px; 
    width: 95%;
}
.search-bar { position: relative; margin-bottom: 16px; }
.search-bar input { width: 100%; padding: 12px 16px; padding-right: 40px; border: 1px solid #e0e0e0; border-radius: 30px; font-size: 0.85rem; background: #fff; }
.search-bar input:focus { outline: none; border-color: #d4af37; box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1); }
.search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 1rem; color: #999; cursor: pointer; padding: 4px 8px; }
.search-empty { text-align: center; padding: 40px; color: #999; font-size: 0.85rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.2s; cursor: pointer; display: flex; flex-direction: column; }
.product-card:active { transform: scale(0.98); }
.product-card .img-wrap { width: 100%; aspect-ratio: 1 / 1; background: #f8f8f8; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.sam-badge { position: absolute; top: 8px; left: 8px; background: #d4af37; color: #1a1a2e; font-size: 0.6rem; font-weight: 600; padding: 3px 8px; border-radius: 20px; letter-spacing: 0.5px; z-index: 2; }
.card-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: #1a1a2e; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: 0.65rem; color: #999; margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-section { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; flex-wrap: wrap; gap: 4px; }
.price { font-size: 1.1rem; font-weight: 700; color: #d4af37; }
.unit-price { font-size: 0.6rem; color: #999; }
.stock-info { font-size: 0.6rem; color: #28a745; }
.btn-add { background: #1a1a2e; color: #d4af37; border: 1px solid #d4af37; padding: 8px 0; border-radius: 30px; font-size: 0.7rem; font-weight: 600; cursor: pointer; transition: all 0.2s; width: 100%; margin-top: auto; }
.btn-add:active { transform: scale(0.97); background: #d4af37; color: #1a1a2e; }
.btn-add-disabled { background: #ccc; color: #666; border: 1px solid #aaa; padding: 8px 0; border-radius: 30px; font-size: 0.7rem; font-weight: 600; width: 100%; margin-top: auto; cursor: not-allowed; }
.btn-outline { background: transparent; border: 1px solid #d4af37; color: #d4af37; padding: 8px 16px; border-radius: 30px; font-size: 0.75rem; cursor: pointer; }
.cart-float { position: fixed; bottom: 20px; right: 20px; z-index: 200; }
.cart-btn { width: 56px; height: 56px; border-radius: 28px; background: #1a1a2e; color: #d4af37; border: 1px solid #d4af37; font-size: 1.4rem; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,0.2); cursor: pointer; transition: all 0.2s; }
.cart-btn:active { transform: scale(0.95); }
.cart-badge { position: absolute; top: -4px; right: -4px; background: #d4af37; color: #1a1a2e; width: 20px; height: 20px; border-radius: 10px; font-size: 0.7rem; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.cart-panel { position: fixed; bottom: 90px; right: 16px; width: 340px; max-height: 70vh; background: #fff; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); padding: 20px; display: none; overflow-y: auto; z-index: 201; }
.cart-panel.show { display: block; }
.order-card, .stay-card, .member-card { background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.order-header, .stay-header, .member-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #eee; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.order-id, .stay-id { color: #666; font-size: 0.7rem; }
.order-total, .stay-amount { font-weight: 700; color: #d4af37; font-size: 1rem; }
.order-items, .stay-info { font-size: 0.8rem; color: #666; margin-bottom: 12px; line-height: 1.5; }
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 500; }
.status-pending { background: #fff3cd; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }
.status-delivering { background: #cfe2ff; color: #004085; }
.status-completed { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.order-progress { background: #f8f5f0; border-radius: 20px; padding: 16px; margin: 12px 0; }
.progress-steps { display: flex; align-items: center; justify-content: space-between; position: relative; margin-bottom: 12px; }
.progress-steps::before { content: ''; position: absolute; top: 18px; left: 12%; right: 12%; height: 3px; background: #e0e0e0; z-index: 1; }
.progress-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.progress-step .step-icon { width: 36px; height: 36px; background: #e0e0e0; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-size: 1rem; transition: all 0.3s; }
.progress-step .step-label { font-size: 0.6rem; color: #999; }
.progress-step.active .step-icon { background: #d4af37; color: #1a1a2e; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3); }
.progress-step.active .step-label { color: #d4af37; font-weight: 600; }
.progress-step.completed .step-icon { background: #28a745; color: #fff; }
.progress-step.completed .step-label { color: #28a745; }
.progress-percent { margin-top: 12px; background: #e0e0e0; border-radius: 20px; height: 6px; overflow: hidden; }
.progress-percent-bar { height: 100%; background: linear-gradient(90deg, #d4af37, #c49b2a); border-radius: 20px; transition: width 0.5s ease; width: 0%; }
.progress-text { text-align: right; font-size: 0.6rem; color: #999; margin-top: 6px; }
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}
.modal-overlay.show {
    display: block;
}
.product-detail-container { max-width: 600px; margin: 0 auto; background: #fff; min-height: 100vh; position: relative; padding-bottom: 90px; }
.detail-header { position: sticky; top: 0; background: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; z-index: 10; }

/* 商品详情页的返回按钮样式 */

/* 商品详情页的返回按钮样式 */
.detail-header .detail-back {
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.detail-header .detail-back:hover {
    color: #d4af37;
    background: transparent;
}
.detail-back { font-size: 1.5rem; cursor: pointer; background: none; border: none; color: #333; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.detail-header-right { display: flex; gap: 16px; }
.detail-header-icon { font-size: 1.2rem; cursor: pointer; background: none; border: none; color: #333; padding: 6px; border-radius: 50%; }
.detail-images { width: 100%; background: #fff; position: relative; }
.detail-main-image { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #f5f5f5; }
.detail-thumbnails { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: #fff; }
.detail-thumbnails img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; }
.detail-thumbnails img.active { border-color: #d4af37; }
.detail-info { padding: 20px 16px 100px; }
.detail-brand { font-size: 0.7rem; color: #d4af37; letter-spacing: 1px; margin-bottom: 8px; }
.detail-title { font-size: 1.2rem; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.detail-subtitle { font-size: 0.75rem; color: #999; margin-bottom: 16px; }
.detail-price-section { background: #f8f5f0; padding: 16px; border-radius: 12px; margin: 16px 0; }
.detail-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.detail-current-price { font-size: 1.8rem; font-weight: 700; color: #d4af37; }
.detail-unit { font-size: 0.8rem; color: #999; }
.detail-market-price { font-size: 0.8rem; color: #999; text-decoration: line-through; }
.detail-member-save { font-size: 0.7rem; color: #28a745; }
.detail-delivery { margin: 16px 0; padding: 12px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.delivery-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.8rem; }
.delivery-label { color: #999; }
.delivery-value { color: #333; }
.detail-description { margin: 20px 0; }
.section-title { font-size: 0.9rem; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #d4af37; display: inline-block; }
.detail-description-text { font-size: 0.8rem; color: #666; line-height: 1.6; margin-top: 12px; }
.detail-params { margin: 20px 0; }
.param-item { display: flex; padding: 10px 0; font-size: 0.8rem; border-bottom: 1px solid #f5f5f5; }
.param-label { width: 100px; color: #999; }
.param-value { flex: 1; color: #333; }
.detail-membership { background: #f8f5f0; padding: 20px 16px; border-radius: 12px; margin: 24px 0 32px; }
.membership-title { font-size: 0.9rem; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.membership-list { font-size: 0.8rem; color: #666; line-height: 2; padding-left: 20px; }
.detail-bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #eee; display: flex; gap: 16px; max-width: 600px; margin: 0 auto; z-index: 20; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); }
.detail-bottom-bar .btn-cart { flex: 2; background: #1a1a2e; color: #d4af37; border: 1px solid #d4af37; padding: 14px 0; border-radius: 40px; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.detail-bottom-bar .btn-share { flex: 1; background: #f5f5f5; color: #666; border: none; padding: 14px 0; border-radius: 40px; font-size: 0.85rem; cursor: pointer; }
.share-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 500; display: none; align-items: center; justify-content: center; flex-direction: column; }
.share-modal.show { display: flex; }
.share-image-container { background: #fff; border-radius: 20px; padding: 20px; margin: 20px; max-width: 90%; overflow: auto; }
.share-image-container img { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; border-radius: 12px; }
.share-tips { color: #fff; text-align: center; margin-top: 20px; font-size: 0.85rem; }
.share-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.2); border: none; color: #fff; font-size: 1.2rem; padding: 8px 16px; border-radius: 30px; cursor: pointer; }
.login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 400; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.login-overlay.show { display: flex; opacity: 1; }
.login-modal { background: #fff; border-radius: 28px; padding: 32px 28px; width: 90%; max-width: 400px; max-height: 85vh; overflow-y: auto; position: relative; transform: scale(0.95); transition: transform 0.3s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.login-overlay.show .login-modal { transform: scale(1); }
.login-modal .close-btn { position: absolute; top: 18px; right: 20px; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: #999; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.login-title { text-align: center; font-size: 1.4rem; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; }
.login-subtitle { text-align: center; font-size: 0.75rem; color: #999; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: 14px; font-size: 0.9rem; transition: all 0.2s; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #d4af37; box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1); }
.sms-row { display: flex; gap: 12px; }
.sms-row input { flex: 1; }
.sms-row button { width: 110px; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 14px; font-size: 0.8rem; color: #666; cursor: pointer; transition: all 0.2s; }
.login-btn { width: 100%; background: #1a1a2e; color: #d4af37; border: none; padding: 14px 0; border-radius: 30px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 12px; }
.login-loading { display: inline-block; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; border-top-color: transparent; animation: spin 0.6s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.tabs { display: flex; gap: 12px; margin-bottom: 20px; background: #fff; padding: 6px; border-radius: 40px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.tab-btn { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-size: 0.85rem; }
.tab-btn.active { background: #1a1a2e; color: #d4af37; }
.loading { text-align: center; padding: 40px; color: #999; }
.member-tip { background: linear-gradient(135deg, #1a1a2e, #2d2d44); color: #d4af37; padding: 10px 16px; border-radius: 12px; font-size: 0.7rem; text-align: center; margin-bottom: 16px; }
.admin-preview-tip { background: #fff3cd; color: #856404; padding: 8px 16px; border-radius: 12px; font-size: 0.7rem; text-align: center; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.custom-toast { position: fixed; bottom: 120px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.8); color: #fff; padding: 10px 20px; border-radius: 30px; font-size: 0.8rem; z-index: 500; max-width: 80%; text-align: center; display: none; }
.delivery-tag { display: inline-block; padding: 2px 6px; border-radius: 10px; font-size: 0.55rem; margin-left: 4px; white-space: nowrap; }
.delivery-tag.same-day { background: #d4edda; color: #155724; }
.delivery-tag.next-day { background: #fff3cd; color: #856404; }
.order-room-info { background: #f8f5f0; padding: 10px 12px; border-radius: 12px; margin: 12px 0; font-size: 0.75rem; display: flex; align-items: center; gap: 8px; }
.admin-address-info { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #333; background: #f0f0f0; padding: 6px 12px; border-radius: 20px; flex: 1; min-width: 0; }
.admin-user-info { background: #f8f5f0; padding: 10px 12px; border-radius: 12px; margin: 8px 0; }
.call-link { background: #1a1a2e; color: #d4af37; padding: 8px 16px; border-radius: 25px; font-size: 0.75rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: none; white-space: nowrap; flex-shrink: 0; }
.img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 2rem; background: #f5f5f5; color: #ccc; }
.scroll-hint { text-align: center; padding: 16px; color: #999; font-size: 0.7rem; border-top: 1px solid #f0f0f0; margin-top: 20px; }
.user-info { background: linear-gradient(135deg, #1a1a2e, #2d2d44); color: #d4af37; }
.balance-info { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 16px; margin-top: 16px; text-align: center; }
.balance-amount { font-size: 1.8rem; font-weight: 700; color: #d4af37; }
.profile-card { background: #fff; border-radius: 20px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.profile-header { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 16px; }
.profile-avatar { width: 60px; height: 60px; background: linear-gradient(135deg, #1a1a2e, #2d2d44); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #d4af37; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.stat-item { background: #f8f5f0; border-radius: 16px; padding: 16px; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #d4af37; }
.stat-label { font-size: 0.7rem; color: #999; margin-top: 4px; }
.points-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.8rem; }
.points-amount { color: #d4af37; font-weight: 600; }
.exchange-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 450; display: none; align-items: center; justify-content: center; }
.exchange-modal.show { display: flex; }
.exchange-modal-content { background: #fff; border-radius: 28px; padding: 28px; width: 90%; max-width: 340px; text-align: center; }
.exchange-modal-content .discount { font-size: 2rem; font-weight: 700; color: #d4af37; margin: 16px 0; }
.exchange-modal-buttons { display: flex; gap: 12px; margin-top: 20px; }
.exchange-confirm { background: #1a1a2e; color: #d4af37; border: none; }
.exchange-cancel { background: #f5f5f5; color: #666; border: none; }
.stay-form { background: #f8f5f0; border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.stay-form-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.stay-form-row > div { flex: 1; min-width: 120px; }
.stay-form label { display: block; font-size: 0.7rem; color: #666; margin-bottom: 4px; }
.stay-form input, .stay-form select { width: 100%; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 0.8rem; }
.stay-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-edit { background: #d4af37; color: #1a1a2e; border: none; padding: 6px; border-radius: 20px; font-size: 0.7rem; cursor: pointer; flex: 1; }
.btn-delete { background: #dc3545; color: #fff; border: none; padding: 6px; border-radius: 20px; font-size: 0.7rem; cursor: pointer; flex: 1; }
.member-stats { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.member-stat { flex: 1; text-align: center; padding: 8px; background: #f8f5f0; border-radius: 12px; min-width: 80px; }
.member-stat .value { font-size: 1rem; font-weight: 700; color: #d4af37; }
.member-info-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.member-info-row input { flex: 1; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 0.8rem; }
.member-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-save { background: #1a1a2e; color: #d4af37; border: none; padding: 8px; border-radius: 20px; font-size: 0.7rem; cursor: pointer; flex: 1; }
.btn-recharge { background: #28a745; color: #fff; border: none; padding: 8px; border-radius: 20px; font-size: 0.7rem; cursor: pointer; flex: 1; }
.edit-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 450; display: none; align-items: center; justify-content: center; }
.edit-modal.show { display: flex; }
.edit-modal-content { background: #fff; border-radius: 28px; padding: 28px; width: 90%; max-width: 400px; text-align: center; }
.edit-modal-buttons { display: flex; gap: 12px; margin-top: 20px; }
.edit-confirm { background: #1a1a2e; color: #d4af37; border: none; padding: 12px; border-radius: 30px; cursor: pointer; flex: 1; }
.edit-cancel { background: #f5f5f5; color: #666; border: none; padding: 12px; border-radius: 30px; cursor: pointer; flex: 1; }

/* 报表样式 - 满屏无滚动条 */
.report-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 16px; 
    flex-wrap: wrap; 
    gap: 12px; 
}
.export-btn { 
    background: #28a745; 
    color: #fff; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 30px; 
    font-size: 0.8rem; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
}
.member-table { 
    width: 100%; 
    background: #fff; 
    border-radius: 16px; 
    overflow-x: visible; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); 
}
.member-table table { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 0.7rem; 
    table-layout: fixed; 
}
.member-table th, 
.member-table td { 
    padding: 8px 4px; 
    text-align: center; 
    border-bottom: 1px solid #f0f0f0; 
    color: #333; 
    word-break: break-word; 
    white-space: normal; 
    font-size: 0.7rem;
}
.member-table th { 
    background: #1a1a2e; 
    color: #d4af37; 
    font-weight: 600; 
}
/* 各列宽度设置 - 适配满屏 */
.member-table th:nth-child(1) { width: 4%; }   /* ID */
.member-table th:nth-child(2) { width: 9%; }   /* 手机号 */
.member-table th:nth-child(3) { width: 7%; }   /* 昵称 */
.member-table th:nth-child(4) { width: 7%; }   /* 真实姓名 */
.member-table th:nth-child(5) { width: 12%; }  /* 身份证号 */
.member-table th:nth-child(6) { width: 7%; }   /* 生日 */
.member-table th:nth-child(7) { width: 6%; }   /* 会员等级 */
.member-table th:nth-child(8) { width: 5%; }   /* 积分 */
.member-table th:nth-child(9) { width: 6%; }   /* 余额 */
.member-table th:nth-child(10) { width: 7%; }  /* 累计充值 */
.member-table th:nth-child(11) { width: 7%; }  /* 累计消费 */
.member-table th:nth-child(12) { width: 9%; }  /* 注册时间 */
.member-table th:nth-child(13) { width: 8%; }  /* 操作 */

.member-table tr:hover { background: #f8f5f0; }
.member-table .actions { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; }
.member-table .btn-icon { background: none; border: none; cursor: pointer; font-size: 0.8rem; padding: 3px 5px; border-radius: 20px; transition: all 0.2s; }
.member-table .btn-edit-icon { background: #1a1a2e; color: #d4af37; }
.member-table .btn-delete-icon { background: #dc3545; color: #fff; }
.member-table .btn-recharge-icon { background: #28a745; color: #fff; }

.member-edit-modal { max-width: 500px; width: 90%; }
.member-edit-modal .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.id-card-preview { max-width: 100px; max-height: 60px; border-radius: 8px; cursor: pointer; }
.level-gold { background: #d4af37; color: #1a1a2e; padding: 2px 8px; border-radius: 20px; font-size: 0.7rem; }
.level-silver { background: #c0c0c0; color: #1a1a2e; padding: 2px 8px; border-radius: 20px; font-size: 0.7rem; }
.level-normal { background: #f0f0f0; color: #666; padding: 2px 8px; border-radius: 20px; font-size: 0.7rem; }

