/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

/* 个人中心主容器 */
.member-center {
    display: flex;
    gap: 20px;
    padding: 0;
    margin-top: 20px;
}

/* 侧边栏 */
.member-sidebar {
    width: 280px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 25px;
    position: sticky;
    top: 20px;
    height: fit-content;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.member-sidebar:hover {
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.12);
    transform: translateY(-2px);
}

/* 侧边栏头部 */
.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.user-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.user-avatar-large:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

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

/* 侧边栏导航 */
.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 侧边栏用户信息样式 */
.sidebar-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 20px;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.sidebar-user-info h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.sidebar-user-level {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e3f2fd;
    color: #007bff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.sidebar-nav-item {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-nav-item:hover {
    background-color: #f0f7ff;
    transform: translateX(4px);
}

.sidebar-nav-item.active {
    background-color: #e3f2fd;
    border-left: 4px solid #007bff;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebar-nav-link:hover::before {
    left: 100%;
}

.sidebar-nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.sidebar-nav-item.active .sidebar-nav-link {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
    font-weight: 600;
}

.nav-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-nav-item.active .nav-icon {
    transform: scale(1.2);
}

/* 主内容区 */
.member-main {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.member-main:hover {
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.12);
}

/* 页面标题 */
.page-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title .title-icon {
    font-size: 28px;
    line-height: 1;
    color: #007bff;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6610f2, #dc3545, #ffc107, #28a745);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stat-title {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.stat-icon {
    font-size: 28px;
    color: #007bff;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}

.stat-change.negative {
    color: #dc3545;
}

/* 内容卡片 */
.content-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.content-card:hover {
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.12);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: #007bff;
    border-radius: 2px;
}
.tips-list {
    padding: 0px 20px;
}

/* 消费记录页面专用样式 - 完全隔离，仅应用于消费记录页面 */
/* 使用member-consume-前缀，确保不会与其他页面冲突 */
.member-consume-records {
    /* 页面容器样式 */
}

