/* ====================
   登录/注册页面样式 - 简约风格
   ==================== */

/* 登录页面容器 - 全屏渐变背景 */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #555 0%, #555 100%);
    position: relative;
}

/* 页面Logo定位 */
.page-logo {
    position: absolute;
    top: 20px;
    left: calc(50% - 600px + 15px);
    z-index: 10;
}

.page-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

/* 登录表单容器 - 居中白色卡片 */
.auth-container {
    display: flex;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: absolute;
    right: calc(50% - 600px + 15px);
    top: 50%;
    transform: translateY(-50%);
}

/* 表单包装器 */
.auth-form-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
}

.auth-form-box {
    width: 100%;
}

/* 表单标题 */
.auth-form-header {
    margin-bottom: 40px;
}

.auth-form-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
}

/* 表单布局 */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    position: relative;
}

/* 输入框样式 - 底部线条风格 */
.input-wrapper {
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #c8a97e;
}

.input-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.input-wrapper input {
    width: 100%;
    padding: 8px 40px 8px 0;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1a1a2e;
    background: transparent;
}

.input-wrapper input::placeholder {
    color: #9ca3af;
}

/* 密码显示/隐藏切换按钮 */
.toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #c8a97e;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

/* 表单选项区域 - 记住密码和忘记密码 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* 自定义复选框 */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #4b5563;
}

.checkbox-wrapper input {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-wrapper input:checked + .checkbox-custom {
    background-color: #c8a97e;
    border-color: #c8a97e;
}

.checkbox-wrapper input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
}

/* 忘记密码链接 */
.forgot-link {
    color: #c8a97e;
    font-size: 14px;
}

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

/* 登录按钮 - 渐变背景 */
.btn-login {
    padding: 14px 24px;
    background: linear-gradient(135deg, #c8a97e 0%, #b8956a 100%);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #b8956a 0%, #a8845a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 126, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

/* 用户协议和隐私政策区域 */
.agreement-section {
    margin-top: -8px;
    position: relative;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.agreement-checkbox input[type="checkbox"] {
    display: none;
}

.agreement-checkmark {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 3px;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.agreement-checkbox input[type="checkbox"]:checked + .agreement-checkmark {
    background: #c8a97e;
    border-color: #c8a97e;
}

.agreement-checkbox input[type="checkbox"]:checked + .agreement-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 协议复选框错误状态 - 红色边框 */
.agreement-section.error .agreement-checkmark {
    border-color: #ef4444;
    animation: agreementShake 0.5s ease-in-out;
}

/* 抖动动画 */
@keyframes agreementShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* 错误提示文字 */
.agreement-error-msg {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 24px;
}

.agreement-section.error .agreement-error-msg {
    display: block;
    animation: errorMsgFadeIn 0.3s ease;
}

@keyframes errorMsgFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.agreement-text {
    flex: 1;
}

.agreement-text a {
    color: #c8a97e;
    text-decoration: none;
}

.agreement-text a:hover {
    text-decoration: underline;
}

/* 协议弹窗 */
.agreement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.agreement-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.agreement-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.agreement-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
}

.agreement-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.agreement-modal-close:hover {
    background: #f3f4f6;
    color: #1a1a2e;
}

.agreement-modal-close svg {
    width: 20px;
    height: 20px;
}

.agreement-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(80vh - 73px);
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
}

.agreement-modal-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 20px 0 10px;
}

.agreement-modal-body h4:first-child {
    margin-top: 0;
}

.agreement-modal-body p {
    margin: 8px 0;
}

/* 登录页面底部链接 */
.auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #6b7280;
}

.sms-login {
    color: #c8a97e;
    text-decoration: none;
}

.sms-login:hover {
    text-decoration: underline;
}

.divider {
    color: #d1d5db;
}

.register-link {
    color: #6b7280;
}

.register-link a {
    color: #c8a97e;
    text-decoration: none;
}

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

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

/* 会员中心页面容器 */
.user-page {
    background: #f5f7fa;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
}

.user-page .user-main {
    flex: 1;
}

.user-page .top-bar {
    display: none;
}

/* 会员中心头部导航样式覆盖 */
.user-page .main-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.user-page .main-header .logo-text {
    color: #1a1a2e;
    text-shadow: none;
}

.user-page .main-header .logo-img.logo-transparent {
    display: none;
}

