@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable both-edges;
}
body { 
    font-family: 'Noto Sans SC', sans-serif; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: scroll;
}

html {
    scroll-behavior: smooth;
}

/* 1. 磨砂玻璃导航 */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-item { position: relative; overflow: hidden; }
.nav-item::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: rgba(37, 99, 235, 0.08); border-radius: 999px;
    transform: scale(0.8); opacity: 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1;
}
.nav-item:hover::after { transform: scale(1); opacity: 1; }
.nav-item.nav-active { color: #1d4ed8 !important; font-weight: 700; }
.nav-item.nav-active::after { transform: scale(1); opacity: 1; }
.nav-item.nav-active .fa-chevron-down { transform: rotate(180deg); }

/* 2. 动态学术背景 */
.academic-bg {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.1) 0px, transparent 50%);
    position: relative; overflow: hidden;
}

/* 3. 下拉菜单 */
.dropdown-menu {
    opacity: 0; transform: translateY(15px); visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: top center;
}
.group:hover .dropdown-menu { opacity: 1; transform: translateY(0); visibility: visible; }

/* 4. 登录框控制 */
#login-wechat { display: block; opacity: 1; }
#login-qq, #login-phone { display: none; opacity: 0; }

/* ================== 重写：登录按钮“流光呼吸”特效 ================== */
.btn-fluid {
    background-size: 200% auto;
    /* 渐变色：蓝 -> 紫 -> 蓝，实现流动感 */
    background-image: linear-gradient(to right, #2563eb 0%, #4f46e5 51%, #2563eb 100%);
    transition: 0.5s;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
}

/* 鼠标悬停：背景流动 + 微微上浮 + 投影加深 */
.btn-fluid:hover {
    background-position: right center; /* 触发背景流动 */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

/* 鼠标点击：按压感 */
.btn-fluid:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 5px 10px rgba(37, 99, 235, 0.3);
}

/* 5. 智能页脚 (优化触发体验) */
/* ================== 智能页脚特效 (恢复) ================== */
/* ================== 5. 智能页脚 (严谨修复版) ================== */
/* ================== 5. 智能页脚 (重构版) ================== */
/* ================== 5. 智能页脚 (最终完美版) ================== */
/* 1. 基础状态：初始强制隐藏 */
/* ================== 5. 智能页脚 (生产级架构版) ================== */
/* 使用 footer#smartFooter 增加 CSS 选择器权重 */
/* ================== 5. 智能页脚 (确保动画丝滑) ================== */
/* ================== 全局页脚 (视觉与动画优化版) ================== */
/* ================== 全局页脚 (强力修复版) ================== */
/* ================== 全局页脚 (修正版) ================== */
footer#smartFooter {
    position: relative !important;
    width: 100% !important;
    z-index: 1 !important;
    background-color: #f8fafc !important;
    color: #64748b !important;
    border-top: 1px solid #e2e8f0 !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

/* 激活状态 */
footer#smartFooter.visible {
    transform: none !important;
    opacity: 1 !important;
}
/* ================== 8. 登录框切换动画 (新增) ================== */
.frosted-panel {
    background: rgba(255, 255, 255, 0.3); /* 半透明白 */
    backdrop-filter: blur(12px);          /* 毛玻璃模糊 */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border-radius: 20px;
    padding: 24px;
}

/* 登录内容进场动画 */
.login-content {
    display: none;
    opacity: 0;
    
    /* 初始状态：下沉 + 模糊 + 缩小 */
    transform: translateY(20px) scale(0.95);
    filter: blur(8px);
    
    /* 复杂动画曲线：实现“果冻般”的弹入感 */
    transition: 
        opacity 0.4s ease-out,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
        filter 0.4s ease-out;
}

