/* ============================================================
 * Zbedia 用户中心 - 全新 UI 框架
 * 响应式设计，支持 PC / Pad / Mobile
 * ============================================================ */

/* ========== CSS 变量 ========== */
:root {
    --uc-primary: #00AA98;
    --uc-primary-dark: #009585;
    --uc-primary-light: #e8f7f5;
    --uc-primary-gradient: linear-gradient(135deg, #00AA98 0%, #00c4b0 100%);
    --uc-danger: #ef4444;
    --uc-danger-light: #fef2f2;
    --uc-warning: #f59e0b;
    --uc-warning-light: #fffbeb;
    --uc-success: #10b981;
    --uc-success-light: #ecfdf5;
    --uc-info: #3b82f6;
    --uc-text: #1f2937;
    --uc-text-secondary: #6b7280;
    --uc-text-muted: #9ca3af;
    --uc-bg: #f3f4f6;
    --uc-bg-white: #ffffff;
    --uc-border: #e5e7eb;
    --uc-border-light: #f3f4f6;
    --uc-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --uc-shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --uc-shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --uc-radius: 12px;
    --uc-radius-sm: 8px;
    --uc-radius-xs: 6px;
    --uc-sidebar-width: 260px;
    --uc-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== 重置 & 基础 ========== */
.uc-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--uc-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.uc-page *, .uc-page *::before, .uc-page *::after {
    box-sizing: border-box;
}

/* ========== 页面整体布局 ========== */
.uc-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

/* ========== 侧边栏 ========== */
.uc-sidebar {
    width: var(--uc-sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: 24px;
    align-self: flex-start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

/* 用户卡片 */
.uc-user-card {
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    padding: 28px 20px 22px;
    text-align: center;
    box-shadow: var(--uc-shadow);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.uc-user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--uc-primary-gradient);
    border-radius: var(--uc-radius) var(--uc-radius) 0 0;
}

.uc-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid var(--uc-bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
    background: var(--uc-bg);
}

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

.uc-user-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--uc-text);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.uc-user-email {
    font-size: 12px;
    color: var(--uc-text-muted);
    word-break: break-all;
}

.uc-vip-badge-inline {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, #f5af19, #f12711);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
}

.uc-vip-badge-inline i {
    margin-right: 3px;
}

/* 导航菜单 */
.uc-nav {
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow);
    overflow: hidden;
    padding: 8px 0;
}

.uc-nav-group {
    padding: 0 8px;
    margin-bottom: 4px;
}

.uc-nav-group + .uc-nav-group {
    border-top: 1px solid var(--uc-border-light);
    padding-top: 8px;
    margin-top: 4px;
}

.uc-nav-label {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--uc-text-secondary);
    text-decoration: none;
    border-radius: var(--uc-radius-sm);
    transition: var(--uc-transition);
    font-size: 14px;
    margin-bottom: 2px;
}

.uc-nav-label:hover {
    background: var(--uc-primary-light);
    color: var(--uc-primary);
}

.uc-nav-label.active {
    background: var(--uc-primary-light);
    color: var(--uc-primary);
    font-weight: 600;
}

.uc-nav-label i {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    font-size: 15px;
    flex-shrink: 0;
}

.uc-nav-label.uc-nav-logout {
    color: var(--uc-danger);
}

.uc-nav-label.uc-nav-logout:hover {
    background: var(--uc-danger-light);
}

/* 手机端菜单按钮 */
.uc-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--uc-primary-gradient);
    color: #fff;
    border: none;
    box-shadow: var(--uc-shadow-lg);
    z-index: 1000;
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    transition: var(--uc-transition);
}

.uc-mobile-toggle:active {
    transform: scale(0.92);
}

.uc-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.uc-sidebar-overlay.show {
    opacity: 1;
}

/* ========== 主内容区 ========== */
.uc-main {
    flex: 1;
    min-width: 0;
}

/* 页面标题 */
.uc-page-header {
    margin-bottom: 24px;
}

.uc-page-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--uc-text);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uc-page-header h2 i {
    color: var(--uc-primary);
    font-size: 22px;
}

.uc-page-header p {
    margin: 0;
    color: var(--uc-text-muted);
    font-size: 14px;
}

/* 内容卡片 */
.uc-card {
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.uc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--uc-border-light);
}

.uc-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--uc-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.uc-card-title i {
    color: var(--uc-primary);
}