.user-page .main-header .logo-img.logo-default {
    display: block;
}

.user-page .main-header .nav-item > a {
    color: #000;
    text-shadow: none;
}

.user-page .main-header .nav-item > a:hover,
.user-page .main-header .nav-item.active > a {
    color: #c8a97e;
}

.user-page .main-header .sub-nav {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-page .main-header .sub-nav-item a {
    color: #000;
    text-shadow: none;
}

.user-page .main-header .sub-nav-item a:hover {
    color: #c8a97e;
    background: #f5f7fa;
}

.user-page .main-header .mobile-menu-btn span {
    background-color: #000;
}

/* 会员中心移动端导航关闭按钮颜色 */
.user-page .main-header .mobile-menu-btn.active span {
    background-color: #fff;
}

.user-page .main-header .header-user-actions .user-link,
.user-page .main-header .header-user-actions .user-logout-btn {
    color: #000;
    background: transparent;
    text-shadow: none;
}

.user-page .main-header .header-user-actions .user-link:hover,
.user-page .main-header .header-user-actions .user-logout-btn:hover {
    color: #fff;
    background: var(--accent-color);
}

.user-page .main-header .header-user-actions .user-divider {
    color: #000;
    text-shadow: none;
}

.user-page .main-header .header-avatar {
    border-color: #c8a97e;
}

.user-page .main-header .header-avatar-placeholder {
    border-color: #c8a97e;
}

/* 会员中心：上传的自定义图标保持深色（与导航文字 #000 一致） */
.user-page .main-header .lang-switch-custom-icon {
    filter: brightness(0) invert(0);
}

/* 会员中心：下拉箭头保持深色 */
.user-page .main-header .lang-switch-arrow {
    color: #000;
}

/* 会员中心：语言按钮文字保持深色 */
.user-page .main-header .lang-switch-btn {
    color: #000;
}

/* 会员中心主体区域 */
.user-main {
    padding: 30px 0;
}

.user-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 左右布局容器 */
.user-layout {
    display: flex;
    gap: 25px;
}

/* 左侧边栏 */
.user-sidebar {
    width: 260px;
    flex-shrink: 0;
}

/* 侧边栏标题栏 */
.sidebar-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d3f 100%);
    border-radius: 12px;
    padding: 20px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.12);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #c8a97e;
    margin: 0;
    letter-spacing: 1px;
}

/* 用户信息卡片 - 侧边栏顶部 */
.user-info-card {
    background: linear-gradient(135deg, #3b4855 0%, #525b64 100%);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

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

.default-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.default-avatar svg {
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.user-level {
    font-size: 12px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
}

/* 侧边栏菜单 */
.user-menu {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu-item a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 16px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.user-menu-item a i {
    font-size: 16px;
    color: #9ca3af;
    transition: color 0.2s;
}

/* 菜单角标 */
.menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    line-height: 1;
}

.user-menu-item a:hover {
    background: #f5f7fa;
    color: #c8a97e;
}

.user-menu-item a:hover i {
    color: #c8a97e;
}

.user-menu-item.active a {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.12) 0%, rgba(200, 169, 126, 0.06) 100%);
    color: #c8a97e;
    border-left-color: #c8a97e;
    font-weight: 600;
}

.user-menu-item.active a i {
    color: #c8a97e;
}

.user-menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 6px 16px;
}

.text-danger {
    color: #ef4444 !important;
}

.text-danger:hover {
    background: rgba(239, 68, 68, 0.08) !important;
}

/* 右侧内容区域 */
.user-content {
    flex: 1;
    min-width: 0;
}

/* 内容面板容器 */
.user-panel {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ====================
   会员等级卡片样式
   ==================== */

/* 卡片容器 */
.member-card-section {
    margin-bottom: 24px;
}

/* 会员等级卡片主体 - 支持背景图片 */
.member-level-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 16px;
}

/* 卡片遮罩层 - 增强文字可读性 */
.member-level-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* 卡片内容容器 */
.member-level-card .card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

/* 卡片头部 - 图标和等级信息 */
.member-level-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* 等级图标容器 */
.member-level-card .level-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.member-level-card .level-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.member-level-card .level-icon svg {
    width: 28px;
    height: 28px;
}

/* 等级信息区域 */
.member-level-card .level-info {
    flex: 1;
}