/* 筛选器样式 */
.member-consume-filter-wrapper {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.member-consume-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.member-consume-filter-item {
    margin: 0;
}

.member-consume-filter-link {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.member-consume-filter-link:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.member-consume-filter-item.active .member-consume-filter-link {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 记录列表样式 */
.member-consume-records-list {
    margin-top: 20px;
}

.member-consume-record-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.member-consume-record-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

.member-consume-record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.member-consume-record-time {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.member-consume-record-type {
    font-weight: 600;
    font-size: 13px;
}

.member-consume-type-income {
    color: #28a745;
    background-color: #f0fdf4;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #dcfce7;
}

.member-consume-type-expense {
    color: #dc3545;
    background-color: #fef2f2;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}

.member-consume-record-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed #eee;
}

.member-consume-record-desc {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.member-consume-record-amounts {
    display: flex;
    gap: 15px;
    align-items: center;
}

.member-consume-credit-amount {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
}

.member-consume-money-amount {
    font-size: 16px;
    font-weight: 600;
    color: #fd7e14;
}

/* 空记录样式 */
.member-consume-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px dashed #eee;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .member-consume-record-header,
    .member-consume-record-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .member-consume-record-type,
    .member-consume-record-amounts {
        align-self: flex-end;
    }
    
    .member-consume-filter-list {
        justify-content: center;
    }
    
    .member-consume-filter-link {
        padding: 6px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .member-consume-record-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .member-consume-record-desc {
        font-size: 13px;
    }
    
    .member-consume-credit-amount,
    .member-consume-money-amount {
        font-size: 14px;
    }
    
    .member-consume-filter-link {
        padding: 5px 14px;
        font-size: 12px;
    }
}
/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    padding-left: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background-color: #f8f9ff;
    transform: translateY(-1px);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #28a745;
}

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

/* 表单布局 */
.form-layout {
    max-width: 600px;
    margin: 0 auto;
}

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

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.avatar-preview:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
    border-color: #0056b3;
}

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

.avatar-upload-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.avatar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.upload-text {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.upload-text:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.avatar-hint {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    margin-left: 125px;
    font-style: italic;
}

/* 单选按钮 */
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"]:hover {
    transform: scale(1.1);
}

.radio-item:hover {
    color: #007bff;
    transform: translateX(5px);
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    justify-content: center;
}

/* 页面副标题 */
.page-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.8;
}

/* 订单筛选 */
.order-filters {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.filter-list {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.filter-item {
    margin: 0;
}

.filter-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.filter-link:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.filter-item.active .filter-link {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 20px;
}

.page-info {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.info-text {
    font-weight: 500;
}

.page-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 按钮禁用状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

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

.btn-success {
    background-color: #28a745;
    color: #fff;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

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

.order-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.order-item:hover {
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.12);
    border-color: #007bff;
    transform: translateY(-2px);
}

.order-header {
    background-color: #f8f9fa;
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.order-id, .order-time {
    font-size: 14px;
    color: #666;
}

.order-status {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    padding: 4px 12px;
    border-radius: 12px;
    background-color: rgba(40, 167, 69, 0.1);
}

.order-status.pending, .order-status[class*="待付款"] {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

.order-status.cancelled, .order-status[class*="已取消"] {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.order-status[class*="已付款"] {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.order-status[class*="已发货"] {
    color: #17a2b8;
    background-color: rgba(23, 162, 184, 0.1);
}

.order-body {
    padding: 20px;
}

.order-goods {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.goods-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    align-items: center;
}

.goods-item:last-child {
    margin-bottom: 0;
    padding: 5px;
}

.goods-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.goods-img:hover {
    transform: scale(1.05);
    border-color: #007bff;
}

.goods-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.goods-img:hover img {
    transform: scale(1.1);
}

.goods-info {
    flex: 1;
    min-width: 0;
}

.goods-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.goods-spec {
    font-size: 12px;
    color: #999;
}

.goods-price {
    font-size: 16px;
    font-weight: 600;
    color: #dc3545;
    white-space: nowrap;
    margin-bottom: 0px;
    margin-left: auto;
}

.goods-quantity {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    margin-left: 20px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
}

.order-total {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.total-value {
    font-size: 20px;
    color: #dc3545;
    margin-left: 10px;
    font-weight: 700;
}

.order-shipping {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.shipping-label {
    font-weight: 500;
    color: #666;
}

.shipping-value {
    color: #333;
    margin-left: 8px;
}

.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* 按钮大小 */
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-sm:hover::before {
    left: 100%;
}

.btn-info {
    background-color: #17a2b8;
    color: #fff;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
}

.btn-info:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-success {
    background-color: #28a745;
    color: #fff;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* 空状态 */
.no-orders {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-orders-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.no-orders-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.no-orders .btn {
    margin-top: 10px;
}

/* 收藏列表 */
.collect-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.collects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.collect-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.collect-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

.collect-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.collect-item-type {
    font-size: 12px;
    font-weight: 600;
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.collect-item-del {
    font-size: 18px;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(220, 53, 69, 0.1);
}

.collect-item-del:hover {
    background-color: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

.collect-item-img {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    flex-shrink: 0;
}

.collect-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collect-item:hover .collect-item-img img {
    transform: scale(1.1);
}

.collect-item-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.collect-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collect-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.collect-item-title a:hover {
    color: #007bff;
    text-decoration: underline;
}

.collect-item-price {
    font-size: 18px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.collect-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.collect-time {
    font-size: 12px;
    color: #999;
}

.collect-sales {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.collect-item-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* 空状态 */
.no-collects {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-collects-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.no-collects-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.no-collects .btn {
    margin-top: 10px;
}

/* 表单布局 */
.form-layout {
    max-width: 600px;
    margin: 0 auto;
}

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

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

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

.avatar-upload-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.avatar-upload-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.strength-bar {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    height: 4px;
}

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

.strength-segment.weak {
    background-color: #dc3545;
}

.strength-segment.medium {
    background-color: #ffc107;
}

.strength-segment.strong {
    background-color: #28a745;
}

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

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

.security-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.security-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.security-status {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
}

.security-status.unsecured {
    color: #dc3545;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .member-center {
        flex-direction: column;
    }

    .member-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .collect-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .member-main {
        padding: 20px;
    }

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

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-info {
        flex-wrap: wrap;
        gap: 15px;
    }

    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .order-actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .collect-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .collect-img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .member-sidebar {
        padding: 20px;
    }

    .member-main {
        padding: 15px;
    }

    .user-avatar-large {
        width: 80px;
        height: 80px;
    }

    .page-title h1 {
        font-size: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 24px;
    }

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

    .order-goods-img {
        width: 100%;
        height: auto;
    }

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

    .collect-img {
        height: 180px;
    }

    .avatar-upload {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    border-top: none;
    margin-top: 40px;
    padding: 40px 0 20px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    text-align: center;
}

.footer-title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #007bff, #3498db);
    border-radius: 2px;
}

.footer-text {
    line-height: 1.8;
    color: #fff;
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
}

.contact-icon {
    font-size: 18px;
    flex-shrink: 0;
    color: #007bff;
    opacity: 1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
    opacity: 0.9;
}

.footer-link:hover {
    color: #007bff;
    background-color: #f0f7ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .footer-bottom {
        gap: 12px;
    }
    
    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0 12px;
        margin-top: 25px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-text,
    .contact-text {
        font-size: 13px;
    }
    
    .social-link {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .copyright,
    .footer-link {
        font-size: 12px;
    }
    
    .footer-links {
        gap: 12px;
    }
}

/* 提示信息 */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 浮动操作按钮 */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
    background-color: #0056b3;
}

.fab:active {
    transform: scale(0.95);
}

/* 登录页面样式 */
.member-login-page {
    padding: 0;
    background-color: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.login-header {
    padding: 30px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    text-align: center;
}

.login-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
}

.login-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.login-form-wrap {
    padding: 30px;
}

.form-check-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.divider-text {
    position: relative;
    background-color: #fff;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.register-btn {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 密码显示/隐藏切换 */
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #007bff;
}

/* 登录状态提示 */
.login-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* 支付页面样式 */
.payment-info {
    margin-top: 20px;
}

.payment-amount {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.payment-amount-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.payment-amount-value {
    font-size: 32px;
    font-weight: 700;
    color: #dc3545;
}

.payment-methods {
    margin-bottom: 25px;
}

.payment-methods h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.payment-method-list {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.payment-method-item {
    flex: 1;
    min-width: 200px;
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    font-weight: 500;
    color: #333;
}

.payment-method-label:hover {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.payment-method-item input[type="radio"]:checked + .payment-method-label {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.payment-method-desc {
    font-size: 12px;
    color: #999;
    margin-left: auto;
    font-weight: normal;
}

.payment-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.payment-actions .btn {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.payment-result {
    margin-top: 30px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.payment-result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.payment-result-icon {
    font-size: 64px;
    line-height: 1;
}

.payment-result-icon.success {
    color: #28a745;
}

.payment-result-icon.error {
    color: #dc3545;
}

.payment-result-message {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.payment-result-actions {
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .member-login-page {
        padding: 30px 0;
    }
    
    .login-container {
        margin: 0 20px;
    }
    
    .login-header,
    .login-form-wrap {
        padding: 20px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    /* 支付页面响应式 */
    .payment-method-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-method-item {
        min-width: 100%;
    }
    
    .payment-amount-value {
        font-size: 24px;
    }
    
    .payment-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .payment-actions .btn {
        min-width: auto;
        max-width: none;
    }
    
    .payment-result {
        padding: 20px;
    }
    
    .payment-result-icon {
        font-size: 48px;
    }
    
    .payment-result-message {
        font-size: 16px;
    }
}

.sign-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sign-card .stat-title {
    color: rgba(255, 255, 255, 0.9);
}

.sign-card .stat-icon {
    color: rgba(255, 255, 255, 0.8);
}

.sign-card .stat-change {
    color: rgba(255, 255, 255, 0.9);
}

.sign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.sign-box {
    text-align: center;
    margin-bottom: 15px;
}

.sign-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.sign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.sign-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.sign-icon {
    font-size: 24px;
}

.sign-text {
    font-size: 16px;
}

.sign-tip {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

.signed-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 15px;
}

.signed-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 10px;
}

.signed-text {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.signed-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.continuous-info {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.continuous-item {
    text-align: center;
}

.continuous-label {
    font-size: 12px;
    color: rgba(10, 10, 10, 0.8);
    margin-bottom: 5px;
}

.continuous-value {
    font-size: 24px;
    font-weight: 700;
    color: #ff0000;
}

.sign-box-small {
    text-align: center;
    margin-bottom: 10px;
}

.sign-btn-small {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.sign-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.sign-btn-small:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.sign-icon-small {
    font-size: 18px;
}

.sign-text-small {
    font-size: 14px;
}

.signed-box-small {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 10px;
}

.signed-icon-small {
    font-size: 32px;
    color: #28a745;
    margin-bottom: 5px;
}

.signed-text-small {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.continuous-info-small {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.continuous-label-small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.continuous-value-small {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.sign-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sign-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #fff;
}

.calendar-container {
    margin-top: 20px;
}

.calendar-header {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e0e0e0;
    border-bottom: none;
}

.calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.calendar-body {
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.calendar-weekday {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-right: 1px solid #e0e0e0;
}

.calendar-weekday:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: default;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day-empty {
    background-color: #fafafa;
}

.calendar-day-signed {
    background-color: #e3f2fd;
    color: #007bff;
    font-weight: 600;
}

.calendar-day-today {
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
}

.calendar-day-signed.calendar-day-today {
    background-color: #28a745;
    color: #fff;
}

.calendar-day-missed {
    background-color: #fff5f5;
    color: #dc3545;
}

.calendar-day-future {
    background-color: #f8f9fa;
    color: #999;
}

.calendar-day {
    position: relative;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.calendar-day-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.signed-badge {
    background-color: #28a745;
    color: #fff;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.missed-badge {
    background-color: #dc3545;
    color: #fff;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.future-badge {
    background-color: #6c757d;
    color: #fff;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.today-badge {
    background-color: #ffc107;
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.5);
    }
}

.reward-rules {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reward-rule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.reward-rule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.reward-rule-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.reward-rule-content {
    flex: 1;
}

.reward-rule-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.reward-rule-desc {
    font-size: 14px;
    color: #666;
}

.reward-rule-value {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
    flex-shrink: 0;
}

.sign-records {
    margin-top: 20px;
}

.sign-table {
    width: 100%;
    border-collapse: collapse;
}

.sign-table thead {
    background-color: #f8f9fa;
}

.sign-table th {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.sign-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}

.sign-table tbody tr:hover {
    background-color: #f8f9fa;
}

.sign-table .sign-points {
    color: #28a745;
    font-weight: 600;
}

.sign-table .no-data {
    text-align: center;
    color: #999;
    padding: 30px;
}

@media (max-width: 768px) {
    .reward-rule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reward-rule-value {
        align-self: center;
    }
    
    .calendar-weekday,
    .calendar-day {
        padding: 8px;
        font-size: 12px;
    }
    
    .sign-table {
        font-size: 12px;
    }
    
    .sign-table th,
    .sign-table td {
        padding: 8px 10px;
    }
}