.uc-card-actions {
    display: flex;
    gap: 8px;
}

/* ========== 欢迎横幅 ========== */
.uc-welcome {
    background: var(--uc-primary-gradient);
    border-radius: var(--uc-radius);
    padding: 28px 30px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.uc-welcome::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.uc-welcome h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}

.uc-welcome p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ========== 统计卡片 ========== */
.uc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.uc-stat-card {
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--uc-shadow);
    transition: var(--uc-transition);
    border: 1px solid transparent;
}

.uc-stat-card:hover {
    border-color: var(--uc-primary);
    transform: translateY(-2px);
    box-shadow: var(--uc-shadow-md);
}

.uc-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 18px;
}

.uc-stat-icon.green { background: var(--uc-primary-light); color: var(--uc-primary); }
.uc-stat-icon.blue { background: #eff6ff; color: #3b82f6; }
.uc-stat-icon.orange { background: #fff7ed; color: #f59e0b; }
.uc-stat-icon.purple { background: #faf5ff; color: #a855f7; }
.uc-stat-icon.red { background: #fef2f2; color: #ef4444; }

.uc-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--uc-text);
    line-height: 1.2;
    margin-bottom: 4px;
}

.uc-stat-label {
    font-size: 13px;
    color: var(--uc-text-muted);
}

/* ========== 表单系统 ========== */
.uc-form-group {
    margin-bottom: 20px;
}

.uc-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--uc-text);
}

.uc-form-label .required {
    color: var(--uc-danger);
    margin-right: 4px;
}

.uc-form-label .hint {
    font-weight: 400;
    color: var(--uc-text-muted);
    font-size: 12px;
    margin-left: 8px;
}

.uc-form-input,
.uc-form-select,
.uc-form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--uc-border);
    border-radius: var(--uc-radius-xs);
    font-size: 14px;
    color: var(--uc-text);
    background: var(--uc-bg-white);
    transition: var(--uc-transition);
    outline: none;
    font-family: inherit;
}

.uc-form-input:focus,
.uc-form-select:focus,
.uc-form-textarea:focus {
    border-color: var(--uc-primary);
    box-shadow: 0 0 0 3px rgba(0,170,152,0.1);
}

.uc-form-input::placeholder,
.uc-form-textarea::placeholder {
    color: var(--uc-text-muted);
}

.uc-form-input:disabled {
    background: var(--uc-bg);
    color: var(--uc-text-muted);
    cursor: not-allowed;
}

.uc-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.uc-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.uc-form-tip {
    margin-top: 6px;
    font-size: 12px;
    color: var(--uc-text-muted);
}

.uc-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--uc-text-muted);
}

/* ========== 按钮系统 ========== */
.uc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border: 1.5px solid transparent;
    border-radius: var(--uc-radius-xs);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--uc-transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    font-family: inherit;
}

.uc-btn:active { transform: scale(0.97); }
.uc-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.uc-btn-primary {
    background: var(--uc-primary);
    color: #fff;
    border-color: var(--uc-primary);
}
.uc-btn-primary:hover:not(:disabled) {
    background: var(--uc-primary-dark);
    border-color: var(--uc-primary-dark);
}

.uc-btn-secondary {
    background: var(--uc-info);
    color: #fff;
    border-color: var(--uc-info);
}
.uc-btn-secondary:hover:not(:disabled) {
    background: #2563eb;
}

.uc-btn-outline {
    background: transparent;
    color: var(--uc-primary);
    border-color: var(--uc-primary);
}
.uc-btn-outline:hover:not(:disabled) {
    background: var(--uc-primary-light);
}

.uc-btn-danger {
    background: transparent;
    color: var(--uc-danger);
    border-color: var(--uc-danger);
}
.uc-btn-danger:hover:not(:disabled) {
    background: var(--uc-danger-light);
}

.uc-btn-ghost {
    background: transparent;
    color: var(--uc-text-secondary);
    border-color: var(--uc-border);
}
.uc-btn-ghost:hover:not(:disabled) {
    border-color: var(--uc-primary);
    color: var(--uc-primary);
}

.uc-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.uc-btn-lg {
    padding: 13px 32px;
    font-size: 16px;
}

.uc-btn-block {
    width: 100%;
}

