/* ============================================
   地铁跑酷解封系统 - 样式表
   版本: v2026080505
   风格: 参考mafa.ota8a.cn + sr项目风格
   ============================================ */

/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    background: #f0f2f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #1890ff;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #40a9ff;
}

ul, ol {
    list-style: none;
}

/* ========== 颜色变量 ========== */
:root {
    --primary-color: #1890ff;
    --primary-hover: #40a9ff;
    --primary-active: #096dd9;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #ff4d4f;
    --text-primary: rgba(0, 0, 0, 0.85);
    --text-secondary: rgba(0, 0, 0, 0.65);
    --text-tertiary: rgba(0, 0, 0, 0.45);
    --border-color: #d9d9d9;
    --border-color-light: #f0f0f0;
    --bg-color: #f0f2f5;
    --bg-card: #ffffff;
    --bg-hover: #fafafa;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
    --shadow-md: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
}

/* ========== 登录页（全新设计 - 参考mafa.ota8a.cn） ========== */
.login-page {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 背景图 */
.login-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.login-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 144, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* 登录卡片容器 */
.login-card-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 登录卡片 - 毛玻璃效果 */
.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 36px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* 错误提示 */
.login-error {
    background: rgba(255, 77, 79, 0.1);
    border: 1px solid rgba(255, 77, 79, 0.3);
    color: #cf1322;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
}

/* 登录表单 */
.login-form {
    margin-bottom: 24px;
}

.login-form-item {
    position: relative;
    margin-bottom: 20px;
}

.login-form-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8c8c;
    display: flex;
    align-items: center;
    z-index: 1;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    font-size: 15px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.login-input:hover {
    border-color: var(--primary-hover);
    background: rgba(255, 255, 255, 0.95);
}

.login-input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.15);
}

.login-input::placeholder {
    color: #bfbfbf;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    margin-top: 8px;
}

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

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

/* 登录卡片底部 */
.login-card-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.login-card-footer p {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========== 后台布局（参考sr项目风格） ========== */
.layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    flex: 0 0 220px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.sidebar-logo {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.sidebar-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-menu {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 3px solid transparent;
    font-size: 14px;
    margin: 2px 0;
}

.menu-item:hover {
    background: rgba(24, 144, 255, 0.04);
    color: var(--primary-color);
}

.menu-item.active {
    background: rgba(24, 144, 255, 0.08);
    color: var(--primary-color);
    font-weight: 500;
    border-left-color: var(--primary-color);
}

.menu-item-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 主内容区 */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-color);
}

