/**
 * 用户认证页面样式
 * 
 * @package LightingTheme
 */

/* ========================================
   登录/注册页面布局
   ======================================== */

.lt-auth-page {
    min-height: 100vh;
    background: #f8fafc;
}

.lt-auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ========================================
   左侧装饰区域
   ======================================== */

.lt-auth-decoration {
    background: var(--theme-gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lt-auth-decoration-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.lt-auth-logo {
    margin-bottom: 40px;
}

.lt-auth-logo img {
    max-height: 50px;
    width: auto;
}

.lt-site-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}


.lt-auth-welcome {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
}

.lt-auth-tagline {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 40px;
    line-height: 1.6;
}

.lt-auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lt-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.lt-feature-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* 装饰图形 */
.lt-decoration-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lt-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lt-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.lt-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    left: -50px;
}

.lt-shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 100px;
}


/* ========================================
   右侧表单区域
   ======================================== */

.lt-auth-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #fff;
}

.lt-auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.lt-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.lt-auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.lt-auth-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.lt-auth-subtitle a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.lt-auth-subtitle a:hover {
    text-decoration: underline;
}

/* ========================================
   表单样式
   ======================================== */

.lt-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lt-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}


.lt-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lt-input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
}

.lt-input-wrap input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.lt-input-wrap input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* 输入框错误状态 */
.lt-input-wrap.lt-input-error input {
    border-color: #dc2626;
    background: #fef2f2;
}

.lt-input-wrap.lt-input-error input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* 禁用浏览器原生的密码显示按钮（Edge/IE/Chrome） */
.lt-input-wrap input::-ms-reveal,
.lt-input-wrap input::-ms-clear,
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* 针对新版 Edge (Chromium) 的密码显示按钮 */
.lt-input-wrap input::-webkit-credentials-auto-fill-button,
.lt-input-wrap input::-webkit-textfield-decoration-container,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.lt-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-toggle-password:hover:not([disabled]) {
    color: #667eea;
}

/* 禁用状态的小眼睛（密码输入框未输入时） */
.lt-toggle-password[disabled] {
    cursor: not-allowed;
    opacity: 0.4;
}

.lt-toggle-password svg {
    width: 20px;
    height: 20px;
}

/* 密码可见时添加斜线效果 */
.lt-toggle-password.is-visible svg {
    opacity: 0.6;
}

.lt-input-hint {
    font-size: 12px;
    color: #94a3b8;
}


/* 表单选项 */
.lt-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lt-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.lt-checkbox-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.lt-checkbox-label {
    font-size: 14px;
    color: #64748b;
}

.lt-forgot-link {
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
}

.lt-forgot-link:hover {
    text-decoration: underline;
}

/* 消息提示 */
.lt-form-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.lt-form-message.success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.lt-form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}