/* ========== 消息提示 ========== */
.uc-alert {
    padding: 12px 16px;
    border-radius: var(--uc-radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid;
}

.uc-alert.show { display: flex; }

.uc-alert-error {
    background: var(--uc-danger-light);
    color: var(--uc-danger);
    border-color: #fecaca;
}

.uc-alert-success {
    background: var(--uc-success-light);
    color: var(--uc-success);
    border-color: #a7f3d0;
}

.uc-alert-warning {
    background: var(--uc-warning-light);
    color: #b45309;
    border-color: #fde68a;
}

.uc-alert-info {
    background: #eff6ff;
    color: var(--uc-info);
    border-color: #bfdbfe;
}

/* ========== 列表系统 ========== */
.uc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uc-list-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--uc-border-light);
    gap: 14px;
    transition: var(--uc-transition);
}

.uc-list-item:last-child { border-bottom: none; }
.uc-list-item:hover { background: var(--uc-bg); margin: 0 -16px; padding: 16px; border-radius: var(--uc-radius-sm); }

.uc-list-item-main {
    flex: 1;
    min-width: 0;
}

.uc-list-item-title {
    font-size: 15px;
    color: var(--uc-text);
    text-decoration: none;
    font-weight: 500;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--uc-transition);
}

.uc-list-item-title:hover { color: var(--uc-primary); }

.uc-list-item-meta {
    font-size: 12px;
    color: var(--uc-text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.uc-list-item-meta i {
    margin-right: 3px;
}

.uc-list-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ========== 状态标签 ========== */
.uc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.uc-tag-pending { background: var(--uc-warning-light); color: #b45309; }
.uc-tag-success, .uc-tag-paid, .uc-tag-approved { background: var(--uc-success-light); color: var(--uc-success); }
.uc-tag-danger, .uc-tag-refunded, .uc-tag-rejected { background: var(--uc-danger-light); color: var(--uc-danger); }
.uc-tag-muted, .uc-tag-cancelled { background: var(--uc-bg); color: var(--uc-text-muted); }
.uc-tag-primary { background: var(--uc-primary-light); color: var(--uc-primary); }

/* ========== 空状态 ========== */
.uc-empty {
    text-align: center;
    padding: 50px 20px;
}

.uc-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--uc-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.uc-empty-icon i {
    font-size: 32px;
    color: var(--uc-text-muted);
}

.uc-empty h4 {
    font-size: 16px;
    color: var(--uc-text-secondary);
    margin: 0 0 8px;
    font-weight: 500;
}

.uc-empty p {
    font-size: 13px;
    color: var(--uc-text-muted);
    margin: 0 0 20px;
}

/* ========== 订单相关 ========== */
.uc-order-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--uc-border-light);
}

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

.uc-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.uc-order-no {
    font-size: 13px;
    color: var(--uc-text-muted);
    font-family: "SF Mono", Monaco, "Cascadia Mono", monospace;
}

.uc-order-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.uc-order-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--uc-text);
    margin: 0 0 4px;
}

.uc-order-info .meta {
    font-size: 12px;
    color: var(--uc-text-muted);
}

.uc-order-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--uc-danger);
}

.uc-order-amount .currency {
    font-size: 14px;
    font-weight: 500;
}

/* ========== VIP 相关 ========== */
.uc-vip-status {
    padding: 24px;
    border-radius: var(--uc-radius);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.uc-vip-status.is-vip {
    background: var(--uc-primary-gradient);
    color: #fff;
}

.uc-vip-status.not-vip {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--uc-text-secondary);
    border: 1px dashed var(--uc-border);
}

.uc-vip-status h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.uc-vip-status.is-vip h3 { color: #fff; }

.uc-vip-status p {
    margin: 4px 0;
    font-size: 14px;
}

.uc-vip-status.is-vip p { opacity: 0.9; }

/* VIP 套餐卡片 */
.uc-vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.uc-vip-card {
    border: 2px solid var(--uc-border);
    border-radius: var(--uc-radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--uc-transition);
    position: relative;
    background: var(--uc-bg-white);
}

.uc-vip-card:hover {
    border-color: var(--uc-primary);
    transform: translateY(-4px);
    box-shadow: var(--uc-shadow-lg);
}

.uc-vip-card.featured {
    border-color: var(--uc-primary);
    box-shadow: 0 4px 15px rgba(0,170,152,0.15);
}

.uc-vip-card-tag {
    position: absolute;
    top: -1px;
    right: 16px;
    background: var(--uc-danger);
    color: #fff;
    padding: 3px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    font-weight: 600;
}

.uc-vip-card-badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--uc-primary-light);
    color: var(--uc-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.uc-vip-card.featured .uc-vip-card-badge {
    background: var(--uc-primary-gradient);
    color: #fff;
}

.uc-vip-card-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--uc-primary);
    margin: 12px 0 4px;
    line-height: 1;
}