/* 顶部栏 */
.header {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.user-info:hover {
    background: var(--bg-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.user-name {
    font-size: 14px;
    color: var(--text-primary);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    border-color: var(--error-color);
    color: var(--error-color);
}

/* 内容区 */
.content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* 面板切换 */
.panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 卡片 ========== */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    padding: 24px;
}

/* ========== 表单（后台） ========== */
.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.form-col {
    flex: 1;
}

.form-item-full {
    margin-bottom: 24px;
}

.form-item {
    margin-bottom: 24px;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    color: #bfbfbf;
    z-index: 1;
}

.form-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-primary);
    background: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-input:hover {
    border-color: var(--primary-hover);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.form-input::placeholder {
    color: #bfbfbf;
}

.form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
    outline: none;
}

.form-textarea:hover {
    border-color: var(--primary-hover);
}

.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.form-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.form-select:hover {
    border-color: var(--primary-hover);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
    outline: none;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

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

.btn-primary:active {
    background: var(--primary-active);
    border-color: var(--primary-active);
}

.btn-primary:disabled {
    background: #bfbfbf;
    border-color: #bfbfbf;
    cursor: not-allowed;
}

.btn-default {
    background: #fff;
    border-color: var(--border-color);
    color: var(--text-primary);
}

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

.btn-danger {
    background: #fff;
    border-color: var(--error-color);
    color: var(--error-color);
}

.btn-danger:hover {
    background: var(--error-color);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    height: 44px;
    font-size: 16px;
    padding: 0 20px;
}

.btn-sm {
    height: 28px;
    font-size: 13px;
    padding: 0 12px;
}

/* ========== 提示框 ========== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

.alert-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

.alert-warning {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #d48806;
}

.alert-info {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #0050b3;
}

/* ========== 解封操作页面 ========== */
.unblock-form {
    max-width: 500px;
}

.platform-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.platform-option {
    flex: 1;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.platform-option:hover {
    border-color: var(--primary-hover);
}

.platform-option.active {
    border-color: var(--primary-color);
    background: rgba(24, 144, 255, 0.04);
}

.platform-option-icon {
    font-size: 24px;
}

.platform-option-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.platform-option.active .platform-option-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* 类型选择器 */
.type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.type-option {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: #fff;
}

.type-option:hover {
    border-color: var(--primary-hover);
}

.type-option.active {
    border-color: var(--primary-color);
    background: rgba(24, 144, 255, 0.04);
}

.type-option-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.type-option-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.type-option.active .type-option-title {
    color: var(--primary-color);
}

.unblock-type {
    margin-bottom: 24px;
}

.type-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f7ff;
    color: #0050b3;
    border-radius: 12px;
    font-size: 13px;
}

.code-input-group {
    display: flex;
    gap: 12px;
}

.code-input-group .form-input {
    flex: 1;
}

.code-btn {
    flex-shrink: 0;
    width: 120px;
    height: 40px;
    border-radius: var(--radius-lg);
}

.code-btn:disabled {
    background: #f5f5f5;
    border-color: #d9d9d9;
    color: #bfbfbf;
    cursor: not-allowed;
}

.unblock-btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
    border-radius: var(--radius-lg);
}

/* 日志区域 */
.log-panel {
    margin-top: 24px;
}

.log-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.log-panel-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.log-clear-btn {
    font-size: 13px;
    color: var(--text-tertiary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.log-clear-btn:hover {
    background: #f5f5f5;
    color: var(--text-secondary);
}

.log-container {
    background: #1e1e1e;
    border-radius: var(--radius-lg);
    padding: 16px;
    height: 300px;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.log-line {
    margin-bottom: 4px;
    word-break: break-all;
}

.log-info {
    color: #d4d4d4;
}

.log-success {
    color: #4ec9b0;
}

.log-error {
    color: #f48771;
}

.log-warning {
    color: #ce9178;
}

.log-time {
    color: #808080;
    margin-right: 8px;
}

/* 结果展示 */
.result-panel {
    margin-top: 24px;
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: none;
}

.result-panel.success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
}

.result-panel.error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
}

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

.result-panel.success .result-icon {
    background: #52c41a;
}

.result-panel.error .result-icon {
    background: #ff4d4f;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.result-panel.success .result-title {
    color: #389e0d;
}

.result-panel.error .result-title {
    color: #cf1322;
}

.result-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.result-phone {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Consolas', monospace;
}

/* ========== 表格 ========== */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table th {
    background: #fafafa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid #f0f0f0;
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-primary);
}

.table tr:hover td {
    background: #fafafa;
}

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

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--primary-hover);
}

.btn-link.danger {
    color: var(--error-color);
}

.btn-link.danger:hover {
    color: #ff7875;
}

/* ========== 步骤指示器 ========== */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    padding: 16px 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step-item.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-item.completed .step-number {
    background: #52c41a;
    color: white;
}

.step-text {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    transition: all 0.3s;
}

.step-item.active .step-text {
    color: var(--primary-color);
    font-weight: 500;
}

.step-item.completed .step-text {
    color: #52c41a;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #f0f0f0;
    margin: 0 16px;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.step-line.completed {
    background: #52c41a;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 14px;
}

/* ========== 解封链接页面 ========== */
.unlock-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.unlock-container {
    width: 100%;
    max-width: 480px;
}

.unlock-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.unlock-header {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    padding: 32px 24px;
    text-align: center;
    color: white;
}

.unlock-header h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.unlock-header p {
    font-size: 14px;
    opacity: 0.85;
}

.unlock-body {
    padding: 32px 24px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .sidebar {
        flex: 0 0 64px;
    }
    
    .sidebar-logo-text,
    .menu-item span:not(.menu-item-icon),
    .sidebar-footer {
        display: none;
    }
    
    .sidebar-logo {
        justify-content: center;
        padding: 0;
    }
    
    .menu-item {
        justify-content: center;
        padding: 0;
        height: 48px;
    }
    
    .menu-item-icon {
        margin: 0;
        font-size: 20px;
    }
    
    .content {
        padding: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .user-name {
        display: none;
    }
    
    .login-card {
        padding: 32px 24px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    /* 表格响应式：横向滚动 */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }
    
    .table {
        min-width: 600px;
    }
    
    .table th,
    .table td {
        padding: 10px 12px;
        white-space: nowrap;
    }
    
    /* 卡片在移动端的边距调整 */
    .card {
        margin-bottom: 16px;
    }
    
    .card-body {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px 20px;
    }
    
    .login-title {
        font-size: 18px;
    }
    
    .platform-selector {
        flex-direction: column;
    }
    
    .code-input-group {
        flex-direction: column;
    }
    
    .code-btn {
        width: 100%;
    }
    
    /* 小屏幕侧边栏更窄 */
    .sidebar {
        flex: 0 0 56px;
    }
    
    .menu-item {
        height: 44px;
    }
    
    .menu-item-icon {
        font-size: 18px;
    }
    
    /* 内容区padding更小 */
    .content {
        padding: 12px;
    }
    
    .card-body {
        padding: 12px;
    }
    
    /* 按钮更小 */
    .btn {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }
    
    /* 表格更小 */
    .table {
        font-size: 13px;
        min-width: 500px;
    }
    
    .table th,
    .table td {
        padding: 8px 10px;
    }
}

/* ========== 滚动条样式 ========== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
}

/* ========== 工具类 ========== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-8 {
    gap: 8px;
}

.gap-16 {
    gap: 16px;
}


/* ==================== SR 风格解封页面 ==================== */
.unblock-page {
    background: #ffffff;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
}

.unblock-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}

.unblock-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0;
    border-bottom: none;
}

