/* ============================================================
   会员中心样式
   ============================================================ */

/* 会员页面布局 */
.member-page {
    min-height: 100vh;
    background: #f5f5f5;
    padding-top: 80px;
}

/* 会员容器 */
.member-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* 侧边导航 */
.member-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.member-nav {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.member-nav-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 24px;
}

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

.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    border: 2px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #b8860b;
}

.member-avatar-logo {
    background: #1a1a1a;
}

.member-avatar-logo img.has-avatar {
    background: transparent;
    border: none;
    padding: 0;
}

.member-avatar-logo img.has-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-nav-info {
    margin-top: 12px;
    text-align: center;
}

.member-nav-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 6px;
}

.member-nav-info .member-level {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid #b8860b;
    color: #b8860b;
    font-size: 0.75rem;
    border-radius: 12px;
}

.member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 4px;
}

.member-info p {
    font-size: 0.8rem;
    color: #999999;
}

.member-level {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid #b8860b;
    color: #b8860b;
    font-size: 0.7rem;
    border-radius: 10px;
    margin-top: 6px;
}

.member-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-nav-item {
    margin-bottom: 4px;
}

.member-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.member-nav-item a:hover {
    background: #f8f8f8;
    color: #b8860b;
}

.member-nav-item a.active {
    background: rgba(184, 134, 11, 0.1);
    color: #b8860b;
    border-left: 3px solid #b8860b;
}

.member-nav-item a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.member-nav-item a .nav-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: #b8860b;
    color: #ffffff;
    font-size: 0.7rem;
    border-radius: 10px;
}

/* 会员快捷统计 */
.member-quick-stats {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 24px;
    margin-top: 24px;
}

.member-quick-stats h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quick-stat-item {
    text-align: center;
    padding: 16px 12px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-stat-item:hover {
    background: rgba(184, 134, 11, 0.1);
}

.quick-stat-item i {
    font-size: 1.5rem;
    color: #b8860b;
    margin-bottom: 8px;
}

.quick-stat-item .stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.quick-stat-item .stat-label {
    font-size: 0.75rem;
    color: #999999;
}

/* 主内容区 */
.member-content {
    min-height: 600px;
}

/* 统一页面头部 */
.member-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333333;
    font-weight: 600;
}

.page-title .title-accent {
    color: #b8860b;
    font-style: italic;
}

.member-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.member-content-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333333;
}

.member-content-header h1 span {
    color: #b8860b;
    font-style: italic;
}

.member-content-header .header-actions {
    display: flex;
    gap: 12px;
}

/* 内容卡片 */
.member-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 32px;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.member-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.member-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333333;
}

.member-card-header h2 i {
    color: #b8860b;
    margin-right: 10px;
}

/* 欢迎卡片 */
.welcome-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.02));
    border: 1px solid #b8860b;
    padding: 32px;
    margin-bottom: 32px;
}

.welcome-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 8px;
}

.welcome-text h2 span {
    color: #b8860b;
}

.welcome-text p {
    color: #999999;
    font-size: 0.95rem;
}

.welcome-stats {
    display: flex;
    gap: 40px;
}

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

.welcome-stat .stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #b8860b;
}

.welcome-stat .stat-label {
    font-size: 0.8rem;
    color: #999999;
    margin-top: 4px;
}

/* 订单列表 */
.order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: #f8f8f8;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: #ffffff;
}

/* 订单卡片新样式 */
.orders-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.order-card:hover {
    border-color: #b8860b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
}

.order-card .order-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-card .order-number {
    font-size: 0.9rem;
    color: #333333;
}

.order-card .order-date {
    font-size: 0.85rem;
    color: #999999;
}