.uc-vip-card-price .currency {
    font-size: 18px;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px;
}

.uc-vip-card-duration {
    color: var(--uc-text-muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.uc-vip-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.uc-vip-card-features li {
    padding: 7px 0;
    font-size: 13px;
    color: var(--uc-text-secondary);
    border-bottom: 1px solid var(--uc-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.uc-vip-card-features li:last-child { border: none; }

.uc-vip-card-features li::before {
    content: '\f00c';
    font-family: FontAwesome;
    color: var(--uc-primary);
    font-size: 11px;
    flex-shrink: 0;
}

/* ========== 支付弹窗 ========== */
.uc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.uc-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.uc-modal-content {
    position: relative;
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    padding: 30px;
    width: 90%;
    max-width: 420px;
    z-index: 1;
    box-shadow: var(--uc-shadow-lg);
    animation: ucModalIn 0.25s ease;
}

@keyframes ucModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.uc-modal-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--uc-text);
}

/* 支付方式 */
.uc-pay-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.uc-pay-method {
    border: 2px solid var(--uc-border);
    border-radius: var(--uc-radius-sm);
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--uc-transition);
}

.uc-pay-method:hover,
.uc-pay-method.selected {
    border-color: var(--uc-primary);
    background: var(--uc-primary-light);
}

.uc-pay-method input { display: none; }

.uc-pay-method i {
    font-size: 28px;
    color: var(--uc-text-secondary);
    display: block;
    margin-bottom: 6px;
}

.uc-pay-method.selected i { color: var(--uc-primary); }

.uc-pay-method span {
    font-size: 12px;
    color: var(--uc-text-secondary);
}

.uc-modal-footer {
    display: flex;
    gap: 12px;
}

.uc-modal-footer .uc-btn { flex: 1; }

/* ========== 认证页面（登录/注册/忘记密码） ========== */
.uc-auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.uc-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.uc-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--uc-primary-gradient);
}

.uc-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.uc-auth-header .logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--uc-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.uc-auth-header .logo i {
    font-size: 22px;
    color: #fff;
}

.uc-auth-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--uc-text);
    margin: 0 0 6px;
}

.uc-auth-header p {
    font-size: 14px;
    color: var(--uc-text-muted);
    margin: 0;
}

.uc-auth-links {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--uc-border-light);
    font-size: 13px;
}

.uc-auth-links a {
    color: var(--uc-primary);
    text-decoration: none;
    margin: 0 8px;
    transition: var(--uc-transition);
}

.uc-auth-links a:hover { text-decoration: underline; }

/* ========== 投稿列表 ========== */
.uc-submission-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--uc-border-light);
}

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

.uc-submission-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.uc-submission-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--uc-text);
    margin: 0;
    flex: 1;
}

.uc-submission-meta {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--uc-text-muted);
    flex-wrap: wrap;
    align-items: center;
}

.uc-submission-meta i {
    margin-right: 3px;
}

.uc-reject-reason {
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--uc-danger-light);
    border-radius: var(--uc-radius-xs);
    font-size: 13px;
    color: var(--uc-danger);
    border-left: 3px solid var(--uc-danger);
}

/* 投稿统计条 */
.uc-stats-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.uc-stats-bar-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 16px 12px;
    border-radius: var(--uc-radius-sm);
    background: var(--uc-bg);
}

.uc-stats-bar-item .num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--uc-text);
    margin-bottom: 4px;
}

.uc-stats-bar-item .label {
    font-size: 13px;
    color: var(--uc-text-muted);
}

.uc-stats-bar-item.pending .num { color: var(--uc-warning); }
.uc-stats-bar-item.approved .num { color: var(--uc-success); }
.uc-stats-bar-item.rejected .num { color: var(--uc-danger); }

/* 筛选栏 */
.uc-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.uc-filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--uc-bg);
    padding: 4px;
    border-radius: var(--uc-radius-sm);
}

.uc-filter-tab {
    padding: 7px 16px;
    border-radius: var(--uc-radius-xs);
    color: var(--uc-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--uc-transition);
}

