/* ============================================
   用户中心样式 user.css
   我的页面 / 项目列表 / 项目详情 / 认领模态框
   （文件末尾附带全局响应式，确保层叠顺序正确）
   ============================================ */

/* ==============================
   用户中心
   ============================== */

/* 用户中心 Header 微调 */
.uc-header .header-subtitle {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.75;
}

/* 用户中心 - 统计卡片 */
.uc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.uc-stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f5;
    transition: transform 0.2s, box-shadow 0.2s;
}

.uc-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.uc-stat-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.uc-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.uc-stat-total .uc-stat-num { color: #1a3a5c; }
.uc-stat-pending .uc-stat-num { color: #2563eb; }
.uc-stat-submitted .uc-stat-num { color: #e37400; }
.uc-stat-approved .uc-stat-num { color: #1e7e34; }

/* 用户中心 - 快速操作 */
.uc-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.uc-quick-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s;
    border: 1.5px solid transparent;
}

.uc-quick-fill {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 14px rgba(26,115,232,0.3);
}

.uc-quick-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,115,232,0.4);
    color: #fff;
}



.uc-quick-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* 用户中心 - 空状态 */
.uc-empty {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f5;
    margin-bottom: 18px;
}

.uc-empty-icon {
    margin-bottom: 16px;
    opacity: 0.6;
}

.uc-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.uc-empty-desc {
    font-size: 13px;
    color: #94a3b8;
}

/* 用户中心 - 底部导航 */
.uc-bottom-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.uc-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    color: #1a3a5c;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s;
}

.uc-nav-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f8faff;
}

.uc-nav-logout {
    color: #94a3b8;
}

.uc-nav-logout:hover {
    color: #e53935;
    border-color: #fecaca;
    background: #fef2f2;
}

/* Header 用户可点击链接 */
.header-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding: 2px 8px 2px 2px;
    border-radius: 20px;
    transition: background 0.2s;
}

.header-user-link:hover {
    background: rgba(255,255,255,0.15);
}

/* 用户中心语言切换 - 下拉选择器 */
.header-locale-dropdown {
    position: relative;
    margin-right: 10px;
}

.header-locale-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #f0f4ff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    color: #2563eb;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.header-locale-trigger:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.header-locale-flag {
    font-size: 15px;
    line-height: 1;
}

.header-locale-name {
    font-weight: 500;
}

.header-locale-arrow {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.2s;
}

.header-locale-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    border: 1px solid #e8ecf2;
    z-index: 1000;
    overflow: hidden;
    animation: localeFadeIn 0.15s ease;
}

.header-locale-menu.show {
    display: block;
}

@keyframes localeFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-locale-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
}

.header-locale-option:hover {
    background: #f5f7fa;
}

