/* --- 全局样式与变量 --- */
:root {
    --primary-color: #0077ff;
    --dark-bg: #0a0c1f;
    --light-bg: #f5f8ff;
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-secondary: #5a6a8a;
    --border-color: rgba(0, 0, 0, 0.08);
    --dark-text-color: #e0e0e0;
    --dark-text-secondary: #a0a0c0;
    --instruction-bg: #f8f9fa;
    --success-color: #28a745;
    --error-color: #dc3545;
    --tag-bg-1: rgba(0, 123, 255, 0.1);
    --tag-color-1: #007bff;
    --tag-bg-2: rgba(23, 162, 184, 0.1);
    --tag-color-2: #17a2b8;
    --tag-bg-3: rgba(108, 117, 125, 0.1);
    --tag-color-3: #6c757d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
    flex: 1;
}

/* --- Header --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(10, 12, 31, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 60px;
    vertical-align: middle;
}

.nav-left {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav-item a {
    color: var(--light-bg, #f5f8ff);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-item > a:hover, .nav-item.active > a {
    color: var(--primary-color, #0077ff);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--card-bg, #ffffff);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    min-width: 160px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    color: var(--text-color, #333333);
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 170, 255, 0.1);
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Compact icon-only Report Center button */
.nav-actions .report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #e6e8f0;
    transition: background 0.2s ease, color 0.2s ease;
}
.nav-actions .report-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.icon-report {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Hide legacy text Report Center button */
.nav-actions .report-center-btn {
    display: none !important;
}

/* 用户头像样式 */
.user-avatar {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.avatar-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    transition: border-color 0.3s ease;
}

.user-avatar:hover .avatar-img {
    border-color: var(--primary-color);
}

.user-avatar .dropdown-menu {
    right: 0;
    left: auto;
    transform: none;
    top: calc(100% + 10px);
    min-width: 140px;
}

/* 登录模态框样式 */


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg, #0a0c1f);
    padding: 40px 0 20px 0;
    text-align: center;
    color: var(--dark-text-color, #e0e0e0);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--dark-text-color, #e0e0e0);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color, #0077ff);
}

.footer-copyright {
    color: var(--dark-text-secondary, #a0a0c0);
    font-size: 0.9rem;
    margin: 0;
}

/* ---通用组件--- */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color, #0077ff);
    color: white;
}

.btn-primary:hover {
    background-color: #0066dd;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-bg, #f5f8ff);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.page-banner {
    width: 100%;
    height: 330px;
    padding-top: 90px; /* 确保内容在导航栏下方 */
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-banner.banner-bg {
    background-image: url('../image/imgtop.png');
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 0 15px 0;
}

.banner-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* 移除旧的 .page-banner 样式 */
/*
.page-banner {
    padding: 120px 0 60px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1c3c 100%);
    color: #fff;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin: 0 0 15px 0;
}

.page-banner p {
    font-size: 1.1rem;
    color: var(--dark-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}
*/

/* --- Analysis Page --- */
.workspace-page { padding: 60px 0; }
.workspace-container { background-color: var(--card-bg); border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.main-tab-nav { display: flex; border-bottom: 1px solid var(--border-color); }
.main-tab-link { flex: 1; padding: 20px; text-align: center; font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); background: none; border: none; cursor: pointer; transition: color 0.3s, border-bottom-color 0.3s; border-bottom: 3px solid transparent; }
.main-tab-link.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.main-tab-pane { display: none; }
.main-tab-pane.active { display: block; }
.main-tab-pane.active.animated { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-type-container { padding: 40px 50px 50px 50px; }
.sub-tab-nav { display: flex; gap: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
.sub-tab-link { padding: 10px 5px; font-size: 1rem; font-weight: 500; color: var(--text-secondary); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; transition: color 0.3s, border-bottom-color 0.3s; }
.sub-tab-link.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.sub-tab-pane { display: none; }
.sub-tab-pane.active { display: block; animation: fadeIn 0.5s ease; }
.search-form { display: flex; gap: 15px; }
.search-input { flex-grow: 1; padding: 15px 20px; font-size: 1rem; background-color: #fff; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-color); transition: border-color 0.3s, box-shadow 0.3s; }
.search-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2); }
.quick-commands-container { margin-top: 30px; }
.quick-commands-container h4 { margin: 0 0 15px 0; color: var(--text-secondary); font-weight: 500; }
.quick-commands-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-command-btn { padding: 6px 16px; background-color: #f8f9fa; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 20px; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.quick-command-btn:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.instruction-box { margin-top: 25px; padding: 20px; background-color: var(--instruction-bg); border-radius: 8px; border: 1px solid var(--border-color); }
.instruction-box h4 { margin: 0 0 10px 0; color: var(--text-color); }
.instruction-box ul { padding-left: 20px; margin: 0; color: var(--text-secondary); font-size: 0.9rem; }
.instruction-box code { background-color: rgba(0, 0, 0, 0.2); padding: 2px 6px; border-radius: 4px; font-family: monospace; }

.upload-content-wrapper { 
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 让内容居中 */
}

.upload-area { 
    border: 2px dashed #a0a0c0; /* 虚线颜色变浅 */
    border-radius: 12px; 
    padding: 60px 20px; 
    text-align: center; 
    cursor: pointer; 
    transition: background-color 0.3s, border-color 0.3s;
    width: 100%;
    max-width: 600px; /* 限制最大宽度 */
    background-color: #fdfdff;
}

.upload-area.drag-over { 
    border-color: var(--primary-color); 
    background-color: rgba(0, 119, 255, 0.05); 
}

.upload-icon {
    font-size: 3.5rem; /* 增大图标 */
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    background-image: url('../image/upload-white.svg'); /* 使用SVG图标 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

.upload-area h3 { 
    margin: 10px 0 10px 0; 
    font-size: 1.3rem; /* 增大标题字号 */
    color: var(--text-color); 
}

.upload-area p { 
    margin: 0; 
    color: var(--text-secondary); 
    font-size: 0.95rem;
}

#file-input { display: none; }

.file-list-container { 
    margin-top: 30px; /* 增加与上方间距 */
    max-height: 180px; 
    overflow-y: auto; 
    padding-right: 10px; 
    width: 100%;
    max-width: 600px;
}

.file-item { 
    background-color: #f8f9fa; 
    padding: 12px 20px; /* 增加内边距 */
    border-radius: 8px; /* 更圆润的边角 */
    margin-bottom: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 0.95rem; 
    color: var(--text-secondary); 
    border: 1px solid var(--border-color);
}

.remove-file-btn { 
    color: #ff4d4d; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1.4rem; /* 增大删除按钮 */
    transition: color 0.2s;
}
.remove-file-btn:hover {
    color: #d90429;
}

/* 文件错误样式 */
.file-error {
    border-color: var(--error-color) !important;
    background-color: #fff5f5 !important;
}

.file-error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.agreement-container { display: flex; align-items: center; justify-content: center; margin-top: 30px; }
#agreement-checkbox { display: none; }
.agreement-label { display: flex; align-items: center; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); }
.agreement-label a { color: var(--primary-color); text-decoration: underline; margin-left: 4px; }
.custom-checkbox { display: inline-block; width: 20px; height: 20px; background-color: #f8f9fa; border: 1px solid var(--border-color); border-radius: 6px; margin-right: 12px; transition: background-color 0.3s; position: relative; }
.custom-checkbox::after { content: ''; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--primary-color); border-width: 0 3px 3px 0; transform: rotate(45deg); }
#agreement-checkbox:checked+.agreement-label .custom-checkbox::after { display: block; }
.upload-action-container { text-align: center; margin-top: 25px; }

/* --- Report Detail Page (POE Style) --- */
.report-detail-page { 
    padding: 60px 0; 
    background-color: var(--light-bg); /* 使用项目已有的浅色背景 */
}

.report-layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* 左侧内容，右侧图表 */
    gap: 30px;
}

.main-content .card {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar .card {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 25px;
    margin-bottom: 30px;
}

.card-title {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px; /* 图标与文字间距 */
}

.card-title i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.main-content p, .main-content li {
    line-height: 1.8;
    color: var(--text-secondary);
}

.main-content ul, .main-content ol {
    padding-left: 25px;
}

.main-content li { margin-bottom: 10px; }
.main-content strong { color: var(--text-color); font-weight: 600; }

.conclusion-card {
    background-color: #f0f6ff; /* 淡蓝色背景 */
    border-left: 4px solid var(--primary-color);
}

.sidebar .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.sidebar .info-list i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.sidebar .info-list .label {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 8px;
}

.chart-container {
    position: relative;
    height: 220px;
    width: 100%;
    margin-top: 15px;
}

.chart-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-center-text .value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.chart-center-text .label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.report-actions {
    padding: 0; /* 移除内边距，因为已在 .card 中设置 */
    margin: 0;
    display: flex;
    flex-direction: column; /* 垂直排列按钮 */
    gap: 15px;
}

.report-actions .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .report-layout {
        grid-template-columns: 1fr; /* 变为单栏布局 */
    }
    .sidebar {
        order: -1; /* 在移动端将侧边栏置顶 */
    }
}


/* --- Report Page --- */
.report-center-page { padding: 60px 0; }
.report-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.report-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px; /* 更圆润的边角 */
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.4s ease; /* 动画更平滑 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* 默认阴影更柔和 */
}

.report-card:hover {
    transform: translateY(-8px); /* 悬浮效果更明显 */
    box-shadow: 0 12px 30px rgba(0, 119, 255, 0.18); /* 悬浮阴影更突出 */
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-color);
    line-height: 1.5; /* 调整行高以更好地适应容器 */
    height: calc(1.1rem * 1.5 * 2); /* 精确计算两行的高度 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* 添加标准属性以提高兼容性 */
    -webkit-box-orient: vertical;
}