.unblock-card .card-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.unblock-card .tip {
    font-size: 12px;
    color: #1677ff;
    background: #e6f4ff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 步骤指示器 */
.unblock-card .steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.unblock-card .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.unblock-card .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.unblock-card .step.active .step-num {
    background: #1677ff;
    color: #fff;
}

.unblock-card .step-text {
    font-size: 13px;
    color: #999;
}

.unblock-card .step.active .step-text {
    color: #1677ff;
    font-weight: 500;
}

.unblock-card .step-line {
    width: 60px;
    height: 2px;
    background: #f0f0f0;
    margin: 0 12px;
    margin-bottom: 18px;
}

/* 错误提示 */
.unblock-card .error-msg {
    background: #fff2f0;
    color: #ff4d4f;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* 成功提示 */
.unblock-card .success-tip {
    background: #f6ffed;
    color: #52c41a;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

/* 单选按钮组 */
.unblock-card .radio-group {
    display: flex;
    gap: 24px;
}

.unblock-card .radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
}

.unblock-card .radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1677ff;
}

/* 复选框 */
.unblock-card .checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
}

.unblock-card .checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1677ff;
}

/* 按钮 */
.unblock-card .btn-large {
    height: 40px;
    font-size: 16px;
}

.unblock-card .btn-block {
    width: 100%;
}

/* 结果页 */
.unblock-card .result-box {
    text-align: center;
    padding: 30px 0;
}

.unblock-card .result-simple {
    text-align: center;
    padding: 60px 20px;
}

.unblock-card .result-icon {
    margin-bottom: 16px;
}

.unblock-card .result-title {
    font-size: 20px;
    font-weight: 500;
    color: #262626;
    margin: 0;
}

.unblock-card .confirm-btn {
    margin-top: 32px;
    height: 44px;
    border-radius: 8px;
    font-size: 15px;
    background: #1677ff;
    border-color: #1677ff;
}

.unblock-card .confirm-btn:hover {
    background: #4096ff;
    border-color: #4096ff;
}

/* 步骤内容 */
.unblock-card .step-content {
    animation: fadeIn 0.3s ease;
}

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

/* ========== 新链接列表样式 ========== */
.new-links-list {
    max-height: 400px;
    overflow-y: auto;
}

.new-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.new-link-item:hover {
    border-color: #1890ff;
    background: #fafafa;
}

.new-link-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1890ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

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

.new-link-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 4px;
}

.new-link-url {
    font-size: 13px;
    color: #666;
    font-family: 'Consolas', 'Monaco', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 链接URL输入框 ========== */

/* ========== 表格操作按钮 ========== */
.link-url-input {
    flex: 1;
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Consolas', 'Monaco', monospace;
    background: #fafafa;
    color: #666;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: text;
    white-space: nowrap;
    text-align: left;
}

/* 链接容器 */
.link-url-container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: visible;
}
.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.table-actions .btn-link {
    font-size: 13px;
}

.table-actions .btn-link.btn-danger {
    color: #8c8c8c;
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
}

.table-actions .btn-link.btn-danger:hover {
    color: #ff4d4f;
    background: none;
    border: none;
}

/* ========== 徽章样式 ========== */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
    margin-left: 8px;
}

.badge-success {
    background: #f6ffed;
    color: #52c41a;
}

.badge-warning {
    background: #fffbe6;
    color: #faad14;
}

.badge-error {
    background: #fff2f0;
    color: #ff4d4f;
}

/* ========== 标签样式 ========== */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 20px;
}

