/* 全局现代化样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
    padding: 20px;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative; /* 🚨 关键：设置相对定位，以便内部的关闭按钮可以绝对定位 */
}
/* --- 退出按钮 (右上角) 样式 --- */
.logout-btn-top-right {
    position: absolute; /* 绝对定位 */
    top: 25px;         /* 距离顶部的距离 */
    right: 25px;       /* 距离右侧的距离 */
    z-index: 1000;     /* 确保它在仪表盘标题之上 */
    
    /* 美化样式 */
    background: linear-gradient(135deg, #ff4e50, #f9d423); /* 漂亮的日落渐变 */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px; /* 椭圆形圆角 */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 78, 80, 0.4); /* 阴影增强立体感 */
    transition: all 0.3s ease;
    display: none; /* 默认隐藏，由 JS 控制显示 */
}

.logout-btn-top-right:hover {
    background: linear-gradient(135deg, #f9d423, #ff4e50);
    transform: translateY(-2px) scale(1.02); /* 悬停时轻微上浮和放大 */
    box-shadow: 0 6px 15px rgba(255, 78, 80, 0.6);
}

.logout-btn-top-right:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 78, 80, 0.3);
}

.logout-btn-top-right i {
    margin-right: 5px; /* 图标与文字间距 */
}

/* --- 补充：充值模态框的基本样式（确保功能可用） --- */
.recharge-content {
    max-width: 400px;
    padding: 30px;
}
.recharge-id {
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
}
#rechargeForm input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.recharge-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
.recharge-submit-btn:hover {
    background-color: #0056b3;
}
.recharge-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
.recharge-message.error {
    background-color: #f8d7da;
    color: #721c24;
}
.recharge-message.success {
    background-color: #d4edda;
    color: #155724;
}
.recharge-message.info {
    background-color: #cce5ff;
    color: #004085;
}