/* 等级名称 */
.member-level-card .level-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 等级徽章 */
.member-level-card .level-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

/* 卡片统计数据区域 - 折扣、权益、积分 */
.member-level-card .card-stats {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.member-level-card .card-stats .stat-item {
    text-align: center;
    flex: 1;
}

.member-level-card .card-stats .stat-value {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.member-level-card .card-stats .stat-label {
    font-size: 12px;
    opacity: 0.85;
}

/* 卡片权益标签区域 */
.member-level-card .card-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.member-level-card .benefit-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

/* ====================
   卡片内升级进度样式
   ==================== */

/* 升级进度容器 */
.member-level-card .card-upgrade {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* 升级标题 */
.member-level-card .upgrade-header {
    margin-bottom: 12px;
}

.member-level-card .upgrade-title {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

/* 进度条容器 */
.member-level-card .upgrade-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 单个进度项 */
.member-level-card .upgrade-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 进度标签 - 显示类型和百分比 */
.member-level-card .upgrade-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.85;
}

/* 进度条轨道 */
.member-level-card .upgrade-bar {
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

/* 进度条填充 */
.member-level-card .upgrade-fill {
    height: 100%;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 进度详情文字 */
.member-level-card .upgrade-detail {
    font-size: 11px;
    opacity: 0.7;
}

/* ====================
   统计卡片网格样式
   ==================== */

/* 统计卡片网格布局 */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* 单个统计卡片 */
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.2s;
}

.stat-card:hover {
    background: #f1f5f9;
}

/* 统计卡片图标 */
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c8a97e 0%, #b8956a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card .stat-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* 统计卡片内容 */
.stat-card .stat-content {
    flex: 1;
    min-width: 0;
}

.stat-card .stat-number {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.stat-card .stat-text {
    font-size: 13px;
    color: #6b7280;
}

/* ====================
   信息区块样式
   ==================== */

/* 信息区块容器 */
.info-section {
    margin-bottom: 24px;
}

/* 区块标题 - 左侧竖线装饰 */
.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid #c8a97e;
}

/* 信息网格布局 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
}

/* 单个信息项 */
.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: #9ca3af;
}

.info-value {
    font-size: 14px;
    color: #1a1a2e;
}

/* ====================
   快捷操作样式
   ==================== */

/* 快捷操作容器 */
.quick-actions {
    margin-bottom: 24px;
}

/* 操作卡片网格 */
.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* 单个操作卡片 */
.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: #4b5563;
    transition: all 0.2s;
}

.action-card:hover {
    background: #c8a97e;
    color: #fff;
    transform: translateY(-2px);
}

/* 操作卡片图标 */
.action-card .action-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(24, 144, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.action-card:hover .action-icon {
    background: rgba(255, 255, 255, 0.2);
}

.action-card .action-icon svg {
    width: 22px;
    height: 22px;
}

/* 操作卡片文字 */
.action-card .action-text {
    font-size: 14px;
    font-weight: 500;
}

/* ====================
   按钮样式
   ==================== */

/* 主要按钮 */
.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: #c8a97e;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1677cc;
    transform: translateY(-1px);
}

/* 次要按钮 - 边框样式 */
.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #c8a97e;
    color: #c8a97e;
}

/* ====================
   移动端专属样式
   ==================== */

/* 移动端隐藏侧边栏 */
.user-sidebar-desktop {
    display: block;
}

/* 移动端快捷操作图标按钮 */
.quick-actions-mobile {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 12px 0;
}

.action-btn-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c8a97e 0%, #b8956a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.action-btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4);
}

.action-btn-icon svg {
    width: 28px;
    height: 28px;
}

/* 移动端退出按钮 */
.logout-section-mobile {
    display: none;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.btn-logout-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: #fff;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-logout-mobile:hover {
    background: #ef4444;
    color: #fff;
}

.btn-logout-mobile svg {
    width: 18px;
    height: 18px;
}

/* 桌面端隐藏移动端专属元素 */
.quick-actions-desktop {
    display: block;
}

/* ====================
   响应式设计 - 平板设备 (992px)
   ==================== */