.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--primary-color); }

.card-meta {
    font-size: 0.85rem; /* 稍微缩小元信息字号 */
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-meta span {
    display: block; /* 让创建时间和报告编号换行显示 */
    margin-bottom: 4px;
}

.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 20px; }

/* -- 状态徽章 -- */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 8px; /* 使用 gap 替代 margin */
}

.status-badge::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

/* 已解锁状态 */
.status-unlocked {
    background-color: rgba(34, 197, 94, 0.15); /* 鲜绿色背景 */
    color: #16a34a; /* 深绿色文字 */
}
.status-unlocked::before {
    background-color: #22c55e;
}

/* 待解锁状态 - 更新为红色 */
.status-pending {
    background-color: rgba(239, 68, 68, 0.15); /* 鲜红色背景 */
    color: #ef4444; /* 深红色文字 */
}
.status-pending::before {
    background-color: #f87171;
    animation: pulse-red 1.8s infinite cubic-bezier(0.66, 0, 0, 1); /* 使用红色动画 */
}

/* 移除蓝色动画，新增红色动画 */
@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

/* -- 操作按钮 -- */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: transparent;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-buttons .btn svg {
    width: 18px;
    height: 18px;
}

/* 图标按钮悬停效果 */
.action-buttons .btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.action-buttons .btn-view:hover {
    color: var(--primary-color);
}