.order-card .order-status {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-card .order-status i {
    font-size: 0.5rem;
}

.order-card .order-body {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.order-card .order-product {
    display: flex;
    gap: 16px;
    flex: 1;
}

.order-card .order-product-image {
    width: 100px;
    height: 75px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-card .order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.order-card:hover .order-product-image img {
    transform: scale(1.05);
}

.order-card .order-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-card .order-product-info h3 {
    font-size: 0.95rem;
    color: #333333;
    font-weight: 500;
}

.order-card .order-spec {
    font-size: 0.85rem;
    color: #999999;
}

.order-card .tracking-info {
    font-size: 0.85rem;
    color: #b8860b !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-card .order-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.order-card .order-total {
    text-align: right;
}

.order-card .total-label {
    font-size: 0.85rem;
    color: #999999;
    display: block;
}

.order-card .total-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #b8860b;
}

.order-card .order-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* 订单统计 */
.order-summary {
    display: flex;
    justify-content: space-around;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: rgba(184, 134, 11, 0.05);
}

.summary-item i {
    font-size: 1.5rem;
    color: #b8860b;
}

.summary-info {
    display: flex;
    flex-direction: column;
}

.summary-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
}

.summary-label {
    font-size: 0.8rem;
    color: #999999;
}

.order-item-image {
    width: 100px;
    height: 80px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.order-item-info h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
}

.order-item-info p {
    font-size: 0.85rem;
    color: #999999;
}

.order-item-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #b8860b;
}

.order-item-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: #999999;
}

.order-status {
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
}

.order-status.pending {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.order-status.shipped {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.order-status.completed {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.order-status.cancelled {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* 订单筛选标签 */
.order-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.order-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
}

.order-tab:hover {
    border-color: #b8860b;
    color: #b8860b;
}

.order-tab.active {
    background: #b8860b;
    border-color: #b8860b;
    color: #ffffff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #d0d0d0;
    opacity: 0.5;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #333333;
    margin-bottom: 12px;
}

.empty-state p {
    color: #999999;
    margin-bottom: 24px;
}

/* 收藏列表 */
.favorite-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.favorite-card {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    overflow: hidden;
}

.favorite-card:hover {
    border-color: #b8860b;
    transform: translateY(-4px);
}

.favorite-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.favorite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.favorite-card:hover .favorite-card-image img {
    transform: scale(1.05);
}

.favorite-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.favorite-card:hover .favorite-remove {
    opacity: 1;
}

.favorite-remove:hover {
    background: #b8860b;
}

.favorite-card-info {
    padding: 16px;
}

.favorite-card-info h3 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 8px;
}

.favorite-card-info .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #b8860b;
}

/* 地址列表 */
.address-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.member-unified-page .member-sidebar {
    height: auto;
}

.member-unified-page .member-nav,
.member-unified-page .member-address-wrap,
.member-unified-page .member-page-wrap {
    height: 100%;
}

.member-unified-page .member-page-wrap .member-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.member-unified-page .member-page-wrap .member-card:last-child {
    margin-bottom: 0;
}

.member-unified-page .member-page-wrap .order-tabs {
    background: transparent;
    border: 0;
    padding: 0;
}

.address-tips {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.address-tips-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 12px;
}

.address-tips-title i {
    color: #b8860b;
}

.address-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 24px;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.address-card:hover {
    border-color: #b8860b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.address-card.is-default {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.03);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.address-card-header h3 {
    font-size: 1rem;
    color: #333333;
}

.default-tag {
    padding: 4px 12px;
    background: #b8860b;
    color: #ffffff;
    font-size: 0.75rem;
    border-radius: 10px;
}

.address-card-body p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.address-card-body .contact {
    font-size: 0.95rem;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-card-body .contact i {
    color: #b8860b;
    font-size: 0.85rem;
}

.address-card-body .contact .separator {
    color: #d0d0d0;
    margin: 0 4px;
}

.address-card-body .address-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.address-card-body .address-detail i {
    color: #b8860b;
    margin-top: 4px;
    flex-shrink: 0;
}

.address-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.address-card-actions button,
.address-card-actions a {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #d0d0d0;
    color: #666666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
}

.address-card-actions button:hover,
.address-card-actions a:hover {
    border-color: #b8860b;
    color: #b8860b;
}

.address-card-actions .action-edit:hover {
    border-color: #b8860b;
    color: #b8860b;
}

.address-card-actions .action-default:hover {
    border-color: #b8860b;
    background: #b8860b;
    color: #ffffff;
}

.address-card-actions .action-delete:hover {
    border-color: #f44336;
    color: #f44336;
}

/* 表单样式 */
.member-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group label .required {
    color: #b8860b;
    margin-left: 4px;
}

/* 输入框包装器 */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper .form-control {
    padding-left: 42px;
    padding-right: 42px;
}

.input-wrapper .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    font-size: 0.9rem;
    pointer-events: none;
}

.input-wrapper .form-control:focus ~ .field-icon {
    color: #b8860b;
}

.input-wrapper .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    padding: 4px;
    font-size: 0.9rem;
}