.tag-success {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.tag-warning {
    background: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}

.tag-default {
    background: #fafafa;
    color: #999;
    border: 1px solid #d9d9d9;
}

/* ========== Toast动画 ========== */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    15% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========== 卡片头部优化 ========== */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header .badge {
    margin-left: 0;
}

/* ========== 复选框样式 ========== */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1890ff;
}

/* ========== 表单操作按钮组 ========== */
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

/* ========== 空状态图标优化 ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ========== 自定义确认弹窗 - 确保绝对居中 ========== */
#confirmModal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#confirmModal .modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    width: 416px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px) !important;
    overflow: auto !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08),
                0 3px 6px -4px rgba(0, 0, 0, 0.12),
                0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
    z-index: 100000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#confirmModal .modal-header {
    padding: 16px 24px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 8px 8px 0 0 !important;
}

#confirmModal .modal-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: rgba(0, 0, 0, 0.85) !important;
    line-height: 1.5 !important;
}

#confirmModal .modal-body {
    padding: 24px !important;
    font-size: 14px !important;
    color: rgba(0, 0, 0, 0.65) !important;
    line-height: 1.5715 !important;
}

#confirmModal .modal-footer {
    padding: 10px 16px !important;
    border-top: 1px solid #f0f0f0 !important;
    border-radius: 0 0 8px 8px !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

/* 手机端弹窗适配 */
@media (max-width: 768px) {
    #confirmModal .modal-content {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin: 0 !important;
    }
    
    #confirmModal .modal-header {
        padding: 14px 16px !important;
    }
    
    #confirmModal .modal-body {
        padding: 20px 16px !important;
    }
    
    #confirmModal .modal-footer {
        padding: 10px 16px !important;
    }
}

/* ========== 删除按钮颜色 - 柔和红色 ========== */
/* 表格里的删除按钮 */
.table-actions .btn-link.btn-danger {
    color: #8c8c8c !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 13px !important;
    transition: color 0.2s !important;
}

.table-actions .btn-link.btn-danger:hover {
    color: #ff4d4f !important;
    background: none !important;
    border: none !important;
}

/* 批量删除按钮 */
.btn-sm.btn-danger,
.btn-danger {
    color: #ff4d4f !important;
    background: #fff !important;
    border-color: #ff4d4f !important;
    transition: all 0.2s !important;
}

.btn-sm.btn-danger:hover,
.btn-danger:hover {
    color: #fff !important;
    background: #ff4d4f !important;
    border-color: #ff4d4f !important;
}


/* ============================================
   最终修复 - 确保覆盖所有其他样式
   ============================================ */

/* 1. 删除按钮颜色 - 直接用元素选择器 + !important */
button.btn-link.btn-danger {
    color: #8c8c8c !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

button.btn-link.btn-danger:hover {
    color: #ff4d4f !important;
    background: none !important;
    border: none !important;
}

/* 批量删除按钮 */
button.btn.btn-danger,
button.btn-sm.btn-danger {
    color: #ff4d4f !important;
    background: #ffffff !important;
    border: 1px solid #ff4d4f !important;
    transition: all 0.2s !important;
}

button.btn.btn-danger:hover,
button.btn-sm.btn-danger:hover {
    color: #ffffff !important;
    background: #ff4d4f !important;
    border: 1px solid #ff4d4f !important;
}

/* 2. 弹窗居中 - 用最简单直接的方式 */
#confirmModal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#confirmModal > .modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    width: 416px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px) !important;
    overflow: auto !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08),
                0 3px 6px -4px rgba(0, 0, 0, 0.12),
                0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
    z-index: 100000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 手机端弹窗 */
@media (max-width: 768px) {
    #confirmModal > .modal-content {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin: 0 !important;
    }
}

/* 3. 链接显示完整 - 给链接输入框足够宽度 */
.link-url-input {
    min-width: 350px !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
}

/* 链接列 */
#linksTable td:nth-child(3) {
    min-width: 400px !important;
}

/* ========== 小白号生成相关样式 ========== */

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #40a9ff);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 账号结果列表 */
.account-result-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}
.account-result-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}
.account-result-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.account-result-item.success {
    border-color: #b7eb8f;
}
.account-result-item.fail {
    border-color: #ffccc7;
}
.account-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
}
.account-result-item.success .account-result-header {
    background: #f6ffed;
    border-bottom-color: #b7eb8f;
}
.account-result-item.fail .account-result-header {
    background: #fff2f0;
    border-bottom-color: #ffccc7;
}
.account-result-index {
    font-size: 13px;
    color: #8c8c8c;
    font-weight: 500;
}
.account-result-content {
    padding: 12px 14px;
}
.account-info-row {
    display: flex;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
}
.account-info-row .label {
    color: #8c8c8c;
    width: 60px;
    flex-shrink: 0;
}
.account-info-row .value {
    flex: 1;
    color: #262626;
    font-family: 'Monaco', 'Menlo', monospace;
    word-break: break-all;
}
.account-info-row .btn-link {
    margin-left: 8px;
    flex-shrink: 0;
}
.fail-msg {
    color: #ff4d4f;
    font-size: 13px;
    padding: 8px 0;
}