/* 登录内容激活 */
.login-content.active-fade {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0px) !important;
}
/* 6. 悬浮客服挂件 (右侧) */
.float-bar {
    position: fixed; right: 30px; bottom: 100px; z-index: 100;
    display: flex; flex-direction: column; gap: 20px;
}
.float-item {
    width: 54px; height: 54px;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8); border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #64748b; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative;
}
.float-item:hover { transform: scale(1.15) rotate(-5deg); color: #2563eb; box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2); }

.qr-popup {
    position: absolute; right: 70px; top: 50%;
    transform: translateY(-50%) translateX(20px) scale(0.9);
    width: 160px; background: white; padding: 12px; border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none; text-align: center;
}
.qr-popup::before {
    content: ''; position: absolute; right: -6px; top: 50%; margin-top: -6px;
    border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid white;
}
.qr-popup img { width: 100%; border-radius: 8px; margin-bottom: 8px; }
.qr-popup span { font-size: 12px; color: #64748b; font-weight: bold; }
.float-item:hover .qr-popup { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0) scale(1); }
.float-item.to-top:hover { color: #f59e0b; box-shadow: 0 15px 35px rgba(245, 158, 11, 0.2); }
/* ================= ⬇️ 请将以下代码追加到 style.css 末尾 ⬇️ ================= */

/* --- 1. 顶部导航栏右侧的登录板块 --- */
.auth-btn-login {
    background-color: #2563eb; /* 醒目的品牌蓝 */
    color: #ffffff !important; /* 强制白色文字 */
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3); /* 增加投影，更醒目 */
}
.auth-btn-login:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px); /* 鼠标悬停轻微上浮 */
}

/* --- 2. 登录后的用户头像与下拉菜单 --- */
.user-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    height: 100%;
}
.sys-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #a855f7); /* 随机渐变色背景 */
    color: #fff; font-size: 14px; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
}
/* ================== 3. 下拉菜单 (修复版) ================== */
.dropdown-menu {
    position: absolute; 
    top: 100%; /* 紧贴父容器底部 */
    right: 0; 
    width: 200px; /* 稍微宽一点，容纳内容 */
    background: #fff; 
    border: 1px solid #e5e7eb; 
    border-radius: 12px; /* 圆角加大 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 阴影加深 */
    
    display: flex;
    flex-direction: column; 
    padding: 8px; /* 内部留白 */
    z-index: 1000;
    
    /* 动画初始状态 */
    opacity: 0; 
    transform: translateY(10px); 
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

/* --- 关键修复：添加隐形桥梁防止鼠标悬停中断 --- */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px; /* 向上延伸，覆盖空隙 */
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* 触发显示 */
.group:hover .dropdown-menu { 
    opacity: 1; 
    transform: translateY(0); 
    visibility: visible; 
}

.user-trigger:hover .dropdown-menu { display: flex; } /* 悬停显示下拉 */
.drop-item { padding: 10px 16px; font-size: 14px; color: #555; transition: 0.2s; }
.drop-item:hover { background: #f3f4f6; color: #2563eb; }

/* --- 3. 会员中心布局 (User Center) --- */
.uc-layout {
    display: flex;
    max-width: 1200px; margin: 0 auto;
    min-height: 80vh;
}
.uc-sidebar {
    width: 224px; background: #fff; border-right: 1px solid #eee;
    padding: 16px; display: flex; flex-direction: column;
}
.uc-content { flex: 1; padding: 0 40px; }

/* 侧边栏菜单样式 */
.uc-menu-item {
    padding: 12px 15px; margin-bottom: 5px; border-radius: 6px;
    color: #666; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 10px;
    position: relative; overflow: visible;
}
.uc-menu-item:hover { background: #f9fafb; color: #333; }
.uc-menu-item.active { background: #eff6ff; color: #2563eb; font-weight: 600; }
.uc-menu-item.is-active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}
.uc-menu-item.is-active::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #93c5fd;
}
.uc-menu-item.is-active .uc-menu-icon {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.8);
}

/* 右侧内容卡片 */
.uc-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 25px; margin-bottom: 20px; }
.uc-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6; }