.input-wrapper .password-toggle:hover {
    color: #b8860b;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    color: #333333;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.form-control:focus {
    outline: none;
    border-color: #b8860b;
    background: #ffffff;
}

.form-control::placeholder {
    color: #999999;
}

.form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f5f5f5;
}

.form-hint {
    font-size: 0.8rem;
    color: #999999;
    margin-top: 8px;
}

/* 密码强度 */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    margin-top: 6px;
    color: #999999;
}

.strength-weak .strength-bar:nth-child(1) { background: #f44336; }
.strength-medium .strength-bar:nth-child(1),
.strength-medium .strength-bar:nth-child(2) { background: #ff9800; }
.strength-strong .strength-bar { background: #4caf50; }

.strength-text.weak { color: #f44336; }
.strength-text.medium { color: #ff9800; }
.strength-text.strong { color: #4caf50; }

.form-hint.success { color: #4caf50; }
.form-hint.error { color: #f44336; }

.form-error {
    font-size: 0.8rem;
    color: #f44336;
    margin-top: 8px;
}

/* 密码表单包装器 */
.password-form-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.password-form-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    border: 2px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.password-form-icon i {
    font-size: 2rem;
    color: #b8860b;
}

/* 密码规则 */
.password-rules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.password-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #999999;
    transition: all 0.3s ease;
}

.password-rule i {
    font-size: 1rem;
}

.password-rule.passed {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 头像上传 */
.avatar-upload {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    border: 2px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #b8860b;
    overflow: hidden;
}

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

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

.avatar-actions .btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #d0d0d0;
    color: #666666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.avatar-actions .btn:hover {
    border-color: #b8860b;
    color: #b8860b;
}

/* 安全设置 */
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}

.security-item:last-child {
    border-bottom: none;
}

.security-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.security-item-info i {
    font-size: 1.5rem;
    color: #b8860b;
}

.security-item-info h3 {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 4px;
}

.security-item-info p {
    font-size: 0.85rem;
    color: #999999;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.security-status.safe {
    color: #4caf50;
}

.security-status.danger {
    color: #f44336;
}

/* 按钮样式 */
.btn-primary-custom {
    padding: 14px 32px;
    background: #b8860b;
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

.btn-primary-custom:hover {
    background: #9a7209;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-ghost {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid #d0d0d0;
    color: #666666;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

.btn-ghost:hover {
    border-color: #b8860b;
    color: #b8860b;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* 分页 */
.member-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.member-pagination .page-btn {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e8e8e8;
    color: #999999;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.member-pagination .page-btn:hover,
.member-pagination .page-btn.active {
    border-color: #b8860b;
    color: #b8860b;
}

.member-pagination .page-btn.active {
    background: #b8860b;
    color: #ffffff;
}

.member-pagination .page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 1200px) {
    .favorite-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .member-container {
        grid-template-columns: 1fr;
    }

    .member-sidebar {
        position: static;
    }

    .member-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .member-nav-header {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 16px;
    }

    .member-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .member-nav-item {
        margin-bottom: 0;
    }

    .member-nav-item a {
        padding: 10px 16px;
    }

    .member-nav-item a.active {
        border-left: none;
        background: #b8860b;
        color: #ffffff;
    }

    .member-quick-stats {
        display: none;
    }

    .order-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .address-list {
        grid-template-columns: 1fr;
    }

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

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

    .welcome-stats {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .member-page {
        padding-top: 60px;
    }

    .member-container {
        padding: 24px 16px;
    }

    .member-content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .welcome-stats {
        flex-direction: column;
        gap: 16px;
    }

    .favorite-grid {
        grid-template-columns: 1fr;
    }

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

    .avatar-upload {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .order-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .order-tab {
        flex-shrink: 0;
    }
}

/* 会员首页快捷入口 */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 会员信息卡片 */
.member-info-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.member-info-bg {
    display: none;
}

.member-info-content {
    position: relative;
    z-index: 1;
}

.member-welcome h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 8px;
}

.member-welcome h1 .member-name {
    color: #b8860b;
}

.member-tagline {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.member-details {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.member-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-detail-item .detail-label {
    font-size: 0.8rem;
    color: #999999;
}

.member-detail-item .detail-value {
    font-size: 1rem;
    color: #333333;
    font-weight: 500;
}

.member-level-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid #b8860b;
    color: #b8860b !important;
    border-radius: 20px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

/* 会员数据统计卡片 */
.member-stats-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
}

.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.member-stat-item:hover {
    background: rgba(184, 134, 11, 0.1);
}

.member-stat-item .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-stat-item .stat-icon i {
    font-size: 1.2rem;
    color: #b8860b;
}

.member-stat-item .stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.member-stat-item .stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.member-stat-item .stat-label {
    font-size: 0.85rem;
    color: #999999;
}

/* 品牌介绍卡片 */
.brand-intro-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.7));
    border: 1px solid #e8e8e8;
}

.brand-intro-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-intro-content p {
    color: #999999;
    font-size: 0.95rem;
    line-height: 1.8;
}

.brand-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b8860b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.brand-intro-link:hover {
    gap: 12px;
}

.brand-intro-link i {
    font-size: 0.8rem;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.1);
}

.quick-link-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.quick-link-item:hover .quick-link-icon {
    background: #b8860b;
}

.quick-link-icon i {
    font-size: 1.3rem;
    color: #b8860b;
    transition: color 0.3s ease;
}

.quick-link-item:hover .quick-link-icon i {
    color: #ffffff;
}

.quick-link-title {
    font-size: 0.9rem;
    color: #333333;
}

/* 快捷服务列表 */
.quick-services-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.quick-service-item:hover {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.1);
    transform: translateX(8px);
}

.quick-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-service-item:hover .quick-service-icon {
    background: #b8860b;
}

.quick-service-icon i {
    font-size: 1.1rem;
    color: #b8860b;
    transition: color 0.3s ease;
}

.quick-service-item:hover .quick-service-icon i {
    color: #ffffff;
}

.quick-service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-service-title {
    font-size: 0.95rem;
    color: #333333;
    font-weight: 500;
}

.quick-service-desc {
    font-size: 0.8rem;
    color: #999999;
}

.quick-service-arrow {
    font-size: 0.8rem;
    color: #999999;
    transition: all 0.3s ease;
}

.quick-service-item:hover .quick-service-arrow {
    color: #b8860b;
    transform: translateX(4px);
}

/* 个人资料页面布局 */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-avatar-card {
    text-align: center;
    padding: 32px 24px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    border: 3px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar i {
    font-size: 3rem;
    color: #b8860b;
}

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

.profile-avatar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 4px;
}

.profile-id {
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.profile-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.profile-stats .stat-item:hover {
    background: rgba(184, 134, 11, 0.05);
}

.profile-stats .stat-item i {
    font-size: 1.2rem;
    color: #b8860b;
    width: 32px;
    text-align: center;
}

.profile-stats .stat-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-stats .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333333;
}

.profile-stats .stat-label {
    font-size: 0.85rem;
    color: #999999;
}

/* 安全列表 */
.security-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}

.security-item:last-child {
    border-bottom: none;
}

.security-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.security-item-info i {
    font-size: 1.5rem;
    color: #b8860b;
}

.security-item-info h3 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2px;
}

.security-item-info p {
    font-size: 0.8rem;
    color: #999999;
}

/* ============================================================
   项目报备表单样式
   ============================================================ */
.project-form {
    max-width: 900px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e8e8e8;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #b8860b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #b8860b;
    border-radius: 2px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

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

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: #b8860b;
}

.checkbox-item span {
    color: #333333;
    font-size: 0.9rem;
}

.form-hint-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.remark-box {
    background: rgba(184, 134, 11, 0.08);
    border: 1px solid rgba(184, 134, 11, 0.2);
    padding: 16px 20px;
    margin-top: 24px;
    border-radius: 8px;
}

.remark-box h4 {
    color: #b8860b;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remark-box ul {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.8;
    padding-left: 20px;
    margin: 0;
}

.remark-box ul li {
    margin-bottom: 4px;
}

/* 会员等级徽章 */
.member-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #b8860b, #d4a017);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-top: 12px;
}

/* 会员权益 */
.member-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.05);
}

.benefit-item i {
    font-size: 1.8rem;
    color: #b8860b;
    transition: color 0.3s ease;
}

.benefit-item:hover i {
    color: #9a7209;
}

.benefit-item span {
    font-size: 0.9rem;
    color: #333333;
}

/* 欢迎卡片优化 */
.welcome-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.02));
    border: 1px solid #b8860b;
    padding: 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.welcome-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 8px;
}