.uc-filter-tab:hover {
    color: var(--uc-text);
    background: rgba(255,255,255,0.6);
}

.uc-filter-tab.active {
    background: var(--uc-bg-white);
    color: var(--uc-primary);
    box-shadow: var(--uc-shadow);
}

/* ========== 支付结果 ========== */
.uc-result-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.uc-result-card {
    width: 100%;
    max-width: 480px;
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow-lg);
    padding: 50px 40px;
    text-align: center;
}

.uc-result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.uc-result-icon.success {
    background: var(--uc-success-light);
    color: var(--uc-success);
}

.uc-result-icon.error {
    background: var(--uc-danger-light);
    color: var(--uc-danger);
}

.uc-result-icon i {
    font-size: 36px;
}

.uc-result-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--uc-text);
    margin: 0 0 10px;
}

.uc-result-card p {
    color: var(--uc-text-secondary);
    font-size: 14px;
    margin: 0 0 8px;
}

.uc-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ========== 分页 ========== */
.uc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px 0 0;
    margin-top: 16px;
    border-top: 1px solid var(--uc-border-light);
}

.uc-page-btn {
    padding: 8px 16px;
    border: 1px solid var(--uc-border);
    border-radius: var(--uc-radius-xs);
    color: var(--uc-text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--uc-transition);
}

.uc-page-btn:hover {
    border-color: var(--uc-primary);
    color: var(--uc-primary);
}

.uc-page-info {
    color: var(--uc-text-muted);
    font-size: 13px;
    padding: 0 8px;
}

/* ========== 投稿须知 ========== */
.uc-tips-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--uc-radius-sm);
    padding: 20px 24px;
    margin-top: 24px;
}

.uc-tips-box h4 {
    font-size: 15px;
    color: var(--uc-text);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.uc-tips-box h4 i {
    color: var(--uc-primary);
}

.uc-tips-box ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.uc-tips-box li {
    font-size: 13px;
    color: var(--uc-text-secondary);
    padding: 3px 0;
    line-height: 1.7;
}

/* ========== 个人资料 - 头像上传区 ========== */
.uc-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--uc-border-light);
}

.uc-avatar-large {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--uc-primary);
    flex-shrink: 0;
    background: var(--uc-bg);
}

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

.uc-avatar-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.uc-avatar-info p {
    font-size: 13px;
    color: var(--uc-text-muted);
    margin: 0 0 10px;
}

/* ========== VIP 权限提示框（文章页内嵌） ========== */
.uc-vip-prompt {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border: 2px dashed var(--uc-primary);
    border-radius: var(--uc-radius);
    padding: 40px 30px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.uc-vip-prompt::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,170,152,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.uc-vip-prompt-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: var(--uc-primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,170,152,0.3);
}

.uc-vip-prompt-icon i {
    font-size: 30px;
    color: #fff;
}

.uc-vip-prompt h3 {
    font-size: 20px;
    color: var(--uc-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.uc-vip-prompt > p {
    font-size: 14px;
    color: var(--uc-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.uc-vip-prompt-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.uc-vip-prompt-btns .btn {
    padding: 11px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--uc-transition);
    display: inline-block;
}

.uc-vip-prompt-btns .btn-primary {
    background: var(--uc-primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,170,152,0.3);
}

.uc-vip-prompt-btns .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,170,152,0.4);
}

.uc-vip-prompt-btns .btn-outline {
    background: #fff;
    color: var(--uc-primary);
    border: 2px solid var(--uc-primary);
}

.uc-vip-prompt-btns .btn-outline:hover {
    background: var(--uc-primary);
    color: #fff;
}

.uc-vip-prompt-tips {
    background: var(--uc-bg-white);
    border-radius: var(--uc-radius-sm);
    padding: 20px 24px;
    text-align: left;
    border: 1px solid var(--uc-border);
}

.uc-vip-prompt-tips h4 {
    font-size: 15px;
    color: var(--uc-text);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--uc-border-light);
}

.uc-vip-prompt-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uc-vip-prompt-tips li {
    font-size: 13px;
    color: var(--uc-text-secondary);
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.uc-vip-prompt-tips li i {
    color: var(--uc-primary);
    margin-right: 10px;
    font-size: 14px;
}

/* ========== 快捷入口 ========== */
.uc-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.uc-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    background: var(--uc-bg);
    border-radius: var(--uc-radius-sm);
    text-decoration: none;
    color: var(--uc-text-secondary);
    transition: var(--uc-transition);
    border: 1px solid transparent;
}