/* 表格样式 */
.uc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uc-table th { text-align: left; padding: 12px; background: #f9fafb; color: #888; border-bottom: 1px solid #eee; }
.uc-table td { padding: 12px; border-bottom: 1px solid #f9fafb; color: #333; }

/* 充值格子 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.price-box { border: 2px solid #eee; border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; transition: 0.2s; }
.price-box:hover, .price-box.active { border-color: #2563eb; background: #eff6ff; }/* ================== 6. 会员套餐卡片 (新增) ================== */
.plan-card {
    position: relative;
    border: 2px solid #e2e8f0; /* slate-200 */
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* 悬停效果：轻微上浮 + 阴影 */
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* 选中状态：蓝框 + 浅蓝背景 */
.plan-card.selected {
    border-color: #2563eb; /* blue-600 */
    background-color: #eff6ff; /* blue-50 */
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); /* 外部光晕 */
}

/* 选中时的右上角角标 (纯CSS绘制) */
.plan-card.selected::after {
    content: '✓';
    position: absolute;
    top: 0;
    right: 0;
    background: #2563eb;
    color: white;
    width: 32px;
    height: 32px;
    border-bottom-left-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* 热销标签样式 */
.badge-hot {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 99px 0 0 99px;
    position: absolute;
    top: 20px;
    right: 0;
    box-shadow: -2px 4px 8px rgba(217, 119, 6, 0.2);
}/* ================== 7. 支付弹窗动画 ================== */
/* 显示状态：背景变黑 */
#payModal.open #payModalBackdrop {
    opacity: 1;
}

/* 显示状态：弹窗放大并完全不透明 */
#payModal.open #payModalContent {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/* ================== 9. 文档上传组件 ================== */

/* 拖拽激活状态 (JS会添加这个类) */
#dropZone.drag-active {
    border-color: #2563eb;
    background-color: #eff6ff; /* blue-50 */
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

/* 进度条流光动画 */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.animate-shimmer {
    animation: shimmer 1.5s infinite linear;
}

/* 列表进入动画 */
.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ================== 11. 业务记录 Tab 与按钮 ================== */

/* 顶部 Tab 按钮 */
.history-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b; /* slate-500 */
    transition: all 0.2s ease;
    white-space: nowrap;
}

.history-tab:hover {
    background-color: #f1f5f9; /* slate-100 */
    color: #334155;
}

/* 激活状态的 Tab */
.history-tab.active {
    background-color: #eff6ff; /* blue-50 */
    color: #2563eb; /* blue-600 */
}

/* 业务类型小标签 */
.badge-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

/* 操作按钮 - 主要 (下载/查看) */
.btn-action-primary {
    font-size: 12px;
    font-weight: bold;
    color: #2563eb;
    background-color: #eff6ff;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}
.btn-action-primary:hover {
    background-color: #2563eb;
    color: white;
}

/* 操作按钮 - 支付 */
.btn-action-pay {
    font-size: 12px;
    font-weight: bold;
    color: #ea580c; /* orange-600 */
    border: 1px solid #fed7aa;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}
.btn-action-pay:hover {
    background-color: #ea580c;
    color: white;
    border-color: #ea580c;
}
/* ================== 12. 历史记录操作按钮优化 ================== */

/* 1. 纯图标按钮 (用于查看、编辑等次要操作) */
.btn-icon-text {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    background-color: transparent;
}
.btn-icon-text:hover {
    background-color: #f1f5f9; /* slate-100 */
}

/* 2. 删除按钮 (默认浅灰，悬停变红) */
.btn-icon-delete {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #cbd5e1; /* slate-300 非常淡，不抢眼 */
    transition: all 0.2s;
    margin-left: 4px; /* 与左边按钮拉开一点距离 */
}
.btn-icon-delete:hover {
    background-color: #fef2f2; /* red-50 */
    color: #ef4444; /* red-500 */
}

/* 3. 按钮组容器微调 */
td .flex.justify-end {
    /* 保证按钮在一行排列 */
    flex-wrap: nowrap; 
}
/* ================== 13. 操作栏下拉菜单 ================== */

/* 下拉菜单容器动画 */
.dropdown-menu {
    transform-origin: top right;
    animation: dropdownScale 0.2s ease-out forwards;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15); /* 稍微强一点的阴影 */
}

@keyframes dropdownScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* 隐藏滚动条但允许滑动 */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 右侧遮罩，提示用户还有更多 Tab */
.mask-linear-fade {
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}
/* 隐藏时的基础状态已在 HTML 的 Tailwind 类中定义 (opacity-0 scale-95) */

/* ===== 2026-02 Turnitin-style refresh: nav + sidebar + service layout ===== */
:root {
    --ph-page-bg: #f3f7fc;
    --ph-surface: #ffffff;
    --ph-text: #17324d;
    --ph-muted: #5f7b97;
    --ph-border: #d7e2ee;
    --ph-primary: #1d5fa9;
    --ph-primary-soft: #eaf3fd;
}

body {
    background: var(--ph-page-bg);
    color: var(--ph-text);
}

body.mobile-nav-open {
    overflow: hidden;
}

#mainNav.glass-nav {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--ph-border);
    box-shadow: 0 1px 2px rgba(23, 50, 77, 0.06);
}

#mainNav .nav-item {
    color: #365270;
    border-radius: 0;
    background: transparent !important;
    transition: color 0.2s ease;
    position: relative;
}