.welcome-text h2 span {
    color: #b8860b;
}

.welcome-text p {
    color: #999999;
    font-size: 0.95rem;
}

/* 提示列表 */
.tips-list {
    color: #666666;
    font-size: 0.9rem;
    line-height: 2;
    padding-left: 20px;
    margin: 0;
}

.tips-list li {
    margin-bottom: 4px;
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333333;
}

.modal-close {
    background: none;
    border: none;
    color: #999999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: #b8860b;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-footer button {
    flex: 1;
}

.modal-footer .btn-ghost:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

/* 地址添加卡片 */
.address-add-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border-style: dashed;
    cursor: pointer;
    background: #fafafa;
}

.address-add-card i {
    font-size: 2rem;
    color: #999999;
    margin-bottom: 12px;
}

.address-add-card span {
    color: #999999;
    font-size: 0.9rem;
}

.address-add-card:hover {
    border-color: #b8860b;
}

.address-add-card:hover i,
.address-add-card:hover span {
    color: #b8860b;
}

/* 提示框 */
.alert {
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    gap: 24px;
}

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

.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: #b8860b;
}

.radio-label span {
    color: #333333;
}

/* 复选框 */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #b8860b;
}

/* 订单新样式 */
.order-item {
    background: #f8f8f8;
    margin-bottom: 16px;
    padding: 20px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.order-meta {
    display: flex;
    gap: 16px;
    color: #999999;
    font-size: 0.85rem;
}

.order-body {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.order-product {
    display: flex;
    gap: 16px;
    flex: 1;
}

.order-product-image {
    width: 80px;
    height: 60px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-info h3 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.order-product-info p {
    font-size: 0.85rem;
    color: #999999;
}

.tracking-info {
    color: #b8860b !important;
    margin-top: 4px;
}

.order-actions {
    text-align: right;
    flex-shrink: 0;
}

.order-total {
    margin-bottom: 12px;
}

.total-label {
    font-size: 0.85rem;
    color: #999999;
}

.total-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #b8860b;
}

.order-btns {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* 响应式 - 快捷入口 */
@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-services-grid {
        gap: 6px;
    }

    .quick-service-item {
        padding: 12px 16px;
    }

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

    .welcome-card-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .welcome-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    /* 会员信息卡片响应式 */
    .member-details {
        gap: 20px;
    }

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

    /* 个人资料响应式 */
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .profile-avatar-card,
    .profile-stats {
        flex: 1;
        min-width: 250px;
    }

    .profile-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .profile-stats .stat-item {
        flex: 1;
        min-width: 80px;
    }
}

@media (max-width: 768px) {
    .quick-services-grid {
        flex-direction: column;
    }

    .member-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .benefit-item {
        padding: 16px 12px;
    }

    .benefit-item i {
        font-size: 1.5rem;
    }

    /* 会员首页响应式 */
    .member-welcome h1 {
        font-size: 1.4rem;
    }

    .member-details {
        flex-direction: column;
        gap: 12px;
    }

    .member-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .member-stat-item {
        padding: 16px;
    }

    .member-stat-item .stat-value {
        font-size: 1.3rem;
    }

    /* 订单卡片响应式 */
    .order-card .order-body {
        flex-direction: column;
    }

    .order-card .order-product {
        flex-direction: row;
    }

    .order-card .order-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 16px;
        border-top: 1px solid #e8e8e8;
        margin-top: 12px;
    }

    .order-card .order-total {
        text-align: left;
    }

    .order-card .order-btns {
        justify-content: flex-start;
    }

    .order-summary {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .summary-item {
        padding: 12px 16px;
    }
}

@media (max-width: 576px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .quick-link-item {
        padding: 20px 12px;
    }

    .quick-link-icon {
        width: 48px;
        height: 48px;
    }

    .quick-link-icon i {
        font-size: 1.1rem;
    }

    .member-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .order-body {
        flex-direction: column;
    }

    .order-actions {
        text-align: left;
    }

    .order-btns {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