/* 标签页 */
.tabs {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 16px;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #595959;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}
.tab:hover {
    color: #1890ff;
}
.tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
    font-weight: 500;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 4px;
    border: 1px solid;
}
.tag-success {
    color: #52c41a;
    background: #f6ffed;
    border-color: #b7eb8f;
}
.tag-error {
    color: #ff4d4f;
    background: #fff2f0;
    border-color: #ffccc7;
}
.tag-blue {
    color: #1890ff;
    background: #e6f7ff;
    border-color: #91d5ff;
}
.tag-cyan {
    color: #13c2c2;
    background: #e6fffb;
    border-color: #87e8de;
}

/* 响应式 */
@media (max-width: 768px) {
    .account-result-list {
        grid-template-columns: 1fr;
    }
}


/* 账号池统计卡片 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #8c8c8c;
}

.stat-success .stat-value {
    color: #52c41a;
}

.stat-warning .stat-value {
    color: #faad14;
}

.stat-info .stat-value {
    color: #1890ff;
}

.font-mono {
    font-family: 'Courier New', monospace;
}

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

.text-muted {
    color: #8c8c8c;
}

.btn-block {
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    padding: 4px 8px;
    color: #8c8c8c;
    cursor: pointer;
    font-size: 13px;
}

.btn-text:hover {
    color: #ff4d4f;
}

.tag-default {
    background: #f0f0f0;
    color: #595959;
}

.tag-purple {
    background: #f9f0ff;
    color: #722ed1;
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== 账号卡密相关 ==================== */

.success-tip {
    padding: 12px 16px;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    color: #52c41a;
    font-size: 14px;
}

.link-list {
    max-height: 300px;
    overflow-y: auto;
    background: #fafafa;
    border-radius: 6px;
    padding: 12px;
}

.link-item {
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 13px;
    font-family: monospace;
    word-break: break-all;
    border: 1px solid #f0f0f0;
}

.link-item:last-child {
    margin-bottom: 0;
}

.tag-purple {
    background: #f9f0ff;
    color: #722ed1;
    border: 1px solid #d3adf7;
}

.tag-cyan {
    background: #e6fffb;
    color: #13c2c2;
    border: 1px solid #87e8de;
}

.tag-success {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.font-mono {
    font-family: monospace;
}

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

.text-muted {
    color: #8c8c8c;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 13px;
    height: auto;
}

.btn-danger {
    color: #ff4d4f;
}

.btn-danger:hover {
    color: #ff7875;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-item {
    flex: 1;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 500px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

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

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #8c8c8c;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #262626;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 账号领取页面样式 */
.redeem-public-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.redeem-box {
    background: white;
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.redeem-header {
    text-align: center;
    margin-bottom: 24px;
}

.redeem-header h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #262626;
}

.redeem-header p {
    margin: 0;
    color: #8c8c8c;
    font-size: 14px;
}

.loading-state, .error-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #1890ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

.error-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff1f0;
    color: #ff4d4f;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f6ffed;
    color: #52c41a;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.info-section {
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.info-row .label {
    color: #8c8c8c;
    font-size: 14px;
}

.info-row .value {
    color: #262626;
    font-size: 14px;
    font-weight: 500;
}

.progress-box {
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #bfbfbf;
    font-size: 13px;
}

.step-item .step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d9d9;
    margin-right: 12px;
}

.step-item.step-active {
    color: #1890ff;
}

.step-item.step-active .step-dot {
    background: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.2);
}

.step-item.step-done {
    color: #52c41a;
}

.step-item.step-done .step-dot {
    background: #52c41a;
}

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

.result-section h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #262626;
}

.result-section p {
    margin: 0 0 24px 0;
    color: #8c8c8c;
    font-size: 14px;
}

.account-detail {
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #8c8c8c;
    font-size: 14px;
}

.detail-row .value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-row .value {
    color: #262626;
    font-size: 14px;
    font-weight: 500;
    font-family: monospace;
}

.status-text {
    color: #52c41a;
}

/* Toast 提示 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2000;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .redeem-box {
        padding: 24px 20px;
    }
    
    .modal-content {
        margin: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