@media (max-width: 992px) {
    /* 左右布局改为上下布局 */
    .user-layout {
        flex-direction: column;
        gap: 0;
    }

    /* 侧边栏宽度自适应 */
    .user-sidebar {
        width: 100%;
    }

    .sidebar-header {
        display: none;
    }

    .user-sidebar {
        margin-bottom: 0;
    }

    /* 用户信息卡片改为横向布局 */
    .user-info-card {
        display: flex;
        align-items: center;
        padding: 16px;
        text-align: left;
    }

    .user-avatar {
        margin: 0 16px 0 0;
        width: 50px;
        height: 50px;
    }

    .user-name {
        margin-bottom: 4px;
    }

    /* 统计卡片保持3列 */
    .user-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 信息网格2列 */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 快捷操作3列 */
    .action-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====================
   响应式设计 - 大手机/小平板 (768px)
   ==================== */
@media (max-width: 768px) {
    /* 页面顶部间距调整 */
    .user-page {
        padding-top: 70px;
    }

    .user-main {
        padding: 8px 0;
    }

    /* 移动端隐藏侧边栏菜单，保留用户信息卡片 */
    .user-sidebar-desktop .user-menu {
        display: none !important;
    }

    .user-sidebar-desktop .user-info-card {
        display: flex;
        align-items: center;
        padding: 16px;
        text-align: left;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
    }

    .user-sidebar-desktop .user-avatar {
        margin: 0 16px 0 0;
        width: 50px;
        height: 50px;
    }

    .user-sidebar-desktop .user-name {
        margin-bottom: 4px;
    }

    .user-sidebar-desktop .user-level {
        font-size: 12px;
        opacity: 0.9;
        background: rgba(255, 255, 255, 0.2);
        display: inline-block;
        padding: 3px 10px;
        border-radius: 12px;
    }

    /* 移动端快捷操作按钮在侧边栏内 */
    .user-sidebar-desktop .quick-actions-mobile {
        display: flex;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        margin-bottom: 0;
        background: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    /* 移动端显示快捷操作图标按钮 */
    .quick-actions-mobile {
        display: flex;
    }

    /* 移动端显示退出按钮 */
    .logout-section-mobile {
        display: block;
    }

    /* 移动端隐藏桌面端快捷操作 */
    .quick-actions-desktop {
        display: none;
    }

    /* 移动端导航样式 - 白色字体 */
    .user-page .main-header .nav-item > a {
        color: #fff;
        text-shadow: none;
    }

    /* 面板内边距调整 */
    .user-panel {
        padding: 15px;
        border-radius: 12px;
    }

    /* 会员卡片区域 */
    .member-card-section {
        margin-bottom: 15px;
    }

    .member-level-card {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .member-level-card .card-content {
        padding: 16px;
    }

    /* 卡片头部调整 */
    .member-level-card .card-header {
        gap: 12px;
        margin-bottom: 15px;
    }

    .member-level-card .level-icon {
        width: 44px;
        height: 44px;
    }

    .member-level-card .level-icon img {
        width: 26px;
        height: 26px;
    }

    .member-level-card .level-icon svg {
        width: 22px;
        height: 22px;
    }

    .member-level-card .level-name {
        font-size: 17px;
    }

    .member-level-card .level-badge {
        font-size: 11px;
        padding: 2px 8px;
    }

    /* 卡片统计区域调整 */
    .member-level-card .card-stats {
        gap: 12px;
        padding: 12px 0;
    }

    .member-level-card .card-stats .stat-value {
        font-size: 16px;
    }

    .member-level-card .card-stats .stat-label {
        font-size: 11px;
    }

    /* 卡片权益标签调整 */
    .member-level-card .card-benefits {
        gap: 6px;
        margin-top: 12px;
    }

    .member-level-card .benefit-tag {
        padding: 3px 10px;
        font-size: 11px;
    }

    /* 卡片内升级进度调整 */
    .member-level-card .card-upgrade {
        margin-top: 12px;
        padding-top: 12px;
    }

    .member-level-card .upgrade-title {
        font-size: 12px;
    }

    .member-level-card .upgrade-bars {
        gap: 10px;
    }

    .member-level-card .upgrade-label {
        font-size: 11px;
    }

    .member-level-card .upgrade-detail {
        font-size: 10px;
    }

    /* 统计卡片改为单列 */
    .user-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px;
    }

    .stat-card {
        padding: 14px 16px;
        border-radius: 10px;
    }

    .stat-card .stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .stat-card .stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .stat-card .stat-number {
        font-size: 17px;
    }

    .stat-card .stat-text {
        font-size: 12px;
    }

    /* 信息区块调整 */
    .info-section {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 14px;
        margin-bottom: 12px;
        padding-left: 10px;
    }

    /* 信息网格保持2列 */
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
        border-radius: 10px;
    }

    .info-item {
        gap: 2px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    /* 快捷操作改为单列横向布局 */
    .quick-actions {
        margin-bottom: 15px;
    }

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

    .action-card {
        flex-direction: row;
        padding: 14px 16px;
        border-radius: 10px;
        gap: 14px;
    }

    .action-card .action-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .action-card .action-icon svg {
        width: 20px;
        height: 20px;
    }

    .action-card .action-text {
        font-size: 14px;
    }
}

/* ====================
   响应式设计 - 手机设备 (576px)
   ==================== */
@media (max-width: 576px) {
    /* 页面顶部间距进一步调整 */
    .user-page {
        padding-top: 60px;
    }

    .user-main {
        padding: 12px 0;
    }

    .user-main .container {
        padding: 10px 10px;
    }

    /* 面板内边距缩小 */
    .user-panel {
        padding: 12px;
        border-radius: 10px;
    }

    /* 会员卡片内容调整 */
    .member-level-card .card-content {
        padding: 14px;
    }

    .member-level-card .card-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .member-level-card .level-icon {
        width: 40px;
        height: 40px;
    }

    .member-level-card .level-icon img {
        width: 22px;
        height: 22px;
    }

    .member-level-card .level-icon svg {
        width: 20px;
        height: 20px;
    }

    .member-level-card .level-name {
        font-size: 16px;
    }

    .member-level-card .level-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .member-level-card .card-stats {
        gap: 8px;
        padding: 10px 0;
    }

    .member-level-card .card-stats .stat-value {
        font-size: 15px;
    }

    .member-level-card .card-stats .stat-label {
        font-size: 10px;
    }

    .member-level-card .card-benefits {
        gap: 5px;
        margin-top: 10px;
    }

    .member-level-card .benefit-tag {
        padding: 2px 8px;
        font-size: 10px;
    }

    /* 卡片内升级进度进一步调整 */
    .member-level-card .card-upgrade {
        margin-top: 10px;
        padding-top: 10px;
    }

    .member-level-card .upgrade-title {
        font-size: 11px;
    }

    .member-level-card .upgrade-bars {
        gap: 8px;
    }

    .member-level-card .upgrade-item {
        gap: 4px;
    }

    .member-level-card .upgrade-label {
        font-size: 10px;
    }

    .member-level-card .upgrade-bar {
        height: 3px;
    }

    .member-level-card .upgrade-detail {
        font-size: 9px;
    }

    /* 统计卡片调整 */
    .user-stats-grid {
        gap: 8px;
        margin-bottom: 12px;
    }

    .stat-card {
        padding: 12px 14px;
        border-radius: 8px;
        gap: 12px;
    }

    .stat-card .stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .stat-card .stat-icon svg {
        width: 18px;
        height: 18px;
    }

    .stat-card .stat-number {
        font-size: 16px;
    }

    .stat-card .stat-text {
        font-size: 11px;
    }

    /* 信息区块调整 */
    .info-section {
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 13px;
        margin-bottom: 10px;
        padding-left: 8px;
        border-left-width: 2px;
    }

    /* 信息网格改为单列 */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
        border-radius: 8px;
    }

    .info-item {
        gap: 2px;
    }

    .info-label {
        font-size: 10px;
    }

    .info-value {
        font-size: 12px;
    }

    /* 快捷操作调整 */
    .quick-actions {
        margin-bottom: 12px;
    }

    .action-grid {
        gap: 8px;
    }

    .action-card {
        padding: 12px 14px;
        border-radius: 8px;
        gap: 12px;
    }

    .action-card .action-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .action-card .action-icon svg {
        width: 18px;
        height: 18px;
    }

    .action-card .action-text {
        font-size: 13px;
    }

    /* 登录页面响应式 */
    .auth-page {
        padding: 50px 15px 15px;
    }

    .page-logo {
        top: 15px;
        left: 15px;
    }

    .page-logo img {
        height: 35px;
    }

    .auth-container {
        border-radius: 12px;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 60px;
    }

    .auth-form-wrapper {
        padding: 40px 25px;
    }

    .auth-form-header h2 {
        font-size: 24px;
    }

    .auth-form {
        gap: 12px;
    }

    .form-group {
        margin-bottom: 0;
    }

    .input-wrapper {
        padding-bottom: 6px;
    }

    .input-label {
        margin-bottom: 4px;
    }

    .input-wrapper input {
        font-size: 14px;
        padding: 6px 40px 6px 0;
    }

    .btn-login {
        padding: 12px 20px;
        font-size: 15px;
        margin-bottom: 1px;
    }

    .agreement-section {
        margin-top: 0;
    }

    .auth-footer {
        flex-direction: row;
        gap: 10px;
    }
}

/* ====================
   响应式设计 - 小屏手机 (375px)
   ==================== */
@media (max-width: 375px) {
    /* 页面顶部间距最小化 */
    .user-page {
        padding-top: 55px;
    }

    .user-main {
        padding: 10px 0;
    }

    .user-main .container {
        padding: 0 8px;
    }

    /* 面板最小内边距 */
    .user-panel {
        padding: 10px;
        border-radius: 8px;
    }

    /* 会员卡片最小化 */
    .member-level-card .card-content {
        padding: 12px;
    }

    .member-level-card .card-header {
        gap: 8px;
        margin-bottom: 10px;
    }

    .member-level-card .level-icon {
        width: 36px;
        height: 36px;
    }

    .member-level-card .level-icon img {
        width: 20px;
        height: 20px;
    }

    .member-level-card .level-icon svg {
        width: 18px;
        height: 18px;
    }

    .member-level-card .level-name {
        font-size: 15px;
    }

    .member-level-card .level-badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .member-level-card .card-stats {
        gap: 6px;
        padding: 8px 0;
    }

    .member-level-card .card-stats .stat-value {
        font-size: 14px;
    }

    .member-level-card .card-stats .stat-label {
        font-size: 9px;
    }

    .member-level-card .card-benefits {
        gap: 4px;
        margin-top: 8px;
    }

    .member-level-card .benefit-tag {
        padding: 2px 6px;
        font-size: 9px;
    }

    /* 卡片内升级进度最小化 */
    .member-level-card .card-upgrade {
        margin-top: 8px;
        padding-top: 8px;
    }

    .member-level-card .upgrade-title {
        font-size: 10px;
    }

    .member-level-card .upgrade-bars {
        gap: 6px;
    }

    .member-level-card .upgrade-label {
        font-size: 9px;
    }

    .member-level-card .upgrade-bar {
        height: 2px;
    }

    .member-level-card .upgrade-detail {
        font-size: 8px;
    }

    /* 统计卡片最小化 */
    .stat-card {
        padding: 10px 12px;
        border-radius: 8px;
        gap: 10px;
    }

    .stat-card .stat-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .stat-card .stat-icon svg {
        width: 16px;
        height: 16px;
    }

    .stat-card .stat-number {
        font-size: 15px;
    }

    .stat-card .stat-text {
        font-size: 10px;
    }

    /* 信息区块最小化 */
    .section-title {
        font-size: 12px;
        padding-left: 6px;
    }

    .info-grid {
        padding: 8px;
        border-radius: 6px;
    }

    .info-label {
        font-size: 9px;
    }

    .info-value {
        font-size: 11px;
    }

    /* 快捷操作最小化 */
    .action-card {
        padding: 10px 12px;
        border-radius: 6px;
        gap: 10px;
    }

    .action-card .action-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .action-card .action-icon svg {
        width: 16px;
        height: 16px;
    }

    .action-card .action-text {
        font-size: 12px;
    }

    /* 登录页面更小间距 */
    .auth-form {
        gap: 10px;
    }

    .input-wrapper {
        padding-bottom: 4px;
    }

    .input-label {
        margin-bottom: 3px;
    }

    .auth-form-wrapper {
        padding: 30px 20px;
    }

    .auth-form-header {
        margin-bottom: 24px;
    }

    .auth-form-header h2 {
        font-size: 22px;
    }

    .form-options {
        margin: 4px 0;
    }

    .btn-login {
        padding: 12px 20px;
        font-size: 15px;
        margin-bottom: 16px;
    }

    .agreement-section {
        margin-top: 0;
    }

    .auth-footer {
        gap: 8px;
    }
}