#mainNav .nav-item::after {
    top: auto;
    bottom: 1px;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    border-radius: 99px;
    background: #8fb6df;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#mainNav .nav-item:hover {
    color: var(--ph-primary);
}

#mainNav .nav-item:hover::after,
#mainNav .nav-item.nav-active::after {
    opacity: 1;
}

#mainNav .nav-item.nav-active {
    color: #184f8a !important;
    font-weight: 700;
}

#mainNav .auth-btn-login {
    background: #2b65ad;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(43, 101, 173, 0.26);
}

#mainNav .auth-btn-login:hover {
    background: #1e579c;
    transform: translateY(-1px);
}

#mainNav .sys-avatar {
    background: #e5effb;
    color: #1e4d86;
}

#mainNav .nav-dropdown {
    width: 230px;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 42, 67, 0.14);
    padding: 8px;
    background: #ffffff;
}

#mainNav .mobile-nav-panel {
    box-shadow: 0 8px 24px rgba(12, 32, 54, 0.08);
}

#mainNav .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #2f4b69;
    font-size: 13px;
    font-weight: 600;
}

#mainNav .mobile-helper-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    border-radius: 0;
    border-bottom: 2px solid #d6e6f7;
}

.service-page {
    background: var(--ph-page-bg);
}

.uc-layout.service-layout {
    max-width: 1280px;
    gap: 20px;
    align-items: flex-start;
}

.service-sidebar-wrap {
    top: 92px;
}

.uc-sidebar {
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    background: var(--ph-surface);
    box-shadow: 0 2px 8px rgba(15, 42, 67, 0.04);
}

