/* Outlook 邮件管理器 — 参考小苹果风格 */ /* ============================================================================ 登录遮罩 ============================================================================ */ .login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); z-index: 999999; display: flex; align-items: center; justify-content: center; } .login-overlay.hidden { display: none; } .login-card { text-align: center; padding: 3rem 2.5rem; background: white; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); border: 1px solid rgba(0, 0, 0, 0.04); width: 360px; max-width: 90vw; animation: fadeInUp 0.4s ease; } .login-icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.08)); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #667eea; } .login-title { font-size: 22px; font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0 0 4px; } .login-subtitle { font-size: 13px; color: #94a3b8; margin: 0 0 1.5rem; } .login-input-wrap { position: relative; margin-bottom: 1.2rem; } .login-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 15px; } .login-input-wrap input { width: 100%; padding: 12px 14px 12px 42px; border: 2px solid #e5e7eb; border-radius: 10px; font-size: 14px; outline: none; transition: all 0.3s ease; color: #334155; } .login-input-wrap input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .login-btn { width: 100%; height: 44px; font-size: 15px; border-radius: 10px; } .login-error { color: #f5576c; font-size: 13px; font-weight: 600; margin: 0.8rem 0 0; min-height: 20px; } /* ============================================================================ 基础重置 ============================================================================ */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #fefefe; min-height: 100vh; line-height: 1.6; color: #1e293b; overflow-x: hidden; } .view-container { min-height: 100vh; } /* ============================================================================ 顶部导航栏 — 白色毛玻璃 ============================================================================ */ .navbar { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06); } .navbar-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; } /* Logo */ .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; } .logo-icon { width: 36px; height: 36px; background: linear-gradient(145deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.06)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #7c8cf5; font-size: 16px; border: 1px solid rgba(102, 126, 234, 0.08); transition: all 0.3s ease; } .logo:hover .logo-icon { background: linear-gradient(145deg, rgba(102, 126, 234, 0.14), rgba(118, 75, 162, 0.10)); transform: translateY(-1px) scale(1.03); box-shadow: 0 4px 14px rgba(102, 126, 234, 0.12); } .logo-text { font-size: 18px; font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* 导航操作区 */ .nav-actions { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; } /* 搜索框 */ .search-box { position: relative; width: 240px; flex-shrink: 0; } .search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 13px; } .search-box input { width: 100%; padding: 8px 12px 8px 34px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 13px; background: rgba(255, 255, 255, 0.8); color: #1f2937; outline: none; transition: all 0.3s ease; height: 38px; } /* 筛选下拉 */ .filter-select { height: 38px; padding: 0 12px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 13px; font-weight: 600; color: #475569; background: rgba(255, 255, 255, 0.8); outline: none; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; } .filter-select:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .search-box input::placeholder { color: #9ca3af; } .search-box input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); background: white; } /* ============================================================================ 按钮系统 — 紫色主题 ============================================================================ */ .btn { padding: 8px 16px; border: none; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; height: 38px; white-space: nowrap; position: relative; overflow: hidden; } .btn i { font-size: 14px; } .btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s ease, height 0.4s ease; } .btn:active::before { width: 200px; height: 200px; } .btn-primary { background: rgba(102, 126, 234, 0.10); color: #667eea; border: 1px solid rgba(102, 126, 234, 0.08); } .btn-primary:hover { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: 0 5px 14px rgba(102, 126, 234, 0.35); } .btn-cancel { background: rgba(100, 116, 139, 0.08); color: #64748b; border: 1px solid rgba(100, 116, 139, 0.12); } .btn-cancel:hover { background: #f1f5f9; color: #475569; transform: translateY(-1px); } .btn-icon { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(100, 116, 139, 0.06); color: #64748b; border: 1px solid rgba(100, 116, 139, 0.08); cursor: pointer; transition: all 0.3s ease; text-decoration: none; font-size: 16px; } .btn-icon:hover { background: rgba(102, 126, 234, 0.1); color: #667eea; border-color: rgba(102, 126, 234, 0.15); transform: translateY(-1px); } /* ============================================================================ 主内容区 ============================================================================ */ .main-container { max-width: 1400px; margin: 0 auto; padding: 2rem; } /* ============================================================================ 表格容器 — 毛玻璃卡片 ============================================================================ */ .table-container { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; } .table-header { padding: 1.25rem 1.75rem 1rem; background: rgba(255, 255, 255, 0.3); border-bottom: 1px solid rgba(0, 0, 0, 0.04); } .table-title { font-size: 16px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 8px; margin: 0; } .table-title i { font-size: 16px; color: #667eea; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: rgba(102, 126, 234, 0.08); border-radius: 8px; } .table-scroll { overflow-x: auto; } /* ============================================================================ 数据表格 ============================================================================ */ .data-table { width: 100%; border-collapse: collapse; table-layout: fixed; } .data-table th, .data-table td { padding: 0.85rem 1.2rem; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, 0.05); font-size: 13px; } .data-table th { background: rgba(248, 250, 252, 0.85); color: #475569; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; position: sticky; top: 0; z-index: 5; } .data-table tbody tr { transition: background 0.15s ease; } .data-table tbody tr:hover { background: rgba(102, 126, 234, 0.035); } /* 列宽 */ .col-num { width: 50px; text-align: center; color: #64748b; font-weight: 600; } .data-table th:nth-child(2) { width: 16%; min-width: 160px; } /* 邮箱 */ .data-table th:nth-child(3) { width: 6%; min-width: 70px; } /* 密码 */ .data-table th:nth-child(4) { width: 55px; } /* 凭证 */ .data-table th:nth-child(5) { width: 65px; } /* 支付状态 */ .data-table th:nth-child(6) { width: 65px; } /* 退款状态 */ .data-table th:nth-child(7) { width: 85px; } /* 支付时间 */ .data-table th:nth-child(8) { width: 85px; } /* 退款时间 */ .data-table th:nth-child(9) { width: 85px; } /* 封号时间 */ .data-table th:nth-child(10) { width: 85px; } /* 到账时间 */ .data-table th:nth-child(11) { width: 120px; } /* 备注/卡号 */ .data-table th:nth-child(12) { width: 150px; } /* 代理 */ .data-table th:nth-child(13) { width: 220px; } /* 操作 */ /* 单元格内容 */ .value-container { display: flex; align-items: center; gap: 6px; min-width: 0; } .value-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; flex: 1; min-width: 0; } .value-secret { color: #94a3b8; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; font-size: 12px; } /* 复制按钮 */ .copy-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: none; background: transparent; color: #94a3b8; cursor: pointer; border-radius: 6px; font-size: 12px; transition: all 0.2s ease; flex-shrink: 0; padding: 0; } .copy-icon-btn:hover { background: rgba(102, 126, 234, 0.1); color: #667eea; transform: scale(1.1); } /* 操作按钮 */ .actions { display: flex; gap: 6px; flex-wrap: nowrap; } .actions button { padding: 5px 10px; border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; } .actions button.view { background: rgba(102, 126, 234, 0.1); color: #667eea; border: 1px solid rgba(102, 126, 234, 0.08); } .actions button.view:hover { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-color: transparent; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25); } .actions button.delete { background: rgba(245, 87, 108, 0.08); color: #f5576c; border: 1px solid rgba(245, 87, 108, 0.08); } .actions button.delete:hover { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; border-color: transparent; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(245, 87, 108, 0.25); } /* 空数据状态 */ .no-data { text-align: center; padding: 4rem 2rem; color: #9ca3af; font-size: 15px; font-weight: 500; } .no-data i { font-size: 56px; color: #e5e7eb; margin-bottom: 1rem; display: block; opacity: 0.7; } /* 表格加载状态 */ .table-loading { text-align: center; padding: 3rem 2rem; color: #667eea; font-size: 14px; font-weight: 500; } .table-loading .spinner-border { color: #667eea; margin-right: 8px; } /* ============================================================================ 分页控件 ============================================================================ */ .pagination-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 15px; padding: 15px 20px; background: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(0, 0, 0, 0.04); } .pagination-info { font-size: 13px; color: #64748b; font-weight: 500; display: flex; align-items: center; gap: 8px; white-space: nowrap; } .pagination-info .divider { color: #cbd5e1; } .pagination-controls { display: flex; align-items: center; gap: 4px; } .pagination-btn { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid rgba(226, 232, 240, 0.8); background: white; color: #64748b; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: center; outline: none; } .pagination-btn:hover:not(:disabled):not(.active) { border-color: #667eea; color: #667eea; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15); } .pagination-btn.active { background: rgba(102, 126, 234, 0.12); color: #667eea; border: 1px solid rgba(102, 126, 234, 0.15); font-weight: 700; } .pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; background: #f8fafc; } /* ============================================================================ 视图2:邮件查看器 — 当前邮箱信息 ============================================================================ */ .current-email-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; justify-content: center; } .current-email-info .info-icon { width: 36px; height: 36px; background: rgba(102, 126, 234, 0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #667eea; font-size: 16px; flex-shrink: 0; } .current-email-info .info-text { min-width: 0; } .current-email-info .info-label { font-size: 11px; color: #94a3b8; font-weight: 500; } .current-email-info .info-value { font-size: 14px; font-weight: 600; color: #334155; display: flex; align-items: center; gap: 8px; } .folder-badge { display: inline-flex; padding: 2px 10px; background: rgba(102, 126, 234, 0.1); color: #667eea; border-radius: 12px; font-size: 12px; font-weight: 600; } /* ============================================================================ 视图2:双栏邮件布局 ============================================================================ */ .email-main { display: flex; height: calc(100vh - 60px); overflow: hidden; } .email-list-panel { width: 360px; min-width: 280px; background: rgba(255, 255, 255, 0.95); border-right: 1px solid rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; } .email-list-header { padding: 14px 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); background: rgba(248, 250, 252, 0.8); font-size: 14px; font-weight: 600; color: #334155; display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .email-refresh-btn { margin-left: auto; width: 30px; height: 30px; font-size: 14px; border: none; flex-shrink: 0; } .email-refresh-btn.spinning i { animation: spin 0.6s linear infinite; } .email-count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; font-size: 11px; font-weight: 700; } .email-list-content { flex: 1; overflow-y: auto; } /* 邮件列表项 */ .mail-item { padding: 14px 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.04); cursor: pointer; border-left: 3px solid transparent; transition: all 0.15s ease; animation: fadeIn 0.2s ease; } .mail-item:hover { background: rgba(102, 126, 234, 0.04); border-left-color: #667eea; } .mail-item.selected { background: rgba(102, 126, 234, 0.08); border-left-color: #667eea; } .mail-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; } .mail-sender { font-weight: 600; color: #334155; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } .mail-time { color: #94a3b8; font-size: 11px; flex-shrink: 0; margin-left: 8px; } .mail-subject { color: #475569; font-size: 13px; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .mail-preview { color: #94a3b8; font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* 右栏:邮件详情 */ .email-detail-panel { flex: 1; background: white; display: flex; flex-direction: column; min-width: 0; } .detail-content { flex: 1; overflow-y: auto; } .email-detail-wrapper { padding: 28px; } .email-detail-header { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); } .email-detail-subject { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 16px; line-height: 1.3; } .email-detail-meta { display: flex; flex-direction: column; gap: 8px; } .meta-row { display: flex; align-items: center; font-size: 13px; } .meta-label { color: #94a3b8; font-weight: 600; min-width: 55px; margin-right: 12px; } .meta-value { color: #475569; } .meta-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; background: rgba(102, 126, 234, 0.08); color: #667eea; border-radius: 12px; font-size: 12px; margin-left: 8px; font-weight: 500; } .email-body-container { margin-top: 20px; } .email-iframe { width: 100%; min-height: 300px; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 8px; background: white; display: block; } .email-body-text { font-size: 14px; line-height: 1.7; color: #334155; white-space: pre-wrap; word-wrap: break-word; padding: 20px; background: rgba(248, 250, 252, 0.6); border-radius: 8px; border: 1px solid rgba(0, 0, 0, 0.06); } /* ============================================================================ 空状态 ============================================================================ */ .empty-state, .empty-detail { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 40px 20px; color: #94a3b8; } .empty-state i, .empty-detail i { font-size: 56px; margin-bottom: 16px; opacity: 0.3; color: #cbd5e1; } .empty-state p { font-size: 14px; margin: 0; } .empty-detail h6 { color: #64748b; margin-bottom: 6px; font-size: 15px; font-weight: 600; } .empty-detail p { font-size: 13px; margin: 0; } .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; gap: 12px; } .loading-state .spinner-border { color: #667eea; } .loading-state p { color: #667eea; font-weight: 500; font-size: 14px; margin: 0; } /* ============================================================================ 导入模态框 — 毛玻璃 ============================================================================ */ .paste-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); justify-content: center; align-items: center; z-index: 9999; } .paste-modal.show { display: flex; } .paste-modal-content { background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(20px); padding: 2rem; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); max-width: 600px; width: 90%; border: 1px solid rgba(255, 255, 255, 0.3); animation: fadeInUp 0.3s ease; } .paste-modal-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1.5rem; } .paste-modal-icon { width: 44px; height: 44px; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.08)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #667eea; font-size: 18px; flex-shrink: 0; } .paste-modal-title { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0; } .paste-modal-subtitle { font-size: 13px; color: #94a3b8; margin: 2px 0 0; } .paste-textarea { width: 100%; min-height: 200px; padding: 14px; border: 2px solid #e5e7eb; border-radius: 10px; font-size: 13px; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; color: #334155; background: rgba(255, 255, 255, 0.8); outline: none; transition: all 0.3s ease; resize: vertical; line-height: 1.6; } .paste-textarea:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); background: white; } .paste-textarea::placeholder { color: #b0b8c4; font-size: 12px; } .paste-modal-hint { display: flex; align-items: center; gap: 8px; margin-top: 0.75rem; color: #94a3b8; font-size: 12px; } .paste-modal-hint code { background: rgba(102, 126, 234, 0.08); color: #667eea; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; } .merge-mode-section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(0, 0, 0, 0.06); } .input-label { font-size: 12px; font-weight: 600; color: #475569; margin-bottom: 6px; display: block; } .merge-options { display: flex; gap: 16px; } .merge-option { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; cursor: pointer; } .merge-option input[type="radio"] { accent-color: #667eea; } .paste-modal-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 1.5rem; } /* ============================================================================ Toast 提示 ============================================================================ */ .toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; flex-direction: column; align-items: center; gap: 8px; } .app-toast { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; color: white; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); transform: translateY(-20px); opacity: 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; } .app-toast.show { transform: translateY(0); opacity: 1; } .app-toast i { font-size: 16px; flex-shrink: 0; } .toast-success { background: linear-gradient(135deg, #10b981 0%, #059669 100%); } .toast-danger { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); } .toast-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); } .toast-info { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } /* ============================================================================ Loading 遮罩 ============================================================================ */ .loading-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); justify-content: center; align-items: center; z-index: 99999; } .loading-overlay.show { display: flex; } .loading-spinner { width: 44px; height: 44px; border: 3px solid rgba(102, 126, 234, 0.2); border-top: 3px solid #667eea; border-radius: 50%; animation: spin 0.8s linear infinite; } /* ============================================================================ 移动端遮罩 ============================================================================ */ .mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s; } .mobile-overlay.show { display: block; opacity: 1; } /* ============================================================================ 滚动条 ============================================================================ */ .email-list-content::-webkit-scrollbar, .detail-content::-webkit-scrollbar, .table-scroll::-webkit-scrollbar { width: 5px; } .email-list-content::-webkit-scrollbar-track, .detail-content::-webkit-scrollbar-track, .table-scroll::-webkit-scrollbar-track { background: transparent; } .email-list-content::-webkit-scrollbar-thumb, .detail-content::-webkit-scrollbar-thumb, .table-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; } .email-list-content::-webkit-scrollbar-thumb:hover, .detail-content::-webkit-scrollbar-thumb:hover, .table-scroll::-webkit-scrollbar-thumb:hover { background: #bbb; } /* ============================================================================ 动画 ============================================================================ */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* ============================================================================ Claude支付状态徽章 ============================================================================ */ .claude-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; cursor: default; white-space: nowrap; } .claude-paid { background: rgba(16, 185, 129, 0.12); color: #059669; } .claude-refunded { background: rgba(245, 87, 108, 0.12); color: #e11d48; } .claude-unknown { background: rgba(148, 163, 184, 0.15); color: #64748b; } .claude-error { background: rgba(245, 158, 11, 0.15); color: #d97706; } .claude-suspended { background: rgba(220, 38, 38, 0.12); color: #dc2626; } .claude-time { font-size: 12px; color: #64748b; white-space: nowrap; } /* 备注/卡号单元格 */ .note-cell-btn { padding: 3px 8px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 11px; color: #94a3b8; background: transparent; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 4px; } .note-cell-btn:hover { border-color: #667eea; color: #667eea; background: rgba(102, 126, 234, 0.05); } .note-cell-display { cursor: pointer; padding: 2px 0; border-radius: 4px; transition: background 0.15s; } .note-cell-display:hover { background: rgba(102, 126, 234, 0.05); } .note-title { font-size: 12px; font-weight: 600; color: #334155; line-height: 1.3; } .note-card { font-size: 11px; color: #94a3b8; display: flex; align-items: center; gap: 3px; margin-top: 1px; } .note-card i { font-size: 10px; } .cred-value-box { padding: 10px 14px; background: rgba(248, 250, 252, 0.8); border: 1px solid #e5e7eb; border-radius: 8px; font-size: 12px; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; color: #334155; word-break: break-all; line-height: 1.5; user-select: all; } .credential-btn { font-size: 11px !important; } .note-fields { display: flex; flex-direction: column; gap: 12px; } .note-field-group { display: flex; flex-direction: column; } .note-field-group .input-label { margin-bottom: 4px; } .proxy-btn { padding: 3px 8px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 11px; color: #64748b; background: transparent; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; } .proxy-btn:hover { border-color: #667eea; color: #667eea; background: rgba(102, 126, 234, 0.05); } .proxy-btn.has-proxy { border-color: rgba(16, 185, 129, 0.3); color: #059669; background: rgba(16, 185, 129, 0.05); } .proxy-btn.has-proxy:hover { background: rgba(16, 185, 129, 0.1); } .proxy-input { width: 100%; padding: 10px 14px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 13px; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; color: #334155; outline: none; transition: all 0.3s ease; } .proxy-input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .proxy-format-section { margin-bottom: 12px; } .proxy-format-options { display: flex; gap: 16px; } .proxy-fields { display: flex; flex-direction: column; gap: 10px; } .proxy-row { display: flex; gap: 10px; } .proxy-field { flex: 1; } .proxy-field-sm { flex: 0 0 100px; } .proxy-field .input-label { margin-bottom: 4px; } .proxy-raw-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.06); } .proxy-raw-section .input-label { margin-bottom: 4px; } .proxy-preview { margin-top: 10px; min-height: 20px; } .proxy-preview-label { font-size: 12px; color: #64748b; font-weight: 600; } .proxy-preview-value { display: inline-block; margin-left: 6px; padding: 2px 8px; background: rgba(102, 126, 234, 0.08); color: #667eea; border-radius: 4px; font-size: 12px; font-weight: 600; word-break: break-all; } .proxy-cell { vertical-align: middle; } .proxy-cell-inner { display: flex; align-items: center; gap: 4px; } .proxy-expire-info { display: flex; align-items: center; gap: 4px; margin-top: 3px; } .proxy-expire-badge { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 8px; } .proxy-expire-ok { background: rgba(16, 185, 129, 0.1); color: #059669; } .proxy-expire-warn { background: rgba(245, 158, 11, 0.12); color: #d97706; } .proxy-expire-dead { background: rgba(220, 38, 38, 0.1); color: #dc2626; } .proxy-share-tag { font-size: 10px; color: #94a3b8; font-weight: 500; } .proxy-extra-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.06); } .proxy-expire-options, .proxy-share-options { display: flex; align-items: center; gap: 12px; } .proxy-input-mini { width: 60px; padding: 4px 8px; font-size: 12px; height: 30px; } /* ============================================================================ 桌面端 ============================================================================ */ @media (min-width: 769px) { .email-list-panel { display: flex !important; } #mobileMailToggle { display: none !important; } } /* ============================================================================ 移动端响应式 ============================================================================ */ @media (max-width: 768px) { .navbar-container { padding: 0 1rem; height: 56px; gap: 8px; } .logo-text { display: none; } .nav-actions { gap: 4px; } .nav-actions .btn span { display: none; } .nav-actions .btn { padding: 8px 10px; min-width: auto; } .search-box { width: 140px; } .search-box input { font-size: 12px; padding-left: 30px; } .main-container { padding: 1rem; } /* 隐藏部分列 */ .col-hide-mobile { display: none; } .data-table th, .data-table td { padding: 0.65rem 0.6rem; font-size: 12px; } .col-num { width: 36px; } .actions button { padding: 4px 8px; font-size: 11px; } /* 邮件列表面板 — 抽屉 */ .email-list-panel { position: fixed; top: 0; left: -320px; width: 320px; height: 100vh; z-index: 1000; transition: left 0.3s ease; box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15); } .email-list-panel.mobile-open { left: 0; } .email-detail-panel { width: 100%; } .email-detail-wrapper { padding: 16px; } .email-detail-subject { font-size: 18px; } .email-main { height: calc(100vh - 56px); } /* 当前邮箱信息 */ .current-email-info .info-label { display: none; } .current-email-info .info-value { font-size: 12px; } .current-email-info .info-icon { width: 30px; height: 30px; font-size: 14px; } /* 分页 */ .pagination-container { flex-direction: column; gap: 10px; padding: 12px; } .pagination-info { width: 100%; justify-content: center; } .pagination-controls { width: 100%; justify-content: center; } } /* ============================================================================ 通知系统 ============================================================================ */ .notification-wrapper { position: relative; } .notification-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: linear-gradient(135deg, #f5576c 0%, #e11d48 100%); color: white; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 2px 6px rgba(245, 87, 108, 0.4); animation: badgePop 0.3s cubic-bezier(0.4, 0, 0.2, 1); } @keyframes badgePop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } } .notification-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 360px; max-height: 420px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04); z-index: 2000; display: flex; flex-direction: column; animation: notifSlideIn 0.2s ease; overflow: hidden; } @keyframes notifSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } } .notif-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font-size: 14px; font-weight: 700; color: #1e293b; } .notif-read-all-btn { border: none; background: rgba(102, 126, 234, 0.1); color: #667eea; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; } .notif-read-all-btn:hover { background: #667eea; color: white; } .notif-list { overflow-y: auto; max-height: 360px; flex: 1; } .notif-list::-webkit-scrollbar { width: 4px; } .notif-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; } .notif-empty { text-align: center; padding: 32px 16px; color: #94a3b8; font-size: 13px; } .notif-empty i { font-size: 32px; display: block; margin-bottom: 8px; opacity: 0.4; } .notif-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.04); border-left: 3px solid transparent; transition: background 0.15s ease; animation: fadeIn 0.2s ease; } .notif-item:hover { background: rgba(0, 0, 0, 0.02); } .notif-item.suspension { border-left-color: #dc2626; } .notif-item.refund { border-left-color: #f59e0b; } .notif-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; margin-top: 2px; } .notif-item.suspension .notif-icon { background: rgba(220, 38, 38, 0.1); color: #dc2626; } .notif-item.refund .notif-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; } .notif-content { flex: 1; min-width: 0; } .notif-message { font-size: 13px; font-weight: 500; color: #334155; line-height: 1.4; word-break: break-all; } .notif-time { font-size: 11px; color: #94a3b8; margin-top: 2px; } .notif-close { width: 24px; height: 24px; border: none; background: transparent; color: #94a3b8; cursor: pointer; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; transition: all 0.2s ease; margin-top: 2px; } .notif-close:hover { background: rgba(245, 87, 108, 0.1); color: #f5576c; } @media (max-width: 480px) { .notification-dropdown { width: 300px; right: -40px; } .email-list-panel { width: 280px; left: -280px; } .search-box { width: 100px; } .actions button { padding: 3px 6px; font-size: 10px; } }