.action-buttons .btn-unlock:hover {
    color: var(--primary-color);
}

.action-buttons .btn-delete:hover {
    color: var(--error-color);
}

.empty-state-container { background-color: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 4rem; color: var(--primary-color); opacity: 0.5; margin-bottom: 20px; }
.empty-state h3 { font-size: 1.5rem; color: var(--text-color); margin-bottom: 15px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 30px; }
.pagination { display: flex; justify-content: center; align-items: center; margin-top: 40px; }
.pagination a { color: var(--text-secondary); padding: 8px 16px; text-decoration: none; border-radius: 6px; margin: 0 4px; transition: background-color 0.2s, color 0.2s; background-color: var(--card-bg); border: 1px solid var(--border-color); }
.pagination a:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.pagination a.active { background-color: var(--primary-color); color: #fff; font-weight: 600; }
.pagination a.disabled { opacity: 0.5; cursor: not-allowed; }
.pagination a.disabled:hover { background-color: transparent; color: var(--text-secondary); }

/* --- News Page --- */
.news-page { padding: 60px 0; }
.filter-controls { margin-bottom: 50px; }
.search-container { max-width: 700px; margin: 0 auto 30px auto; display: flex; }
.search-container input { flex-grow: 1; padding: 12px 20px; font-size: 1rem; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 50px 0 0 50px; color: var(--text-color); outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.search-container input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2); }
.search-container button { padding: 12px 25px; background: linear-gradient(90deg, #0077ff, #0055cc); border: none; color: #fff; cursor: pointer; border-radius: 0 50px 50px 0; font-size: 1.1rem; }
.category-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.filter-btn { padding: 8px 25px; border-radius: 50px; background-color: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; }
.filter-btn:hover, .filter-btn.active { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.article-card { background-color: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 119, 255, 0.15); }
.article-card .card-image { height: 200px; width: 100%; object-fit: cover; }
.article-card .card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.article-card .card-category { display: inline-block; padding: 4px 12px; border-radius: 15px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; align-self: flex-start; }
.tag-tech { background-color: var(--tag-bg-1); color: var(--tag-color-1); }
.tag-industry { background-color: var(--tag-bg-2); color: var(--tag-color-2); }
.tag-policy { background-color: var(--tag-bg-3); color: var(--tag-color-3); }
.article-card .card-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 10px 0; color: var(--text-color); line-height: 1.4; }
.article-card .card-title a:hover { color: var(--primary-color); }
.article-card .card-excerpt { color: var(--text-secondary); margin-bottom: 15px; font-size: 0.9rem; flex-grow: 1; }
.article-card .card-meta { font-size: 0.85rem; color: var(--text-secondary); }
.pagination { margin-top: 50px; }
.pagination a { border: 1px solid var(--border-color); background-color: var(--card-bg); }
.pagination a:hover { border-color: var(--primary-color); }
.pagination a.active { border-color: var(--primary-color); }

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-actions { gap: 10px; }
    .btn { padding: 8px 16px; font-size: 0.9rem; }
    .footer { padding: 30px 0 15px 0; }
    .footer-nav { gap: 20px; flex-direction: column; align-items: center; }
    .page-header h1 { font-size: 2.2rem; }
    .search-type-container, .upload-content-wrapper { padding: 30px 20px; }
    .search-form { flex-direction: column; }
}

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