.uc-sidebar-nav {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uc-group-title {
    margin: 0 0 6px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a93ad;
}

.uc-menu-item {
    margin-bottom: 0;
    min-height: 42px;
    border: none;
    border-radius: 0;
    padding: 0.52rem 0.68rem;
    color: #2f4b69;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    background: transparent !important;
    text-decoration: none !important;
}

.uc-menu-item:hover {
    color: #17497f;
    transform: none;
}

.uc-menu-main {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    line-height: 1.25;
    padding-bottom: 6px;
}

.uc-menu-main::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: #9ab9d9;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.uc-menu-item:hover .uc-menu-main::after,
.uc-menu-item.is-active .uc-menu-main::after {
    opacity: 1;
}

.uc-menu-icon {
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #2e6299;
    box-shadow: none;
    transition: color 0.2s ease;
}

.uc-menu-item.is-active {
    background: transparent !important;
    border: none !important;
    color: #1a4f87 !important;
    box-shadow: none !important;
}

.uc-menu-item.is-active::after {
    content: none !important;
}

.uc-menu-item.is-active .uc-menu-icon {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

.uc-accent-blue { --uc-accent: #246bb3; }
.uc-accent-purple { --uc-accent: #7a48bd; }
.uc-accent-emerald { --uc-accent: #198a66; }
.uc-accent-cyan { --uc-accent: #0f7da6; }
.uc-accent-amber { --uc-accent: #b37a15; }
.uc-accent-red { --uc-accent: #c84747; }
.uc-accent-indigo { --uc-accent: #4d5fc1; }
.uc-accent-sky { --uc-accent: #2c7db8; }

.uc-menu-item.uc-accent-blue,
.uc-menu-item.uc-accent-purple,
.uc-menu-item.uc-accent-emerald,
.uc-menu-item.uc-accent-cyan,
.uc-menu-item.uc-accent-amber,
.uc-menu-item.uc-accent-red,
.uc-menu-item.uc-accent-indigo,
.uc-menu-item.uc-accent-sky {
    color: #2f4b69;
}

.uc-menu-item.uc-accent-blue .uc-menu-icon,
.uc-menu-item.uc-accent-purple .uc-menu-icon,
.uc-menu-item.uc-accent-emerald .uc-menu-icon,
.uc-menu-item.uc-accent-cyan .uc-menu-icon,
.uc-menu-item.uc-accent-amber .uc-menu-icon,
.uc-menu-item.uc-accent-red .uc-menu-icon,
.uc-menu-item.uc-accent-indigo .uc-menu-icon,
.uc-menu-item.uc-accent-sky .uc-menu-icon {
    color: var(--uc-accent);
}

.uc-menu-item.uc-accent-blue::after,
.uc-menu-item.uc-accent-purple::after,
.uc-menu-item.uc-accent-emerald::after,
.uc-menu-item.uc-accent-cyan::after,
.uc-menu-item.uc-accent-amber::after,
.uc-menu-item.uc-accent-red::after,
.uc-menu-item.uc-accent-indigo::after,
.uc-menu-item.uc-accent-sky::after {
    background: var(--uc-accent);
}

.uc-menu-item.uc-accent-blue .uc-menu-main::after,
.uc-menu-item.uc-accent-purple .uc-menu-main::after,
.uc-menu-item.uc-accent-emerald .uc-menu-main::after,
.uc-menu-item.uc-accent-cyan .uc-menu-main::after,
.uc-menu-item.uc-accent-amber .uc-menu-main::after,
.uc-menu-item.uc-accent-red .uc-menu-main::after,
.uc-menu-item.uc-accent-indigo .uc-menu-main::after,
.uc-menu-item.uc-accent-sky .uc-menu-main::after {
    background: var(--uc-accent);
}

.uc-menu-text {
    display: inline-block;
    color: #2f4b69;
    transition: transform 0.2s ease, color 0.2s ease;
    transform-origin: left center;
}

.uc-menu-item:hover .uc-menu-text {
    transform: scale(1.06);
    color: var(--uc-accent, #1f5b98);
}

.uc-menu-item.is-active .uc-menu-text {
    transform: scale(1.08);
    color: var(--uc-accent, #1f5b98);
    font-weight: 700;
}

.uc-menu-item.is-active.uc-accent-blue,
.uc-menu-item.is-active.uc-accent-purple,
.uc-menu-item.is-active.uc-accent-emerald,
.uc-menu-item.is-active.uc-accent-cyan,
.uc-menu-item.is-active.uc-accent-amber,
.uc-menu-item.is-active.uc-accent-red,
.uc-menu-item.is-active.uc-accent-indigo,
.uc-menu-item.is-active.uc-accent-sky {
    color: var(--uc-accent) !important;
}

.service-shell {
    border: 1px solid var(--ph-border) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 3px 10px rgba(15, 42, 67, 0.05) !important;
    overflow: hidden;
}

.service-shell table thead {
    background: #f6f9fc !important;
}

.service-shell table thead th {
    color: #5d7893 !important;
    font-weight: 600 !important;
}

.service-shell table tbody td {
    color: #2f4b69;
}

@media (max-width: 1279px) {
    #mainNav .nav-shell {
        max-width: 100%;
    }
}

@media (max-width: 1023px) {
    main {
        padding-top: 72px;
    }

    .uc-layout.service-layout {
        gap: 12px;
    }

    .service-sidebar-wrap {
        position: sticky;
        top: 72px;
        width: 100% !important;
        z-index: 30;
    }

    .uc-sidebar {
        border-radius: 14px;
    }

    .uc-sidebar-nav {
        padding: 10px;
        gap: 8px;
    }

    .uc-sidebar .uc-group-title {
        display: none;
    }

    .uc-sidebar .space-y-2 {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .uc-menu-item {
        border-radius: 0;
        min-height: 36px;
        padding: 0.38rem 0.62rem;
        font-size: 13px;
    }

    .uc-menu-main {
        padding-bottom: 4px;
    }

    .uc-menu-item:hover {
        transform: none;
    }

    .uc-menu-icon {
        width: 22px;
        height: 22px;
        border-radius: 0;
        font-size: 11px;
    }

    .uc-menu-item span:last-child {
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    #mainNav .auth-btn-login {
        padding: 0.46rem 0.86rem;
        font-size: 13px;
    }

    #mainNav .user-trigger .dropdown-menu {
        right: 0;
        width: min(320px, 92vw) !important;
    }

    .service-shell {
        border-radius: 14px !important;
    }
}