/* 认证区 - 极简 */
.auth-section { padding: 60px 40px; text-align: center; }
.auth-form { display: none; max-width: 400px; margin: 0 auto; }
.auth-form.active { display: block; }
.auth-form h2 { margin-bottom: 25px; color: #333; font-size: 1.8em; }
.auth-form input { 
    width: 100%; padding: 18px; margin: 12px 0; 
    border: 2px solid #ddd; border-radius: 12px; 
    font-size: 16px; transition: border-color 0.3s; 
}
.auth-form input:focus { border-color: #4facfe; outline: none; }
.auth-form button { 
    width: 100%; padding: 18px; 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
    color: white; border: none; border-radius: 12px; 
    font-size: 18px; cursor: pointer; transition: transform 0.3s; 
}
.auth-form button:hover { transform: translateY(-3px); }
.switch { 
    margin-top: 25px; color: #4facfe; 
    cursor: pointer; text-decoration: underline; font-size: 1.1em; 
}
#message { 
    margin: 25px 0; padding: 18px; border-radius: 12px; 
    display: none; font-weight: bold; 
}
.success { background: #d4edda; color: #155724; }
.error { background: #f8d7da; color: #721c24; }
.info { background: #d1ecf1; color: #0c5460; }
#message.show { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* 仪表盘主体 */
.dashboard { display: none; position: relative;}
.dashboard.active { display: block; }
.header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 40px;
    text-align: center;
    /* 【【【新增】】】 (来自 index.html) 确保 header 可以定位内部元素 */
    position: relative; 
}
.header h1 { font-size: 2.8em; margin-bottom: 10px; }
.header p { font-size: 1.3em; opacity: 0.95; }

/* 极简控制面板 */
.controls {
    padding: 25px 40px;
    background: #f8f9fa;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.controls select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}
.controls button {
    padding: 12px 28px;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}
/* 按钮颜色 */
.controls button { background: #28a745; }
.controls button:hover { background: #218838; transform: translateY(-2px); }
.refresh-btn { background: #17a2b8; }
.refresh-btn:hover { background: #138496; }
.logout-btn { background: #dc3545; }
.logout-btn:hover { background: #c82333; }

#accountCount { 
    background: #4facfe; color: white; 
    padding: 12px 20px; border-radius: 25px; 
    font-weight: bold; font-size: 1.1em; 
    cursor: pointer; 
    transition: all 0.3s; 
    display: inline-flex; align-items: center; gap: 5px; 
    user-select: none; 
}

#accountCount:hover { 
    background: #3d8bfe; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}

/* 加载中 spinner 居中 */
#accountCount .spinner {
    margin: 0 5px; 
}
/* 汇总卡片 - 更大更醒目 */
.summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 40px;
}
.summary-card {
    background: linear-gradient(135deg, white 0%, #f8f9ff 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.summary-card:hover { transform: translateY(-8px); }

.summary-value { 
    font-size: 2.5em; /* ⭐️ 原为 3em, 已调小 */
    font-weight: bold; 
    margin-bottom: 10px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    overflow-wrap: break-word; /* ⭐️ 新增：防止极端情况下的溢出 */
}

.total-balance .summary-value { color: #4CAF50; }
.total-increase .summary-value { color: #FF9800; }
.total-today .summary-value { color: #2196F3; }
.auth-rate .summary-value { color: #9C27B0; }
.summary-label { font-size: 1.2em; color: #666; }

/* 视图容器逻辑 - 列表视图 */
#accountsListView { display: none; }
#accountsListView.active-view { display: block; }

/* 账号列表表格 (List View) */
.accounts-list {
    padding: 0 40px 60px;
}
.list-table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;
    margin-top: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.list-table th, .list-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.list-table th {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    font-weight: bold;
    color: #343a40;
    text-transform: uppercase;
    font-size: 0.9em;
}
.list-table tbody tr {
    background: white;
    transition: background-color 0.3s;
    cursor: pointer;
}
.list-table tbody tr:hover {
    background: #f0f8ff;
}
.list-table tbody tr:last-child td {
    border-bottom: none;
}
.list-table .list-balance { font-weight: bold; color: #4CAF50; }
.list-increase-plus { color: #FF9800; }
.list-auth-yes { color: #4CAF50; }
.list-auth-no { color: #f44336; }
.list-detail-btn {
    padding: 8px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}
.list-detail-btn:hover { background: #0056b3; }


/* 模态详情 - 全屏优化 */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}
.modal.active { display: flex; align-items: center; justify-content: center; }
.modal-content {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    background: white;
    border-radius: 25px;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.4s ease;
}
@keyframes modalSlideIn { from { opacity: 0; transform: scale(0.9) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close { 
    position: absolute; top: 25px; right: 35px; 
    font-size: 35px; cursor: pointer; color: #999; 
    transition: color 0.3s; 
}
.modal-close:hover { color: #dc3545; }
.modal-header { text-align: center; margin-bottom: 30px; }
.remarks-modal { 
    background: linear-gradient(135deg, #f8f9fa, #e9ecef); 
    border-radius: 15px; padding: 25px; 
    max-height: 220px; overflow-y: auto; margin: 25px 0; 
}
.remark-item { 
    padding: 12px 0; border-bottom: 1px solid #dee2e6; 
    font-size: 1em; 
}
.remark-item:last-child { border-bottom: none; }

/* 表格优化 (模态框内) */
.modal-content table { width: 100%; border-collapse: collapse; margin-top: 25px; }
.modal-content th, .modal-content td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.modal-content th { background: linear-gradient(135deg, #f8f9fa, #e9ecef); font-weight: bold; color: #333; }
.modal-content tr:hover { background: #f0f8ff; }
.status-yes { color: #4CAF50; font-weight: bold; }
.status-no { color: #f44336; font-weight: bold; }
/* 认证徽章保留给模态框使用 */
.auth-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.auth-yes { background: linear-gradient(135deg, #d4edda, #c3e6cb); color: #155724; }
.auth-no { background: linear-gradient(135deg, #f8d7da, #f5c6cb); color: #721c24; }

/* 加载动画 */
.loading { opacity: 0.7; pointer-events: none; }
.spinner { 
    border: 4px solid #f3f3f3; border-top: 4px solid #4facfe; 
    border-radius: 50%; width: 40px; height: 40px; 
    animation: spin 1s linear infinite; margin: 20px auto; 
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* 响应式 */
@media (max-width: 768px) {
    .controls { flex-direction: column; text-align: center; }
    .summary { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 15px; }
    .modal-content { width: 98%; padding: 25px 20px; margin: 10px; }
    
    /* 列表视图在小屏幕上隐藏部分列 */
    .list-table th:nth-child(3), .list-table td:nth-child(3), /* 总增长 */
    .list-table th:nth-child(4), .list-table td:nth-child(4) /* 今日增长 */
    { display: none; }
}
/* 引导按钮风格优化 */
.guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;  /* 按钮间距，增强简洁感 */
    align-items: center;
    justify-content: center;
    flex: 1;  /* 占用剩余空间 */
}

.guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;  /* 图标与文字间距 */
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 25px;  /* 圆润形状，易触控 */
    font-weight: bold;
    font-size: 0.95em;
    color: white;
    transition: all 0.3s ease;  /* 平滑动画 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* 轻微阴影，立体感 */
    min-width: 140px;
    justify-content: center;
}

.guide-btn:hover {
    transform: translateY(-2px);  /* 悬停上浮，易操作反馈 */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 步骤渐变色（蓝-绿-橙，暗示流程） */
.step1 { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
}
.step1:hover { 
    background: linear-gradient(135deg, #3d8bfe 0%, #00d4d4 100%); 
}

.step2 { 
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%); 
}
.step2:hover { 
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%); 
}

.step3 { 
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%); 
}
.step3:hover { 
    background: linear-gradient(135deg, #e86a0b 0%, #e0a800 100%); 
}

.guide-btn i { 
    font-size: 1.1em;  /* 图标稍大，视觉焦点 */
}

/* 响应式：小屏垂直布局，更易操作 */
@media (max-width: 768px) {
    .guide-steps { 
        flex-direction: column; 
        width: 100%; 
    }
    .guide-btn { 
        width: 100%; 
        max-width: 250px; 
        margin: 0 auto; 
    }
}


/* =====================================================
=== 
===   【【【新增】】】 
===   从 HTML 内联 <style> 标签合并而来的样式
=== 
=====================================================
*/

/* --- 通用页面布局 (来自 export-guide / about / features...) --- 
*/

.config-container {
    display: block; /* 垂直堆叠 */
    padding: 40px; 
    background: #fff;
}
.upload-container {
    display: flex; flex-wrap: wrap; gap: 40px; padding: 40px; background: #fff;
}

.config-form-box {
    flex: 1; min-width: 350px; background: #f8f9fa;
    padding: 40px; border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 20px;
    margin-bottom: 40px;
}
.upload-form-box {
    flex: 1; min-width: 350px; background: #f8f9fa;
    padding: 40px; border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 20px;
}

.task-tips-box {
    flex: 1.2; min-width: 350px;
}
.security-features-box {
    flex: 1.2; min-width: 350px;
}

.config-form-box h2, .task-tips-box h2 {
    margin-bottom: 20px; text-align: left; color: #333;
}
.upload-form-box h2, .security-features-box h2 {
    margin-bottom: 10px; text-align: center; color: #333;
}
.security-features-box h2 { 
    text-align: left; margin-bottom: 25px; 
}


/* --- 通用卡片样式 (来自 export-guide / about / features...) --- */
.feature-card {
    display: flex; align-items: flex-start; gap: 25px; padding: 20px;
    background: linear-gradient(135deg, white 0%, #f8f9ff 100%);
    border-radius: 15px; margin-bottom: 20px;
    border: 1px solid #eee; box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    flex: 1;
}
.feature-icon { font-size: 2.5em; color: #4facfe; margin-top: 5px; }
.feature-text h3 { font-size: 1.25em; color: #333; margin-bottom: 8px; }
.feature-text p { font-size: 1.0em; color: #555; line-height: 1.7; }


/* --- 通用页脚 (来自 index.html) --- */
.global-footer {
    width: 100%; padding: 30px 20px; 
    text-align: center; max-width: 1400px;
    margin: 0 auto; 
    color: rgba(255, 255, 255, 0.7); 
}
.global-footer ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; 
    justify-content: center; gap: 30px; 
}
.global-footer li {
    display: inline;
}
.global-footer a {
    color: rgba(255, 255, 255, 0.9); 
    text-decoration: none; font-size: 0.95em;
    transition: color 0.3s, text-decoration 0.3s;
}
.global-footer a:hover {
    color: #ffffff; text-decoration: underline; 
}


/* --- 通用顶部角落按钮 (来自 index/export-guide...) --- */
.home-btn-top-left,
.next-btn-top-right,
.wizard-btn-top-left {
    position: absolute; 
    top: 25px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px; 
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9em;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.home-btn-top-left:hover,
.next-btn-top-right:hover,
.wizard-btn-top-left:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.home-btn-top-left,
.wizard-btn-top-left {
    left: 25px;
}
.next-btn-top-right {
    right: 25px;
}

/* --- index.html 特定样式 --- 
*/

/* 欢迎语 (左下角) */
.user-profile-header {
    position: absolute; 
    bottom: 25px;       
    left: 40px;         
    display: flex;
    align-items: center;
    gap: 15px;
}
#userAvatar {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1); 
    border-radius: 8px;
    transition: transform 0.3s ease;
}
#userAvatar:hover {
    transform: scale(1.1);
}
#welcomeMessage {
    color: #eee; 
    font-weight: 400; 
    margin: 0;
    font-size: 1.2em; 
}

/* 汇总卡片 (空状态) */
.empty-state-welcome {
    text-align: center; padding: 60px 40px;
    background: #f8f9fa; border-radius: 20px; 
    grid-column: 1 / -1; 
}
.empty-state-welcome h3 {
    font-size: 2em; color: #333; margin-bottom: 15px;
}
.empty-state-welcome p {
    font-size: 1.2em; color: #555; line-height: 1.7;
}
.empty-state-welcome p i {
    color: #4facfe; 
}

/* 汇总卡片 (节省时间) */
.time-saved .summary-value {
    color: #9C27B0; /* 复用原 .auth-rate 颜色 */
}


/* --- export-guide1.html 特定样式 --- 
*/
.guide-section {
    margin-bottom: 20px;
}
.guide-section h4 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}
.guide-section p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.install-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px; 
}
.install-buttons .guide-btn {
    font-size: 0.9em;
    padding: 10px 18px;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}


/* --- export-guide2.html 特定样式 --- 
*/
.consent-box {
    text-align: left; padding: 10px; background: rgba(255,255,255,0.5); border-radius: 8px;
}
.consent-box input[type="checkbox"] { width: auto; margin-right: 10px; vertical-align: middle; }
.consent-box label { font-size: 0.95em; color: #333; vertical-align: middle; }
.consent-box label a { color: #0056b3; text-decoration: underline; }

#messageBox { width: 100%; text-align: center; display: none; }
#fileName.error-file { color: #721c24; font-weight: bold; }
#fileName.success-file { color: #155724; font-weight: bold; }

#scanReport {
    display: none; text-align: left; padding: 15px 20px;
    border-radius: 10px; margin-top: 15px;
}
#scanReport h4 {
    margin: 0 0 12px 0; font-weight: bold; font-size: 1.1em;
    display: flex; align-items: center;
}
#scanReport h4 i { margin-right: 10px; font-size: 1.2em; }
#scanReportList {
    list-style-type: none; padding: 0; margin: 0;
    max-height: 140px; overflow-y: auto;
    background: rgba(0,0,0,0.04); border-radius: 5px; padding: 10px;
}
#scanReportList li {
    font-family: Consolas, 'Courier New', monospace; font-size: 0.9em;
    padding: 4px 8px; border-bottom: 1px solid rgba(0,0,0,0.05);
    word-break: break-all;
}
#scanReport.success { background-color: #d4edda; color: #155724; }
#scanReport.error   { background-color: #f8d7da; color: #721c24; }

#dataFlowGuide {
    padding: 15px;
    background: linear-gradient(135deg, white 0%, #f8f9ff 100%);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-top: 20px;
}
#dataFlowGuide h4 {
    text-align: center;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
}
#dataFlowGuide ol {
    list-style-type: none;
    padding-left: 10px;
    margin: 0;
    counter-reset: step-counter; /* 创建步骤计数器 */
}
#dataFlowGuide li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}
#dataFlowGuide li:last-child {
    margin-bottom: 0;
}
#dataFlowGuide li::before {
    counter-increment: step-counter; /* 计数器+1 */
    content: counter(step-counter); /* 显示计数器数字 */
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #4facfe; /* 复用主题蓝 */
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
#dataFlowGuide li:last-child::before {
    background-color: #28a745; /* 复用绿色 */
}

#passwordModal .modal-content { max-width: 450px; }

#randomCodeDisplay {
    font-size: 3.5em;
    font-weight: bold;
    color: #333;
    text-align: center;
    letter-spacing: 8px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 10px;
    border: 2px dashed #ccc;
    margin-bottom: 25px;
    user-select: none; /* 防止用户复制 */
}

#verificationForm {
    display: flex; flex-direction: column; gap: 15px; margin-top: 20px;
}
#verificationForm input[type="text"] {
    width: 100%; padding: 18px; margin: 0; border: 2px solid #ddd;
    border-radius: 12px; font-size: 1.2em; text-align: center; letter-spacing: 4px;
}
#verificationForm button {
    width: 100%; padding: 18px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white; border: none; border-radius: 12px;
    font-size: 18px; cursor: pointer;
}
#codeMessage {
    text-align: center; color: #721c24; font-weight: bold; display: none;
}


/* --- export-guide3.html 特定样式 --- 
*/
.config-form-box h3 {
    margin-top: 15px; margin-bottom: 10px; color: #555;
    border-bottom: 1px solid #eee; padding-bottom: 8px; font-size: 1.2em;
}

.account-grid-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; margin-top: 20px; max-height: 350px; overflow-y: auto;
    padding: 10px; background: rgba(0,0,0,0.03); border-radius: 10px;
}
.account-card {
    background: linear-gradient(135deg, white 0%, #f9faff 100%);
    border-radius: 12px; padding: 20px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.03);
    border: 1px solid #e9ecef;
    display: flex; flex-direction: column; gap: 12px;
}
.account-card h4 {
    font-size: 1.2em; color: #333; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.account-card p {
    font-size: 0.95em; color: #555; margin: 0;
    display: flex; align-items: center; gap: 10px; word-break: break-all;
}
.account-card p i { color: #888; font-size: 1.1em; width: 15px; }
.account-card .card-email {
    font-family: Consolas, 'Courier New', monospace;
    font-weight: bold; color: #0056b3;
}

.activation-code-group {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    align-items: center;
}
.activation-code-group input[type="text"] {
    flex: 1; min-width: 200px;
    padding: 16px; margin: 0; border: 2px solid #ddd;
    border-radius: 12px; font-size: 1.1em;
    transition: border-color 0.3s;
}
.activation-code-group input[type="text"]:focus {
    border-color: #4facfe; outline: none;
}
.activation-code-group .guide-btn {
    padding-left: 20px; padding-right: 20px;
    margin-top: 0; flex-shrink: 0; font-size: 0.95em;
}

.status-log-box {
    background: #fff; 
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 15px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
#statusLogList {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 180px; 
    overflow-y: auto;
    font-size: 0.95em;
}
#statusLogList li {
    padding: 10px 5px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}
#statusLogList li:last-child {
    border-bottom: none;
}
#statusLogList li.log-info { color: #0056b3; }
#statusLogList li.log-success { color: #155724; }
#statusLogList li.log-error { color: #721c24; }

#statusLogList li i {
    font-size: 1.1em;
    width: 20px; 
    text-align: center;
}


/* --- about.html 特定样式 --- 
*/
.about-content {
    font-size: 1.05em;
    color: #333;
    line-height: 1.8;
}
.about-content h3 {
    font-size: 1.5em;
    color: #4facfe; 
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}
.about-content p {
    margin-bottom: 20px;
    color: #555;
}
.about-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.about-content li {
    position: relative;
    padding-left: 30px; 
    margin-bottom: 15px;
    font-weight: 500;
}
.about-content li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #28a745; 
    font-size: 1.1em;
}


/* --- features.html 特定样式 --- 
*/
.commander-oath-card {
    background: linear-gradient(135deg, #1d2b4e 0%, #111827 100%);
    color: #e5e7eb;
    padding: 25px 30px;
    border-radius: 15px;
    margin-top: 0px; 
    border: 1px solid #374151;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.commander-oath-card h3 {
    color: #00f2fe; 
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #374151;
    font-size: 1.25em; 
}
.commander-oath-card p {
    color: #d1d5db; 
    margin-bottom: 15px;
    font-size: 1.0em;
    line-height: 1.7;
}
.commander-oath-card p:last-child {
     margin-bottom: 0;
}
.commander-oath-card strong {
    color: #34d399; 
    font-weight: bold;
}

/* --- join-us.html 特定样式 --- 
*/
.join-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.join-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.join-section h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}
.join-section p {
    font-size: 1.05em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.join-cta-button {
    display: inline-flex; align-items: center; gap: 10px;  
    padding: 14px 25px; text-decoration: none;
    border-radius: 25px; font-weight: bold;
    font-size: 1.1em; color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%; max-width: 350px;
    justify-content: center;
}
.join-cta-button i { font-size: 1.2em; }
/* (这是您上一版本已有的样式 [previous turn]) */
/* --- export-guide2.html (内联反馈框样式) --- */
/* 1. 基础框体 */
.feedback-box {
    /* ⭐️ 修改：现在默认显示 (不再是 display: none) */
    display: block; 
    margin-top: 20px;
    padding: 25px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-align: left;
    line-height: 1.7;
    animation: fadeIn 0.3s; 
}

/* 2. ⭐️ 新增：默认/信息状态 (蓝色) */
.feedback-box.feedback-info {
    background: #f0f8ff; /* 浅蓝色背景 (来自 export-guide3 [previous turn]) */
    border-color: #4facfe; /* 蓝色边框 */
    color: #0056b3; /* 深蓝色文本 [previous turn] */
}
.feedback-box.feedback-info .feedback-title {
    color: #0056b3;
}
/* ⭐️ 默认流程列表的样式 */
.feedback-box ol {
    list-style-type: none;
    padding-left: 10px;
    margin: 0;
    counter-reset: step-counter; 
}
.feedback-box li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}
.feedback-box li:last-child {
    margin-bottom: 0;
}
.feedback-box li::before {
    counter-increment: step-counter; 
    content: counter(step-counter); 
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #4facfe; /* 蓝色 */
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 3. 错误状态 (红色) */
.feedback-box.feedback-error {
    background: #f8d7da; 
    border-color: #f5c6cb;
    color: #721c24; 
}
.feedback-box.feedback-error a {
    color: #721c24;
    font-weight: bold;
    text-decoration: underline;
}
.feedback-box.feedback-error .feedback-title {
    color: #721c24;
}

/* 4. 成功状态 (绿色) */
.feedback-box.feedback-success {
    background: #d4edda; 
    border-color: #c3e6cb;
    color: #155724; 
}
.feedback-box.feedback-success .feedback-title {
    color: #155724;
}

/* 5. 标题 */
.feedback-title {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feedback-box p {
    margin: 0;
    font-size: 1em;
}

/* 6. 错误元数据 (徽章) */
.inline-error-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.error-badge {
    padding: 5px 12px;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 20px;
    color: #fff;
    white-space: nowrap;
}

/* (元数据徽章颜色 [previous turn] 保持不变) */
.severity-critical { background-color: #dc3545; } 
.severity-warning  { background-color: #ffc107; } 
.severity-info     { background-color: #17a2b8; } 
.severity-system   { background-color: #343a40; } 
.responsibility-user    { background-color: #5a6268; } 
.responsibility-system  { background-color: #5a6268; } 
.difficulty-easy   { background-color: #28a745; } 
.difficulty-medium { background-color: #fd7e14; } 
.difficulty-hard   { background-color: #721c24; }
/* 自定义激活码弹窗样式 START */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 确保在最顶层 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}

.modal-title {
    color: #333;
    font-size: 1.6em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-content .input-group {
    margin-bottom: 20px;
}

.modal-content .input-group input[type="text"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-content .input-group input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.modal-action-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.1s;
}

.modal-action-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

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

.modal-action-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 弹窗内的日志样式 */
.modal-status-log {
    margin-top: 20px;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
}

.modal-status-log ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-status-log ul li {
    padding: 5px 0;
    font-size: 0.9em;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-status-log ul li.log-info { color: #007bff; }
.modal-status-log ul li.log-success { color: #28a745; }
.modal-status-log ul li.log-error { color: #dc3545; }

.modal-status-log ul li i {
    font-size: 0.8em;
    width: 15px; /* 确保图标对齐 */
    text-align: center;
}
/* 自定义激活码弹窗样式 END */
/* =========================================
   ⭐️ 1. 美化现有的【激活码输入】弹窗
   ========================================= */

#activationModal .modal-content {
    background: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: left; /* 左对齐更专业 */
}

#activationModal .modal-title {
    color: #333;
    font-weight: 600; /* 标题加粗 */
    justify-content: flex-start; /* 标题左对齐 */
}

#activationModal .modal-description {
    text-align: left; /* 描述左对齐 */
    font-size: 1em; /* 字体稍大 */
    color: #555;
}

#activationModal .input-group input[type="text"] {
    padding: 14px; /* 增加内边距 */
    font-size: 1.1em; /* 增大字体 */
    width: 100%; /* 确保占满宽度 */
    box-sizing: border-box; /* 修复宽度计算 */
}

/* 按钮使用主题渐变色 */
#activationModal .modal-action-btn {
    width: 100%; /* 按钮占满宽度 */
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    padding: 14px 25px; /* 增大按钮 */
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 172, 238, 0.4);
}

#activationModal .modal-action-btn:hover {
    background: linear-gradient(135deg, #3d8bfe 0%, #00d4d4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 172, 238, 0.6);
}

#activationModal .modal-action-btn:disabled {
    background: #ccc;
    box-shadow: none;
    transform: none;
}



/* =========================================
   ⭐️ 2. 升级：【通用 Alert/Confirm】弹窗样式 (V2)
   ========================================= */

.universal-modal-content {
    background: #fff;
    padding: 20px 24px 24px 24px; /* 调整内边距 */
    border-radius: 16px; /* 更圆润的圆角 */
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 400px; /* 保持一个优雅的宽度 */
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    text-align: center; /* 内部所有元素居中 */
    overflow: hidden; /* 配合动画 */
}

.modal-overlay.active .universal-modal-content {
    transform: translateY(0);
}

/* 1. 顶部大图标 */
.modal-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8); /* 配合动画 */
    animation: modalIconPopIn 0.4s 0.1s ease-out forwards;
}
.modal-icon-wrapper i {
    color: #fff;
    font-size: 32px;
}

/* 图标背景色 */
.modal-icon-wrapper.icon-danger { background-color: #dc3545; }
.modal-icon-wrapper.icon-success { background-color: #28a745; }
.modal-icon-wrapper.icon-info { background-color: #007bff; }

/* 图标入场动画 */
@keyframes modalIconPopIn {
    0% { transform: scale(0.8); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1.0); opacity: 1; }
}


/* 2. 内容 */
.modal-text-content {
    margin-bottom: 30px;
}

.universal-modal-content .modal-title {
    font-size: 1.75em; /* 更大的标题 */
    font-weight: 700;  /* 更粗的标题 */
    color: #1a1a1a;
    margin: 0;
    margin-bottom: 10px;
}

.universal-modal-content .modal-description {
    color: #555; /* 柔和的正文颜色 */
    font-size: 1.05em;
    line-height: 1.6;
    margin: 0;
}

/* 关键信息高亮 (用于 email) */
.universal-modal-content .modal-description strong {
    color: #000;
    font-weight: 600;
    background-color: #f0f0f0; /* 浅灰色背景 */
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, 'Courier New', monospace; /* 等宽字体 */
}

/* 3. 按钮容器 */
.modal-button-container {
    display: grid; /* 使用 Grid 布局 */
    grid-template-columns: 1fr 1fr; /* 50/50 均分 */
    gap: 12px;
    width: 100%;
}

/* 按钮基类 */
.modal-button-container .modal-action-btn {
    padding: 14px 20px; /* 增大按钮 */
    border: none;
    border-radius: 8px; /* 更圆润的按钮 */
    cursor: pointer;
    font-size: 1em;
    font-weight: 600; /* 按钮文字加粗 */
    transition: all 0.2s ease;
}

/* 确认按钮 (主按钮) */
.modal-button-container .btn-primary {
    color: white;
    background: #007bff;
}
.modal-button-container .btn-primary:hover { background: #0056b3; transform: translateY(-2px); }

/* 危险 (红色) */
.modal-button-container .btn-primary.btn-danger { background: #dc3545; }
.modal-button-container .btn-primary.btn-danger:hover { background: #c82333; transform: translateY(-2px); }

/* 成功 (绿色) */
.modal-button-container .btn-primary.btn-success { background: #28a745; }
.modal-button-container .btn-primary.btn-success:hover { background: #218838; transform: translateY(-2px); }

/* 取消 (次要按钮) */
.modal-button-container .btn-secondary {
    color: #333;
    background: #f0f0f0; /* 浅灰色 */
}
.modal-button-container .btn-secondary:hover { background: #e0e0e0; }

/* 当只有一个按钮时 (Alert 弹窗) */
.modal-button-container .btn-secondary.hidden {
    display: none;
}
.modal-button-container .btn-primary.full-width {
    grid-column: 1 / -1; /* 占满整行 */
}
/* --- 5. 【【【新增】】】 链接握手动画 --- */
#handshake-animation {
    margin-top: 20px;
    width: 100%;
}

#handshake-progress-bar {
    /* <pre> 标签非常适合 ASCII 艺术
      它保留了空格和换行符
    */
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: left; /* AI 文本在左侧，进度条在下方 */
    
    /* 默认：科技蓝 */
    color: #4facfe; 
    
    white-space: pre-wrap; /* 允许自动换行 */
    opacity: 0;
    animation: fadeIn 0.5s 0.3s forwards; /* 延迟淡入 */
}

/* 成功：终端绿 */
#handshake-progress-bar.progress-success {
    color: #34d399;
}

/* 失败：警报红 */
#handshake-progress-bar.progress-error {
    color: #dc3545;
}
/* =========================================
   ⭐️ 升级: 账号详情 (Dossier) 浮窗 V2
   ========================================= */

/* 1. 让浮窗更宽，以容纳双栏 */
.modal-content.dossier-modal {
    max-width: 1200px; /* 从 1000px 增大 */
    width: 95%;
}

/* 2. 创建双栏网格 */
.modal-grid-container {
    display: grid;
    /* 左栏 (档案) 占 1 份空间
      右栏 (日志) 占 1.8 份空间
    */
    grid-template-columns: 1fr 1.8fr;
    gap: 35px;
    padding-top: 15px; /* 为顶部的关闭按钮留出空间 */
}

/* 3. 左栏 (档案) 样式 */
.modal-dossier .modal-header {
    text-align: left; /* 标题居左，更专业 */
    margin-bottom: 20px;
}
.modal-dossier #modalAccountId {
    font-size: 2.2em; /* ID 更醒目 */
    color: #333;
    word-break: break-all; /* 防止长 ID 溢出 */
}

/* 4. 【【新增】】关键统计数据盒 */
.dossier-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 25px 0;
}
.dossier-stat-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
}
.dossier-stat-item .value {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}
.dossier-stat-item .label {
    font-size: 0.9em;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
}
/* 颜色区分 */
.dossier-stat-item.balance .value { color: #4CAF50; } /* 余额 */
.dossier-stat-item.increase .value { color: #FF9800; } /* 增长 */
/* ... (在 .dossier-stat-item.increase .value { ... } 之后) ... */

/* =========================================
   ⭐️ 5. 【【【新增】】】 档案操作按钮 (替换了 .dossier-stats)
   ========================================= */
.dossier-actions {
    display: grid;
    /* ⭐️ 【【【已修复】】】 1fr; -> 1fr 1fr; (改为两列) */
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.action-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.action-btn i {
    font-size: 1.1em;
}

/* 暂停按钮 (橙色) */
.pause-btn {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}
.pause-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #e86a0b 0%, #e0a800 100%);
}

/* 启动按钮 (绿色) */
.resume-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}
.resume-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

/* 删除按钮 (红色) */
.delete-btn {
    background: linear-gradient(135deg, #dc3545 0%, #ff4e50 100%);
}
.delete-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #c82333 0%, #ff4e50 100%);
}
/* ⭐️ 【【【新增】】】 充值按钮 (蓝色) */
.recharge-btn {
    background: linear-gradient(135deg, #007bff 0%, #4facfe 100%);
}
.recharge-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0056b3 0%, #3d8bfe 100%);
}
/* ⭐️ 【【【新增】】】 邮箱密码按钮 (紫色) */
.email-password-btn {
    background: linear-gradient(135deg, #6f42c1 0%, #9c27b0 100%);
}
.email-password-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a359a 0%, #89229b 100%);
}

/* 5. 右栏 (日志) 样式 */
.modal-log {
    max-height: 75vh; /* 设置最大高度 */
    display: flex;
    flex-direction: column;
}
.modal-log .log-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* 6. 【【新增】】表格滚动条 */
/* 我们让表格在右栏内部滚动，而不是让整个浮窗滚动 */
.table-wrapper {
    flex: 1; /* 占据所有剩余空间 */
    overflow-y: auto; /* 关键：添加滚动条 */
    border: 1px solid #eee;
    border-radius: 12px;
}
.modal-log table {
    margin-top: 0; /* 移除旧的 margin */
    border-radius: 12px;
    overflow: hidden;
}
.modal-log th {
    position: sticky; /* 关键：表头置顶 */
    top: 0;
    z-index: 10;
}


/* ===================================================== */
/* === ⭐️ 从 dashboard.html 内联样式中合并的样式 ⭐️ === */
/* ===================================================== */

.admin-controls {
    display: flex; gap: 15px; padding: 20px 40px; align-items: center;
    background: #f8f9fa; border-bottom: 1px solid #dee2e6;
}
.summary-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; padding: 40px;
}
.summary-card-header {
    display: flex; justify-content: space-between; align-items: center;
    color: #666; font-size: 0.95em; margin-bottom: 10px; font-weight: bold;
}
.summary-card-header .icon { margin-right: 8px; color: #4facfe; }
.summary-card-main {
    font-size: 2.8em; font-weight: bold; color: #333; margin-bottom: 15px;
}
.summary-card-footer { color: #555; font-size: 0.9em; }
.summary-card-footer .increase { color: #34d399; font-weight: bold; }
.action-input-group { display: flex; align-items: center; gap: 8px; }
.action-input-group input {
    width: 70px; padding: 8px 10px; border: 1px solid #ddd;
    border-radius: 6px; font-size: 14px; text-align: center;
}
.action-input-group .guide-btn { padding: 8px 15px; font-size: 0.85em; border-radius: 6px; }
.list-table .guide-btn { padding: 8px 15px; font-size: 0.85em; border-radius: 6px; }
.chart-container { margin-top: 20px; min-height: 100px; }

#pagination-controls-container {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination-btn {
    padding: 10px 16px;
    font-size: 0.9em;
    font-weight: bold;
    border: 1px solid #ddd;
    background: #fff;
    color: #007bff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.pagination-btn:hover { background: #f0f8ff; }
.pagination-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}
.pagination-btn.disabled {
    color: #999;
    background: #f9f9f9;
    cursor: not-allowed;
    border-color: #eee;
}
.pagination-ellipsis {
    padding: 10px 5px;
    color: #999;
    font-weight: bold;
}
/* =========================================
   ⭐️ 3. 【【【新增/修改】】】 管理员进程进度条样式
   ========================================= */

/* 1. 基础容器 (用于表格内，或作为总览) */
.progress-bar-container {
    position: relative;
    width: 100%;
    min-width: 120px; /* 保证最小宽度 */
    height: 28px;
    background-color: #e9ecef; /* 浅灰色背景 */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* 2. 填充条 */
.progress-bar-fill {
    height: 100%;
    /* 复用主题渐变色 */
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 6px;
    /* 动画效果 */
    transition: width 0.4s ease;
}

/* 3. 文本 */
.progress-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000; /* 黑色字体，在亮色背景上更清晰 */
    font-weight: bold;
    font-size: 0.9em;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.7); /* 轻微白色描边 */
    z-index: 10;
    white-space: nowrap; /* 防止文本换行 */
}

/* 4. ⭐️ 【【【新增】】】 总览进度条的放大样式 */
.progress-bar-container.large {
    height: 36px; /* 更高 */
    border-radius: 8px;
}

.progress-bar-fill.large {
    border-radius: 8px;
}

.progress-bar-text.large-text {
    font-size: 1.1em; /* 更大的字体 */
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}
/* =========================================
   ⭐️ 4. 【【【新增】】】 账号健康度卡片样式
   ========================================= */

/* (这会覆盖 .summary-card-main 的字体大小，仅在此卡片内生效) */
.summary-card.account-health .summary-card-main {
    font-size: 1em; /* 重置，因为我们将使用图表 */
    margin-bottom: 0;
}

/* 1. 图表容器 */
.account-health-chart {
    min-height: 200px; /* 确保图表有足够空间 */
    margin-top: 15px;
    margin-bottom: 15px;
}

/* 2. 甜甜圈图中心的 "总账号" 标签 */
.account-health-chart .apexcharts-datalabel-label {
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: #666 !important;
    transform: translateY(-5px); /* 微调位置 */
}

/* 3. 甜甜圈图中心的 "总数" 值 */
.account-health-chart .apexcharts-datalabel-value {
    font-size: 2.8em !important; /* 恢复大字体 */
    font-weight: bold !important;
    color: #333 !important;
    transform: translateY(5px); /* 微调位置 */
}

/* =========================================
   ⭐️ 4. 【【【修改】】】 账号健康度卡片样式
   ========================================= */

/* 2. ⭐️ 新的卡片页脚 (用于显示 "总账号" 和 "限制") */
.account-health-footer {
    display: flex;
    justify-content: space-around; /* 均匀分布 */
    gap: 20px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #eee;
    font-size: 1em; /* 增大字体 */
    color: #555;
    font-weight: 600;
}

.account-health-footer > div {
    text-align: center; /* 确保文本居中 */
}

.account-health-footer span {
    font-weight: bold;
    color: #333;
    font-size: 1.2em; /* 增大数字 */
    margin-left: 5px;
    display: block; /* 让数字换行 */
    margin-top: 4px;
}