.header-locale-option.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.locale-opt-icon {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.locale-opt-name {
    flex: 1;
}

.locale-opt-check {
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        margin-left: 200px;
    }

    .sidebar-brand {
        padding: 18px 14px;
    }

    .sidebar-logo {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .sidebar-title h2 {
        font-size: 14px;
    }

    .sidebar-nav-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .nav-icon {
        font-size: 16px;
    }

    .admin-header {
        padding: 16px 20px;
    }

    .admin-header h1 {
        font-size: 18px;
    }

    .admin-content {
        padding: 16px 20px 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 22px;
    }

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

@media (max-width: 480px) {
    .page-wrap {
        padding: 0 12px 30px;
    }

    .site-header {
        margin: 0 -12px 20px;
        padding: 20px 14px 18px;
    }

    .site-header h1 {
        font-size: 18px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-user {
        width: 100%;
    }

    .survey-form {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .form-actions {
        flex-direction: column;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .sidebar-brand {
        width: 100%;
        padding: 8px 0;
        border-bottom: none;
        justify-content: space-between;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 4px;
        overflow-y: visible;
        gap: 4px;
    }

    .sidebar-nav-item {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 6px;
    }

    .sidebar-nav-item.active::before {
        display: none;
    }

    .sidebar-nav-item.active {
        background: #2563eb;
        color: #fff;
    }

    .nav-icon {
        font-size: 14px;
        width: auto;
    }

    .sidebar-footer {
        display: none;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-header {
        padding: 12px 16px;
    }

    .admin-header h1 {
        font-size: 18px;
    }

    .admin-content {
        padding: 12px 14px 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-card {
        padding: 14px;
        gap: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-col-left,
    .dashboard-col-right {
        gap: 12px;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }

    .type-grid {
        grid-template-columns: 1fr 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-links {
        width: 100%;
    }

    /* 登录页面响应式 */
    .login-page-body {
        align-items: flex-start;
        padding-top: 60px;
    }
    .login-page-wrap {
        padding: 20px 16px 30px;
    }
    .login-card {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .login-site-title {
        font-size: 22px;
    }

    /* 问卷列表响应式 */
    .assignment-table-header {
        display: none;
    }
    .assignment-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 12px;
    }
    .assignment-cell-name {
        flex: 1 1 100%;
    }
    .assignment-cell-status {
        width: auto;
        justify-content: flex-start;
    }
    .assignment-cell-action {
        width: auto;
        justify-content: flex-start;
    }

    /* 用户中心响应式 */
    .uc-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .uc-stat-card {
        padding: 14px 10px;
    }
    .uc-stat-num {
        font-size: 24px;
    }
    .uc-quick-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .uc-bottom-nav {
        flex-direction: column;
    }
}

/* ==============================
   用户中心 - 我的页面 (user/profile.php)
   ============================== */

.profile-section { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; border: 1px solid #f0f0f0; box-shadow: 0 1px 4px rgba(0,0,0,0.03); }
.profile-card { display: flex; align-items: flex-start; gap: 20px; }
.profile-avatar { width: 56px; height: 56px; border-radius: 50%; background: #2563eb; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; flex-shrink: 0; position: relative; cursor: pointer; transition: transform 0.2s; }
.profile-avatar:hover { transform: scale(1.05); }
.profile-avatar-img { background: #f0f4ff; border: 2px solid #e0e7ff; overflow: hidden; }
.avatar-pic { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-emoji { font-size: 30px; line-height: 1; }
.avatar-letter { font-size: 24px; font-weight: 700; color: #fff; }
.avatar-badge { position: absolute; bottom: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #2563eb; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }

/* 头像上传区域 */
.avatar-upload-area { border: 2px dashed #d0d5dd; border-radius: 12px; padding: 24px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #64748b; font-size: 14px; transition: border-color 0.2s, background 0.2s; }
.avatar-upload-area:hover { border-color: #2563eb; background: #f8faff; }

/* Emoji 网格 */
.avatar-emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.avatar-emoji-item { font-size: 22px; text-align: center; padding: 8px 4px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; }
.avatar-emoji-item:hover { background: #f0f4ff; border-color: #c7d2fe; }
.avatar-emoji-item.selected { background: #e0edff; border-color: #2563eb; }

.profile-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.profile-name { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 2px; }
.profile-role { font-size: 13px; color: #888; }

.profile-details { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #f5f5f5; padding-top: 16px; }
.profile-detail-row { display: flex; align-items: center; padding: 4px 0; font-size: 14px; }
.profile-detail-row:last-child { border-bottom: none; }
.profile-detail-label { color: #666; flex-shrink: 0; min-width: 62px; }
.profile-detail-value { color: #333; font-weight: 500; }

.profile-section-title { font-size: 16px; font-weight: 600; color: #333; margin: 0 0 16px; }

.profile-form { display: flex; flex-direction: column; gap: 0; }
.profile-form-group { margin-bottom: 16px; }
.profile-form-label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.profile-form-input-wrap { position: relative; display: flex; align-items: center; }
.profile-form-input { width: 100%; padding: 11px 42px 11px 14px; border: 1.5px solid #e0e4ea; border-radius: 10px; font-size: 14px; color: #333; outline: none; transition: all 0.2s; font-family: inherit; background: #fafcfd; }
.profile-form-input:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(26,115,232,0.1); background: #fff; }
.profile-pwd-eye { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 18px; padding: 6px 10px; color: #94a3b8; line-height: 1; z-index: 2; border-radius: 0 10px 10px 0; transition: color 0.2s; }
.profile-pwd-eye:hover { color: #475569; }

.profile-form-submit { padding: 11px 24px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: 0 2px 8px rgba(26,115,232,0.25); margin-top: 4px; flex: 1; }
.profile-form-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,115,232,0.35); }

.profile-form-btn-cancel { padding: 11px 24px; background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; flex: 1; }
.profile-form-btn-cancel:hover { background: #e2e8f0; }

/* ==============================
   用户中心 - 项目列表 (user/index.php)
   ============================== */

.uc-top-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.uc-top-left { display: flex; align-items: baseline; gap: 10px; }
.uc-top-title { font-size: 18px; font-weight: 700; color: #222; }
.uc-top-subtitle { font-size: 13px; color: #888; }
.uc-top-right { flex-shrink: 0; }

.uc-claim-btn { display: inline-flex; align-items: center; gap: 4px; padding: 9px 20px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s var(--ease-out); font-family: inherit; box-shadow: 0 4px 14px rgba(26,115,232,0.3); position: relative; overflow: hidden; }
.uc-claim-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.uc-claim-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.4); }
.uc-claim-btn:hover::after { left: 100%; }
.uc-claim-btn:active { transform: translateY(0) scale(0.97); }

.assignment-section { margin-bottom: 16px; }
.assignment-view { }

.section-header-web { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-header-web-left { display: flex; align-items: center; gap: 8px; }
.section-title-web { font-size: 15px; font-weight: 600; color: #333; }
.section-count-web { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: #e8f0fe; color: #2563eb; font-size: 12px; font-weight: 700; }
.section-link-web { font-size: 13px; color: #2563eb; text-decoration: none; transition: color 0.15s; }
.section-link-web:hover { color: #1d4ed8; text-decoration: underline; }

/* 项目卡片列表 */
.project-list { display: flex; flex-direction: column; gap: 10px; }
.project-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; overflow: hidden; transition: all 0.28s var(--ease-out); box-shadow: 0 1px 4px rgba(0,0,0,0.03); }
.project-card:hover { border-color: #b3d4f7; box-shadow: 0 8px 28px rgba(26,115,232,0.12), 0 2px 8px rgba(0,0,0,0.04); transform: translateY(-3px) scale(1.005); }
.project-card-offline { opacity: 0.7; }
.project-card-offline:hover { opacity: 0.9; }
.project-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 12px; }
.project-card-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.project-card-icon { width: 44px; height: 44px; border-radius: 12px; background: #f0f4ff; display: flex; align-items: center; justify-content: center; color: #2563eb; flex-shrink: 0; }
.project-card-info { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.project-card-name-link { font-size: 15px; font-weight: 600; color: #222; }
.project-card-name-offline { color: #999; }
.project-card-meta { font-size: 12px; color: #999; }
.project-card-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.project-progress-bar { width: 80px; height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.project-progress-fill { height: 100%; background: #2563eb; border-radius: 3px; transition: width 0.3s ease; position: relative; overflow: hidden; }
.project-progress-fill::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: progressShimmer 2.5s ease-in-out infinite; }
@keyframes progressShimmer { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }
.project-progress-text { font-size: 12px; font-weight: 600; color: #2563eb; white-space: nowrap; }

/* 状态标签 */
.status-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.status-closed { background: #f0f0f0; color: #999; }
.status-submitted { background: #e8f0fe; color: #2563eb; }
.status-reviewing, .status-first_review_passed { background: #fef7e0; color: #e37400; }
.status-approved, .status-final_approved { background: #e6f4ea; color: #1e8e3e; }
.status-returned { background: #fce8e6; color: #c5221f; }
.status-draft { background: #f0f0f0; color: #999; }
.status-muted { background: #f5f5f5; color: #bbb; }
.status-first-review { background: #e6f4ea; color: #1e8e3e; }

/* 认领任务模态框 */
.claim-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.claim-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.08); overflow: hidden; animation: claimModalIn 0.35s var(--ease-out); border: 1px solid rgba(26,115,232,0.08); }
@keyframes claimModalIn { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.claim-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #f0f0f0; background: #f8faff; }
.claim-modal-title { font-size: 16px; font-weight: 700; color: #1a3a5c; display: flex; align-items: center; gap: 6px; }
.claim-modal-close { font-size: 22px; color: #999; cursor: pointer; padding: 4px 8px; border-radius: 6px; border: none; background: none; transition: all 0.15s; }
.claim-modal-close:hover { background: #f5f5f5; color: #333; }
.claim-modal-body { padding: 24px; }
.claim-modal-desc { font-size: 14px; color: #666; margin: 0 0 16px; }
.claim-modal-input { width: 100%; padding: 12px 14px; border: 1.5px solid #e0e4ea; border-radius: 10px; font-size: 15px; color: #333; outline: none; transition: all 0.2s; font-family: inherit; text-align: center; letter-spacing: 2px; }
.claim-modal-input:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(26,115,232,0.1); }
.claim-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.claim-modal-btn { padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; border: none; text-align: center; }
.claim-btn-submit { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 2px 8px rgba(26,115,232,0.25); }
.claim-btn-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,115,232,0.35); }
.claim-btn-scan { background: #f8f9fb; color: #555; border: 1px solid #e0e4ea; }
.claim-btn-scan:hover { background: #f0f4ff; border-color: #2563eb; }
.claim-modal-hint { font-size: 12px; color: #999; text-align: center; margin: 12px 0 0; min-height: 18px; }

/* 空状态 */
.uc-empty { text-align: center; padding: 48px 20px; background: #fff; border-radius: 12px; border: 1px solid #f0f0f0; }
.uc-empty-title { font-size: 16px; font-weight: 600; color: #666; margin: 0 0 6px; }
.uc-empty-desc { font-size: 13px; color: #aaa; margin: 0; }

/* 底部导航 */
.uc-bottom-nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.uc-nav-btn { display: inline-flex; align-items: center; padding: 9px 20px; background: #fff; border: 1px solid #e0e4ea; border-radius: 8px; font-size: 13px; font-weight: 500; color: #555; text-decoration: none; transition: all 0.15s; }
.uc-nav-btn:hover { background: #f0f4ff; border-color: #2563eb; color: #2563eb; }
.uc-nav-logout:hover { background: #fef2f2; border-color: #f87171; color: #dc2626; }

/* ==============================
   项目详情页 (user/project.php)
   ============================== */

.pinfo-header { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; border: 1px solid #f0f0f0; box-shadow: 0 1px 4px rgba(0,0,0,0.03); animation: fadeSlideUp 0.5s var(--ease-out); }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.pinfo-header-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pinfo-icon { width: 48px; height: 48px; border-radius: 12px; background: #f0f4ff; display: flex; align-items: center; justify-content: center; color: #2563eb; flex-shrink: 0; }
.pinfo-title-group { flex: 1; min-width: 0; }
.pinfo-title { font-size: 20px; font-weight: 700; color: #222; margin: 0 0 2px; }
.pinfo-breadcrumb { font-size: 12px; color: #aaa; }

.pinfo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pinfo-stat-card { background: #fafcfd; border: 1px solid #f0f0f0; border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; transition: all 0.22s var(--ease-out); cursor: pointer; position: relative; overflow: hidden; }
.pinfo-stat-card:hover { border-color: #d2e3fc; transform: translateY(-2px) scale(1.01); box-shadow: 0 4px 16px rgba(26,115,232,0.08); }
.pinfo-stat-card:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.pinfo-stat-card::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(26,115,232,0.06); border-radius: 50%; transform: translate(-50%,-50%); transition: width 0.4s, height 0.4s; }
.pinfo-stat-card:active::after { width: 200px; height: 200px; }
.pinfo-stat-active { border-color: var(--c-primary) !important; box-shadow: 0 0 0 3px rgba(37,99,235,0.16); background: var(--tint-violet) !important; }
.pinfo-stat-card-missing { }
.pinfo-stat-card-draft { }
.pinfo-stat-card-returned { }
.pinfo-stat-icon { font-size: 20px; flex-shrink: 0; }
.pinfo-stat-body { display: flex; flex-direction: column; }
.pinfo-stat-num { font-size: 22px; font-weight: 700; color: #333; line-height: 1; }
.pinfo-stat-label { font-size: 11px; color: #999; margin-top: 2px; }

.pinfo-section { background: #fff; border-radius: 12px; padding: 0; margin-bottom: 16px; border: 1px solid #f0f0f0; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.03); animation: fadeSlideUp 0.6s var(--ease-out); }
.pinfo-section-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; transition: all 0.2s; user-select: none; }
.pinfo-section-header:hover { background: #f8faff; }
.pinfo-section-left { display: flex; align-items: center; gap: 8px; }
.pinfo-section-icon { font-size: 16px; }
.pinfo-section-title { font-size: 15px; font-weight: 600; color: #333; }
.pinfo-section-arrow { font-size: 11px; color: #bbb; transition: transform 0.2s; }
.pinfo-section-body { border-top: 1px solid #f5f5f5; padding: 20px; }

.pinfo-overview-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.pinfo-overview-card { background: #fafcfd; border: 1px solid #f0f0f0; border-radius: 10px; padding: 14px 12px; text-align: center; transition: all 0.22s var(--ease-out); cursor: pointer; position: relative; overflow: hidden; }
.pinfo-overview-card:hover { border-color: #b3d4f7; transform: translateY(-3px) scale(1.02); box-shadow: 0 6px 20px rgba(26,115,232,0.1); }
.pinfo-overview-card:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }
.pinfo-overview-card::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(26,115,232,0.06); border-radius: 50%; transform: translate(-50%,-50%); transition: width 0.4s, height 0.4s; }
.pinfo-overview-card:active::after { width: 180px; height: 180px; }
.pinfo-ov-active { border-color: var(--c-teal) !important; box-shadow: 0 0 0 3px rgba(13,148,136,0.16); background: var(--tint-teal) !important; }
.pinfo-overview-num { display: block; font-size: 24px; font-weight: 700; color: #333; line-height: 1; margin-bottom: 4px; }
.pinfo-overview-label { font-size: 12px; color: #888; }

.pinfo-overview-progress-wrap { margin-bottom: 20px; }
.pinfo-overview-progress-header { display: flex; justify-content: space-between; font-size: 13px; color: #666; margin-bottom: 6px; }
.pinfo-overview-progress-bar { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.pinfo-overview-progress-fill { height: 100%; background: #2563eb; border-radius: 4px; transition: width 0.5s ease; position: relative; overflow: hidden; }
.pinfo-overview-progress-fill::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: progressShimmer 2.5s ease-in-out infinite; }
.pinfo-overview-progress-sub { font-size: 12px; color: #bbb; margin-top: 6px; }

/* 问卷清单分组 */
.pinfo-qnr-groups { display: flex; flex-direction: column; gap: 12px; }
.pinfo-qnr-group { }
.pinfo-qnr-group-header { font-size: 13px; font-weight: 600; color: #666; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #f5f5f5; }
.pinfo-qnr-group-header span { color: #aaa; font-weight: 400; }

.pinfo-qnr-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #fafcfd; border: 1px solid #f0f0f0; border-radius: 10px; margin-bottom: 6px; gap: 10px; transition: all 0.22s var(--ease-out); position: relative; overflow: hidden; }
.pinfo-qnr-row:hover { border-color: #b3d4f7; background: #fff; transform: translateX(4px); box-shadow: 0 2px 12px rgba(26,115,232,0.08); }
.pinfo-qnr-row:hover .pinfo-qnr-title { color: #2563eb; }
.pinfo-qnr-offline { opacity: 0.7; }
.pinfo-qnr-row-deleted { opacity: 0.5; background: #f8f8f8; }
.pinfo-qnr-left { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; flex-wrap: wrap; }
.pinfo-qnr-title { font-size: 14px; font-weight: 500; color: #333; }
.pinfo-qnr-cat { font-size: 12px; color: #aaa; background: #f5f5f5; padding: 2px 8px; border-radius: 4px; }
.pinfo-qnr-comment { font-size: 12px; color: #c5221f; background: #fef2f2; padding: 2px 10px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.pinfo-qnr-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ===== 文件缺失清单（精确列出需补传的文件名） ===== */
.pinfo-missing-panel { flex-basis: 100%; width: 100%; margin-top: 8px; padding: 10px 12px; background: #fff8f0; border: 1px solid #fde4c8; border-radius: 8px; }
.pinfo-missing-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.pinfo-missing-icon { font-size: 13px; }
.pinfo-missing-title { font-size: 12px; font-weight: 700; color: #e37400; }
.pinfo-missing-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pinfo-missing-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 10px; background: #fff; border: 1px solid #f2e6d5; border-radius: 6px; }
.pinfo-missing-name { font-size: 12px; color: #5a4a35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.pinfo-missing-reason { flex-shrink: 0; font-size: 11px; font-weight: 600; color: #c5221f; background: #fef2f2; border: 1px solid #fdd; padding: 1px 8px; border-radius: 10px; }

.assignment-action-reupload { background: #e37400; color: #fff; border: 1px solid #e37400; }
.assignment-action-reupload:hover { background: #c96500; border-color: #c96500; }

.pinfo-draft-badge { font-size: 11px; color: #e37400; background: #fef7e0; padding: 2px 8px; border-radius: 4px; }
.pinfo-delete-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #fecaca; background: #fff; color: #dc2626; font-size: 13px; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: center; }
.pinfo-delete-btn:hover { background: #fef2f2; border-color: #f87171; }
.pinfo-nodata { text-align: center; padding: 24px 12px; color: #bbb; font-size: 13px; }
.pinfo-empty { text-align: center; padding: 48px 20px; color: #999; }

.pinfo-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 300; padding: 10px 24px; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: opacity 0.3s; white-space: nowrap; }

.assignment-action-btn { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.15s; white-space: nowrap; }
.assignment-action-go { background: #2563eb; color: #fff; }
.assignment-action-go:hover { background: #1d4ed8; }
.assignment-action-edit { background: #fef7e0; color: #e37400; border: 1px solid #fef0d0; }
.assignment-action-edit:hover { background: #e37400; color: #fff; }
.assignment-action-view { background: #f0f4ff; color: #2563eb; border: 1px solid #d2e3fc; }
.assignment-action-view:hover { background: #2563eb; color: #fff; }
.assignment-action-restore { padding: 6px 14px; background: #e6f4ea; color: #1e8e3e; border: 1px solid #c8e6c9; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.assignment-action-restore:hover { background: #1e8e3e; color: #fff; }

/* ==============================
   响应式移动端适配
   ============================== */

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px 16px; gap: 10px; }
    .stat-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }
    .stat-value { font-size: 22px; }
    
    .pinfo-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .pinfo-overview-stats { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .pinfo-overview-card { padding: 12px 6px; }
    .pinfo-overview-num { font-size: 20px; }
    .pinfo-overview-label { font-size: 11px; }
    .pinfo-stat-card { padding: 10px 12px; }
    .pinfo-stat-num { font-size: 18px; }

    .dashboard-grid { grid-template-columns: 1fr; }
    .card-header { padding: 14px 16px; }
    .card-body { padding: 16px; }

    .login-card { padding: 28px 20px; }
    .project-card-header { flex-direction: column; align-items: flex-start; }
    .project-card-right { width: 100%; justify-content: space-between; }
    .pinfo-header { padding: 16px; }
    .pinfo-header-top { flex-direction: column; align-items: flex-start; }
    .claim-modal { margin: 0 10px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .pinfo-stats { grid-template-columns: 1fr; }
    .pinfo-overview-stats { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .pinfo-overview-card { padding: 10px 4px; }
    .pinfo-overview-num { font-size: 16px; }
    .pinfo-overview-label { font-size: 10px; }
    .pinfo-qnr-row { flex-direction: column; align-items: flex-start; }
    .pinfo-qnr-right { width: 100%; justify-content: flex-start; }
}

/* ==============================
   打印样式
   ============================== */

@media print {
    body { background: #fff; color: #000; }
    .qnr-mini-links, .data-card-actions, .card-actions,
    .export-group, .pagination, .recent-col-time,
    button, .action-link { display: none !important; }
    .dashboard-card, .stat-card, .qnr-mini-card,
    .data-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}

/* ==============================
   提交成功 - 文件上传警告
   ============================== */

.upload-warn-box {
    background: #fff8e6;
    border: 1px solid #f0c040;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 20px;
    text-align: left;
}

.upload-warn-box h4 {
    margin: 0 0 8px;
    color: #b06000;
    font-size: 15px;
}

.upload-warn-box ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #8b6914;
    font-size: 13px;
    line-height: 1.8;
}

.upload-warn-box .warn-desc {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* ============================================
   用户中心 - 色彩多元化 · 平滑层次增强
   ============================================ */

/* ---- 1. 统计卡片：顶部彩条 + 柔和渐变底 + 平滑悬浮 ---- */
.uc-stat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.uc-stat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0.9;
}
.uc-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}
.uc-stat-total { background: #f8fafc; }
.uc-stat-total::before { background: #1a3a5c; }
.uc-stat-pending { background: #f8fafc; }
.uc-stat-pending::before { background: var(--grad-primary); }
.uc-stat-submitted { background: #fffbf5; }
.uc-stat-submitted::before { background: var(--grad-amber); }
.uc-stat-approved { background: #f8fdf9; }
.uc-stat-approved::before { background: var(--grad-teal); }

/* ---- 2. 快速操作按钮：主按钮蓝紫渐变，次按钮多彩描边 ---- */
.uc-quick-fill {
    background: var(--grad-hero);
    box-shadow: 0 6px 18px rgba(109,40,217,0.28);
    transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}
.uc-quick-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(109,40,217,0.38);
    filter: brightness(1.04);
}

.uc-claim-btn {
    background: var(--grad-primary);
    transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}
.uc-claim-btn:hover {
    background: var(--grad-primary);
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,115,232,0.34);
}

/* ---- 3. 项目卡片：左侧主色条 + 平滑悬浮层次 ---- */
.project-card {
    position: relative;
    border-radius: var(--r-md);
    box-shadow: var(--sh-xs);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.project-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--grad-line);
    opacity: 0;
    transition: opacity var(--t-base);
}
.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: #d2e3fc;
}
.project-card:hover::before { opacity: 1; }

/* 项目图标随色彩活泼化 */
.project-card-icon {
    background: linear-gradient(135deg, #eaf2ff, #f2ecff);
    color: var(--c-primary);
    transition: transform var(--t-base);
}
.project-card:hover .project-card-icon { transform: scale(1.06) rotate(-3deg); }

/* 进度条渐变多彩 */
.project-progress-fill,
.pinfo-overview-progress-fill {
    background: #2563eb;
    background-size: 200% 100%;
}

/* ---- 4. 状态徽章：柔和渐变底，层次更清晰 ---- */
.status-badge.status-submitted { background: #eef4ff; }
.status-badge.status-reviewing { background: #fef7e0; }
.status-badge.status-first-review { background: #e6f4ea; }
.status-badge.status-approved,
.status-badge.status-final_approved { background: #e6f4ea; }
.status-badge.status-returned { background: #fce8e6; }

/* ---- 5. 底部导航按钮平滑过渡 ---- */
.uc-nav-btn { transition: all var(--t-base); }
.uc-nav-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }

/* ---- 6. 项目详情统计卡：悬浮层次 + 多彩强调 ---- */
.pinfo-stat-card,
.pinfo-overview-card {
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
}
.pinfo-stat-card:hover,
.pinfo-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}
.pinfo-icon {
    background: #eef4ff;
}

/* ---- 7. 头像统一蓝色 ---- */
.profile-avatar:not(.profile-avatar-img),
.header-user-avatar {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* ---- 8. 卡片入场平滑 ---- */
.uc-stats .uc-stat-card,
.project-list .project-card {
    animation: fadeSlideUp 0.5s var(--ease-out) both;
}
.project-list .project-card:nth-child(2) { animation-delay: .05s; }
.project-list .project-card:nth-child(3) { animation-delay: .10s; }
.project-list .project-card:nth-child(4) { animation-delay: .15s; }
.project-list .project-card:nth-child(5) { animation-delay: .20s; }

@media (prefers-reduced-motion: reduce) {
    .uc-stats .uc-stat-card,
    .project-list .project-card { animation: none; }
}

/* ============================================
   卡片背景色区分 · 整体美化（用户中心 / 项目信息 / 项目概览 + 各类卡片）
   设计原则：柔和低饱和的浅色渐变 + 同色系描边 + 顶部细色条，
   三大主卡片配色清晰区分（蓝 / 紫 / 青），各类子卡片按语义着色，
   整体协调不浮夸。
   ============================================ */

:root {
    /* 主卡片背景色调（纯色、极简） */
    --card-user:       #f8faff; /* 用户中心：淡蓝 */
    --card-user-bd:    #d8e6fb;
    --card-info:       #f8f7ff; /* 项目信息：淡蓝紫 */
    --card-info-bd:    #e2dafb;
    --card-overview:   #f4fcf9; /* 项目概览：淡绿 */
    --card-overview-bd:#cdeede;

    /* 各类子卡片浅色调（仅保留蓝/绿/橙三色系） */
    --tint-blue:   #eef4ff;
    --tint-violet: #eef4ff;
    --tint-teal:   #e6f4ea;
    --tint-amber:  #fff6e8;
    --tint-rose:   #fef2f2;
    --tint-green:  #ecfdf0;
}

/* ---- 1. 用户中心卡片（个人资料 / 修改密码）---- */
.profile-section {
    background: var(--card-user);
    border: 1px solid var(--card-user-bd);
    box-shadow: 0 2px 10px rgba(37,99,235,0.06);
    position: relative;
    overflow: hidden;
}
.profile-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #2563eb;
}
.profile-section .profile-form-input { background: #fff; }

/* ---- 2. 项目信息卡片（.pinfo-header）---- */
.pinfo-header {
    background: var(--card-info);
    border: 1px solid var(--card-info-bd);
    box-shadow: 0 2px 10px rgba(37,99,235,0.06);
    position: relative;
    overflow: hidden;
}
.pinfo-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #2563eb;
}
.pinfo-header .pinfo-icon {
    background: #eef4ff;
    color: #2563eb;
}

/* ---- 3. 项目概览卡片（#secOverview）---- */
#secOverview {
    background: var(--card-overview);
    border: 1px solid var(--card-overview-bd);
    box-shadow: 0 2px 10px rgba(22,163,74,0.06);
    position: relative;
    overflow: hidden;
}
#secOverview::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #16a34a;
}

/* ---- 4. 用户中心统计卡：蓝系层次（总数/待处理/已上报/已审核）---- */
.uc-stat-total     { background: #f8fafc; }
.uc-stat-pending   { background: #f8fafc; }
.uc-stat-submitted { background: #fffbf5; }
.uc-stat-approved  { background: #f8fdf9; }

/* ---- 5. 项目信息头部三卡：按含义着色（缺失/草稿/驳回）---- */
.pinfo-stat-card            { background: var(--tint-blue);   border-color: #e3ecfb; }
.pinfo-stat-card-missing    { background: var(--tint-amber);  border-color: #f6e6cc; }
.pinfo-stat-card-draft      { background: #eef4ff; border-color: #d8e6fb; }
.pinfo-stat-card-returned   { background: var(--tint-rose);   border-color: #fadde3; }

/* ---- 6. 项目概览四卡：蓝/橙/青/绿 ---- */
.pinfo-overview-card            { background: var(--tint-blue);  border-color: #d8e6fb; }
.pinfo-overview-card-all        { background: var(--tint-blue);  border-color: #d8e6fb; }
.pinfo-overview-card-pending    { background: var(--tint-amber); border-color: #f6e6cc; }
.pinfo-overview-card-reported   { background: #e6f4ea; border-color: #cdeede; }
.pinfo-overview-card-reviewed   { background: var(--tint-green); border-color: #d4f0d8; }
.pinfo-overview-card-deleted    { background: #f3f4f6;            border-color: #e5e7eb; }

/* ---- 7. 项目列表卡片：极浅蓝调，与白色表单区分 ---- */
.project-card {
    background: linear-gradient(165deg, #fbfdff 0%, #ffffff 100%);
}

/* ---- 8. 问卷行：柔白底 + 悬浮浅蓝 ---- */
.pinfo-qnr-row {
    background: linear-gradient(165deg, #fbfdff 0%, #ffffff 100%);
}

/* ---- 9. 空状态 / 提示面板柔和化 ---- */
.uc-empty {
    background: linear-gradient(165deg, #f7faff 0%, #ffffff 100%);
    border: 1px solid #e6ecf5;
}
.pinfo-empty {
    background: linear-gradient(165deg, #f7faff 0%, #ffffff 100%);
}

/* ---- 10. 文件缺失面板沿用暖橙，强化区分 ---- */
.pinfo-missing-panel {
    background: #fff8f0;
    border-color: #f6d9b8;
}

/* ============================================
   H5 自适应增强 · 用户中心宽屏：项目卡片两列并排
   ============================================ */
@media (min-width: 1024px) {
    .project-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ============================================
   关于我们 卡片与弹窗
   ============================================ */
.uc-about-card {
    margin-top: 24px;
    background: var(--card-info);
    border: 1px solid var(--card-info-bd);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(37,99,235,0.06);
    position: relative;
    overflow: hidden;
}
.uc-about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #2563eb;
}

.about-menu {
    margin-top: 12px;
}

.about-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    border-radius: var(--r-sm);
    color: #334155;
    text-decoration: none;
    transition: background var(--t-base);
}
a.about-menu-item {
    cursor: pointer;
}
a.about-menu-item:hover {
    background: rgba(37,99,235,0.05);
}

.about-menu-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.about-menu-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}

.about-menu-arrow {
    font-size: 18px;
    color: #94a3b8;
    flex-shrink: 0;
}

.about-menu-value {
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
}

/* 关于我们弹窗 */
.about-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s;
}

.about-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 640px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    animation: slideUp .25s;
}

.about-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

.about-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.about-modal-close {
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .15s;
}
.about-modal-close:hover {
    background: #f1f5f9;
}

.about-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    word-wrap: break-word;
}

.about-modal-body img {
    max-width: 100%;
    height: auto;
}

.about-modal-body p {
    margin: 0 0 12px;
}

.about-modal-body h1,
.about-modal-body h2,
.about-modal-body h3,
.about-modal-body h4 {
    margin: 16px 0 8px;
    color: #1e293b;
}

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

/* ==============================
   登录页增强 (login.php 内联样式提取 + 专业化)
   ============================== */

/* 成功提示 */
.login-success {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    animation: fadeSlideIn 0.4s ease;
}

/* 2FA 验证区 */
.login-2fa-box {
    text-align: center;
    padding: 10px 0;
    animation: fadeSlideIn 0.5s ease;
}
.login-2fa-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    animation: pulse2fa 2s ease-in-out infinite;
}
@keyframes pulse2fa {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.login-2fa-phone {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}
.login-2fa-phone strong {
    color: #2563eb;
    font-weight: 600;
}
.login-2fa-form {
    max-width: 320px;
    margin: 0 auto;
}

/* 验证码输入行 */
.login-input-flex {
    display: flex;
    gap: 10px;
}
.login-input-flex .login-input {
    flex: 1;
}

/* 验证码按钮 */
.login-code-btn {
    white-space: nowrap;
    padding: 0 16px;
    background: #f0f4ff;
    border: 1.5px solid #b3d4f7;
    border-radius: 10px;
    color: #2563eb;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    min-width: 96px;
    height: 46px;
    transition: all 0.2s;
    font-family: inherit;
}
.login-code-btn:hover {
    background: #e0ecff;
    border-color: #2563eb;
}
.login-code-btn:disabled {
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* 2FA重发链接 */
.login-retry-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: color 0.15s;
}
.login-retry-link:hover {
    color: #2563eb;
}

/* 登录方式切换选项卡 */
.login-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 2px solid #eef0f3;
}
.login-tab {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    transition: all 0.25s;
    font-family: inherit;
}
.login-tab:hover {
    color: #666;
}
.login-tab.active {
    color: #2563eb;
    font-weight: 600;
    border-bottom-color: #2563eb;
}

/* 隐藏表单 */
.login-code-form {
    display: none;
}

/* 密码显示切换 */
.login-pwd-wrap {
    position: relative;
}
.login-pwd-wrap .login-input {
    padding-right: 44px;
}
.login-pwd-eye {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 6px 8px;
    color: #94a3b8;
    line-height: 1;
    transition: color 0.2s;
}
.login-pwd-eye:hover {
    color: #475569;
}

/* 登录按钮渐变 + 悬浮 */
.login-submit-btn {
    position: relative;
    overflow: hidden;
}
.login-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}
.login-submit-btn:hover::after {
    left: 100%;
}

/* 登录卡片入场动画增强 */
.login-card {
    animation: fadeSlideUp 0.7s var(--ease-out);
}
.login-logo-area {
    animation: fadeSlideUp 0.6s var(--ease-out);
}
.login-footer {
    animation: fadeSlideUp 0.8s var(--ease-out);
}