.uc-quick-item:hover {
    background: var(--uc-primary-light);
    color: var(--uc-primary);
    border-color: var(--uc-primary);
    transform: translateY(-2px);
}

.uc-quick-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.uc-quick-item span {
    font-size: 13px;
    font-weight: 500;
}

/* ========== 邮箱验证码行 ========== */
.uc-code-row {
    display: flex;
    gap: 10px;
}

.uc-code-row .uc-form-input { flex: 1; }

.uc-code-row .uc-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ========== 响应式 - 平板 ========== */
@media (max-width: 1024px) {
    .uc-wrapper {
        padding: 16px;
        gap: 16px;
    }

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

/* ========== 响应式 - 手机端 ========== */
@media (max-width: 768px) {
    /* 手机端菜单按钮显示 */
    .uc-mobile-toggle {
        display: flex;
    }

    /* 侧边栏变为抽屉 */
    .uc-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        z-index: 999;
        background: var(--uc-bg);
        padding: 20px 16px;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 100vh;
    }

    .uc-sidebar.open {
        left: 0;
    }

    .uc-sidebar-overlay.show {
        display: block;
    }

    /* 主内容区全宽 */
    .uc-wrapper {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    .uc-main {
        width: 100%;
    }

    /* 卡片适配 */
    .uc-card {
        padding: 18px 16px;
        border-radius: var(--uc-radius-sm);
    }

    /* 欢迎横幅 */
    .uc-welcome {
        padding: 22px 18px;
    }

    .uc-welcome h2 {
        font-size: 18px;
    }

    /* 统计卡片 */
    .uc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .uc-stat-card {
        padding: 16px 12px;
    }

    .uc-stat-num {
        font-size: 22px;
    }

    /* VIP 套餐 */
    .uc-vip-grid {
        grid-template-columns: 1fr;
    }

    .uc-vip-card {
        padding: 20px 16px;
    }

    /* 页面标题 */
    .uc-page-header h2 {
        font-size: 20px;
    }

    /* 列表项 */
    .uc-list-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .uc-list-item:hover {
        margin: 0;
        padding: 16px 0;
        border-radius: 0;
    }

    .uc-list-item-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .uc-list-item-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* 认证页 */
    .uc-auth-card {
        padding: 30px 20px;
    }

    .uc-auth-wrapper {
        padding: 20px 12px;
        align-items: flex-start;
    }

    /* 订单 */
    .uc-order-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .uc-order-amount {
        font-size: 18px;
    }

    /* 投稿 */
    .uc-submission-top {
        flex-direction: column;
        gap: 8px;
    }

    .uc-stats-bar {
        gap: 8px;
    }

    .uc-stats-bar-item {
        min-width: 70px;
        padding: 12px 8px;
    }

    .uc-stats-bar-item .num {
        font-size: 20px;
    }

    .uc-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .uc-filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 支付弹窗 */
    .uc-pay-methods {
        grid-template-columns: 1fr;
    }

    .uc-modal-content {
        padding: 24px 20px;
        width: 95%;
    }

    /* 支付结果 */
    .uc-result-card {
        padding: 36px 20px;
    }

    .uc-result-actions {
        flex-direction: column;
    }

    .uc-result-actions .uc-btn {
        width: 100%;
    }

    /* 快捷入口 */
    .uc-quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .uc-quick-item {
        padding: 14px 8px;
    }

    /* 头像区 */
    .uc-avatar-section {
        flex-direction: column;
        text-align: center;
    }

    /* VIP 权限提示 */
    .uc-vip-prompt {
        padding: 30px 18px;
    }

    .uc-vip-prompt-btns {
        flex-direction: column;
    }

    .uc-vip-prompt-btns .btn {
        width: 100%;
    }

    /* 分页 */
    .uc-pagination {
        gap: 4px;
    }

    .uc-page-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 极小屏适配 */
@media (max-width: 360px) {
    .uc-stats-grid {
        grid-template-columns: 1fr;
    }

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

    .uc-auth-card {
        padding: 24px 16px;
    }
}

/* ========== 打印优化 ========== */
@media print {
    .uc-sidebar, .uc-mobile-toggle, .uc-modal { display: none !important; }
    .uc-wrapper { display: block; }
    .uc-card { box-shadow: none; border: 1px solid #ddd; }
}