/* 提交按钮 */
.lt-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: var(--theme-gradient-primary, 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;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.lt-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

.lt-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.lt-spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 社交登录 */
.lt-social-login {
    margin-top: 32px;
}

.lt-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.lt-divider::before,
.lt-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.lt-divider span {
    font-size: 14px;
    color: #94a3b8;
}

.lt-social-hint {
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}


/* 条款提示 */
.lt-terms-notice {
    margin-top: 24px;
    text-align: center;
}

.lt-terms-notice p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.lt-terms-notice a {
    color: #667eea;
    text-decoration: none;
}

.lt-terms-notice a:hover {
    text-decoration: underline;
}

/* ========================================
   用户中心页面
   ======================================== */

.lt-account-page {
    min-height: 100vh;
    background: #f8fafc;
    padding: 40px 0;
}

.lt-account-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* 侧边栏 */
.lt-account-sidebar {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.lt-account-user-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.lt-user-avatar {
    margin-bottom: 16px;
}

.lt-user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}


.lt-user-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.lt-user-email {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px;
}

.lt-member-since {
    font-size: 12px;
    color: #94a3b8;
}

/* 导航菜单 */
.lt-account-nav {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.lt-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lt-nav-item svg {
    width: 20px;
    height: 20px;
}

.lt-nav-item:hover {
    background: #f1f5f9;
    color: #334155;
}

.lt-nav-item.active {
    background: var(--theme-gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: #fff;
}

.lt-nav-logout {
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.lt-nav-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}


/* 主内容区 */
.lt-account-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.lt-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lt-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.lt-section-desc {
    font-size: 15px;
    color: #64748b;
    margin: 8px 0 0;
}

.lt-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.lt-view-all:hover {
    text-decoration: underline;
}

/* 统计卡片 */
.lt-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.lt-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    transition: transform 0.2s ease;
}

.lt-stat-card:hover {
    transform: translateY(-2px);
}


.lt-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-stat-icon svg {
    width: 28px;
    height: 28px;
}

.lt-stat-icon--orders {
    background: var(--theme-gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: #fff;
}

.lt-stat-icon--pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.lt-stat-icon--spent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.lt-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.lt-stat-label {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

/* 订单表格 */
.lt-orders-table-wrap {
    overflow-x: auto;
}

.lt-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.lt-orders-table th,
.lt-orders-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.lt-orders-table th {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.lt-order-number a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.lt-order-number a:hover {
    text-decoration: underline;
}

.lt-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.lt-status-pending { background: #fef3c7; color: #d97706; }
.lt-status-processing { background: #dbeafe; color: #2563eb; }
.lt-status-on-hold { background: #fef3c7; color: #d97706; }
.lt-status-completed { background: #d1fae5; color: #059669; }
.lt-status-cancelled { background: #fee2e2; color: #dc2626; }
.lt-status-refunded { background: #f3e8ff; color: #7c3aed; }
.lt-status-failed { background: #fee2e2; color: #dc2626; }

.lt-btn-view {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.lt-btn-view:hover {
    background: #e2e8f0;
}

/* 快捷操作 */
.lt-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lt-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s ease;
}

.lt-quick-action:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.lt-quick-action svg {
    width: 32px;
    height: 32px;
    color: #667eea;
}

.lt-quick-action span {
    font-size: 14px;
    font-weight: 500;
}


/* 空状态 */
.lt-empty-state {
    text-align: center;
    padding: 60px 40px;
}

.lt-empty-state svg {
    width: 80px;
    height: 80px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.lt-empty-state h3 {
    font-size: 20px;
    color: #334155;
    margin: 0 0 8px;
}

.lt-empty-state p {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
}

/* 按钮样式 */
.lt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.lt-btn-primary {
    background: var(--theme-gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: #fff;
}

.lt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.lt-btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #334155;
}

.lt-btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
}

.lt-btn-secondary {
    background: #f1f5f9;
    color: #334155;
}

.lt-btn-secondary:hover {
    background: #e2e8f0;
}

.lt-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.lt-btn-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.lt-btn-danger:hover {
    background: #fecaca;
    color: #b91c1c;
}

.lt-btn-danger svg {
    stroke: currentColor;
}


/* ========================================
   订单列表页
   ======================================== */

.lt-orders-filter {
    margin-bottom: 24px;
}

.lt-select {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.lt-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lt-order-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.lt-order-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lt-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.lt-order-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #64748b;
}

.lt-order-number strong {
    color: #1a1a2e;
}

.lt-order-body {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 24px;
}

.lt-order-products {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
}

.lt-order-product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lt-product-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.lt-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.lt-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lt-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin: 0;
}

.lt-product-qty {
    font-size: 13px;
    color: #94a3b8;
}

.lt-more-products {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 8px;
}

.lt-order-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 200px;
}

.lt-order-total {
    text-align: right;
}

.lt-total-label {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.lt-total-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.lt-order-actions {
    display: flex;
    gap: 8px;
}

/* 分页 */
.lt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.lt-page-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.lt-page-btn:hover {
    background: #e2e8f0;
}

.lt-page-info {
    font-size: 14px;
    color: #64748b;
}

/* ========================================
   收货地址页
   ======================================== */

.lt-addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lt-address-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.lt-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.lt-address-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.lt-address-title svg {
    width: 20px;
    height: 20px;
    color: #667eea;
}

.lt-edit-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
}

.lt-edit-link:hover {
    text-decoration: underline;
}

.lt-address-body {
    padding: 20px;
}

.lt-address-content {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

.lt-address-phone,
.lt-address-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    color: #64748b;
}

.lt-address-empty {
    text-align: center;
    padding: 20px;
}

.lt-address-empty p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 16px;
}

/* ========================================
   账户设置页
   ======================================== */

.lt-profile-form {
    max-width: 600px;
}

.lt-form-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
}

.lt-form-section:last-of-type {
    border-bottom: none;
}

.lt-form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.lt-form-section-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.lt-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lt-profile-form .lt-form-group {
    margin-bottom: 20px;
}

.lt-profile-form .lt-form-group:last-child {
    margin-bottom: 0;
}

.lt-profile-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.lt-profile-form label .required {
    color: #dc2626;
}

.lt-profile-form input[type="text"],
.lt-profile-form input[type="email"],
.lt-profile-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
}

.lt-profile-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.lt-profile-form input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.lt-profile-form .lt-input-wrap {
    position: relative;
}

.lt-profile-form .lt-input-wrap input {
    padding-right: 48px;
}

.lt-form-actions {
    margin-top: 32px;
}

/* 消息提示 */
.lt-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.lt-message-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.lt-message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ========================================
   下载页
   ======================================== */

.lt-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lt-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: box-shadow 0.2s;
}

.lt-download-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lt-download-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lt-download-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.lt-download-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lt-download-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.lt-download-file {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.lt-download-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.lt-download-remaining,
.lt-download-expires {
    font-size: 13px;
    color: #94a3b8;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
    .lt-auth-container {
        grid-template-columns: 1fr;
    }
    
    .lt-auth-decoration {
        display: none;
    }
    
    .lt-account-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .lt-account-sidebar {
        position: static;
    }
    
    .lt-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .lt-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lt-addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .lt-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lt-auth-form-section {
        padding: 40px 20px;
    }
    
    .lt-account-page {
        padding: 20px 0;
    }
    
    .lt-account-content {
        padding: 24px;
    }
    
    .lt-order-body {
        flex-direction: column;
    }
    
    .lt-order-summary {
        align-items: flex-start;
        min-width: auto;
    }
    
    .lt-download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .lt-download-meta {
        text-align: left;
    }
    
    .lt-quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lt-auth-title {
        font-size: 26px;
    }
    
    .lt-section-title {
        font-size: 20px;
    }
    
    .lt-stat-card {
        padding: 16px;
    }
    
    .lt-stat-value {
        font-size: 22px;
    }
}


/* ========================================
   头像上传
   ======================================== */

.lt-avatar-section {
    text-align: center;
}

.lt-avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lt-avatar-preview {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    border: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.lt-avatar-preview:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.lt-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lt-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lt-avatar-preview:hover .lt-avatar-overlay {
    opacity: 1;
}

.lt-avatar-overlay svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.lt-avatar-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lt-avatar-actions .lt-btn {
    min-width: 140px;
}

.lt-avatar-actions .lt-btn svg {
    flex-shrink: 0;
}

.lt-avatar-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.lt-avatar-message {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    min-width: 200px;
}

.lt-avatar-message.success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.lt-avatar-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* 响应式 */
@media (min-width: 768px) {
    .lt-avatar-upload {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .lt-avatar-actions {
        align-items: flex-start;
    }
    
    .lt-avatar-actions .lt-btn {
        min-width: auto;
    }
}


/* ========================================
   地址编辑表单
   ======================================== */

.lt-back-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
}

.lt-back-link:hover {
    text-decoration: underline;
}

.lt-address-form {
    max-width: 700px;
}

.lt-address-form .lt-form-group {
    margin-bottom: 20px;
}

.lt-address-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.lt-address-form label .required {
    color: #dc2626;
}

.lt-address-form input[type="text"],
.lt-address-form input[type="email"],
.lt-address-form input[type="tel"],
.lt-address-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
}

.lt-address-form input:focus,
.lt-address-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.lt-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .lt-form-row-3 {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   订单详情页
   ======================================== */

.lt-order-detail-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lt-order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.lt-order-detail-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lt-order-detail-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-order-detail-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.lt-order-detail-meta {
    display: flex;
    gap: 20px;
}

.lt-order-detail-meta .lt-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.lt-order-detail-meta .lt-meta-item svg {
    color: #94a3b8;
}

/* 订单详情卡片 */
.lt-order-detail-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.lt-order-detail-card .lt-card-header {
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.lt-order-detail-card .lt-card-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.lt-order-detail-card .lt-card-header h3 svg {
    color: #667eea;
}

.lt-order-detail-card .lt-card-body {
    padding: 16px;
}

/* 订单商品列表 */
.lt-order-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lt-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.lt-order-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.lt-item-image {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.lt-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lt-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.lt-item-details {
    flex: 1;
    min-width: 0;
}

.lt-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0 0 2px;
    line-height: 1.3;
}

.lt-item-name a {
    color: inherit;
    text-decoration: none;
}

.lt-item-name a:hover {
    color: #667eea;
}

.lt-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
}

.lt-meta-attr {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 3px;
}

.lt-item-qty {
    font-size: 12px;
    color: #667eea;
}

.lt-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
}

/* 金额汇总 */
.lt-order-totals-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.lt-order-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 240px;
    margin-left: auto;
}

.lt-order-totals .lt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 24px;
}

.lt-order-totals .lt-total-label {
    color: #64748b;
}

.lt-order-totals .lt-total-value {
    font-weight: 500;
    color: #334155;
}

.lt-total-row.lt-discount .lt-total-value {
    color: #059669;
}

.lt-total-row.lt-grand-total {
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid #e2e8f0;
}

.lt-total-row.lt-grand-total .lt-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.lt-total-row.lt-grand-total .lt-total-value {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
}

/* 地址网格 */
.lt-address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lt-address-block h4 {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lt-address-block .lt-address-content {
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    color: #334155;
}

.lt-address-block .lt-address-contact {
    font-size: 13px;
    color: #64748b;
    margin: 6px 0 0;
}

/* 订单操作按钮 */
.lt-order-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.lt-order-note {
    flex: 1;
    padding: 10px 14px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
}

/* 响应式 */
@media (max-width: 768px) {
    .lt-order-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lt-order-detail-meta {
        flex-direction: column;
        gap: 6px;
    }
    
    .lt-address-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .lt-order-item {
        flex-wrap: wrap;
    }
    
    .lt-item-price {
        width: 100%;
        text-align: right;
        margin-top: 6px;
    }
    
    .lt-order-totals {
        max-width: none;
    }
    
    .lt-order-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