@media (min-width: 1024px) {
    .news-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 在现有的 News Page 样式后添加以下样式 */

/* --- 横排新闻列表样式 --- */
.news-list-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.1);
    border-color: var(--primary-color);
}

.news-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 25px;
    min-width: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.1), rgba(0, 119, 255, 0.05));
    border-radius: 8px;
    padding: 10px 0;
    border: 1px solid rgba(0, 119, 255, 0.2);
}

.news-content {
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 10px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--primary-color);
}

.news-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .news-number {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .news-content {
        text-align: left;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* 新闻详情页样式 */
.news-detail-page {
    padding: 60px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
    gap: 60px;
}

/* 文章主体区域 */
.article-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* 文章头部 */
.article-header {
    padding: 40px;
    background-color: #f7f9fc;
}

.article-header .category-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.4rem;
    color: var(--dark-text);
    margin: 0 0 20px 0;
    line-height: 1.3;
    font-weight: 600;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 文章正文 */
.article-body {
    padding: 40px;
    line-height: 1.8;
}

.article-body p {
    font-size: 1.05rem;
    margin: 0 0 1.5em 0;
    color: var(--light-text);
}

.article-body h2, .article-body h3 {
    color: var(--dark-text);
    margin-top: 2.5em;
    margin-bottom: 1em;
    line-height: 1.4;
    font-weight: 600;
}

.article-body h2 {
    font-size: 1.5rem;
}

.article-body h3 {
    font-size: 1.3rem;
}

.article-body ul, .article-body ol {
    padding-left: 25px;
    margin-bottom: 1.5em;
}

.article-body li {
    margin-bottom: 0.5em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.article-body blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    background-color: #f7f9fc;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--light-text);
}

/* 侧边栏 */
.sidebar .sidebar-widget {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    background: #fff;
}

.sidebar .widget-title {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.related-article-item {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.2s;
    padding: 10px;
    border-radius: 8px;
}

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

.related-article-item:hover {
    background-color: #f7f9fc;
}

.related-article-item:hover h5 {
    color: var(--primary-color);
}

.related-article-item h5 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-text);
    transition: color 0.2s;
    font-weight: 500;
}

.related-article-item span {
    font-size: 0.85rem;
    color: var(--light-text);
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f7f9fc;
    color: var(--light-text);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .news-detail-page {
        padding: 40px 0;
    }
    
    .article-header, .article-body {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: var(--error-color);
    text-align: center;
    padding: 20px;
}

/* --- Patent Search Results UI --- */

.search-results-container {
    margin-top: 30px;
    padding: 0;
    background-color: transparent;
    border: none;
}

.search-results-container h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 600;
}

.patent-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.patent-card:hover {
    border-color: #e0e6f1;
    box-shadow: 0 6px 20px rgba(0, 33, 89, 0.08);
}

.patent-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 12px 0;
}

.patent-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
}

.patent-abstract {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
}

.patent-tags {
    margin-bottom: 20px;
}

.patent-tags span {
    display: inline-block;
    background-color: #f1f3f5;
    color: #495057;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.patent-actions {
    display: flex;
    gap: 12px;
}

.btn-action {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: var(--dark-text);
}

.btn-action:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-results-container h3 {
        font-size: 1.5rem;
    }
    .patent-card {
        padding: 20px;
    }
    .patent-title {
        font-size: 1.15rem;
    }
}

/* --- Enhanced Patent Card Actions --- */

.patent-actions .btn-primary-action {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.patent-actions .btn-primary-action:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
}

.patent-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.patent-title a:hover {
    color: var(--primary-color);
}

.patent-actions .btn-secondary {
    background-color: #fff;
    color: #0077ff;
    border: 1.5px solid #0077ff;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.patent-actions .btn-secondary:hover {
    background-color: #e6f0fa;
    color: #0077ff;
    border: 1.5px solid #0077ff;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.icon-logout {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-actions .logged-in {
    display: none;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #e6e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
