/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --primary-hover: #0052CC;
    --primary-light: #E6F0FF;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #ffffff;
    min-height: 100vh;
}

/* 主容器背景 */
.main-wrapper {
    background: var(--bg-secondary);
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    height: 70px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* 导航栏搜索框 */
.nav-search {
    position: relative;
}

.nav-search .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.nav-search .search-form:focus-within {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.nav-search .search-btn {
    background: var(--primary-color);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
    padding: 0;
}

.nav-search .search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.nav-search .search-btn span {
    font-size: 16px;
}

.nav-search .search-input {
    width: 180px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-search .search-input::placeholder {
    color: var(--text-tertiary);
}

.nav-search .search-input:focus {
    width: 240px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

/* 首页 - 新布局 */
.home-main {
    display: flex;
    gap: 32px;
    padding: 16px 0 48px;
}

.home-content {
    flex: 1;
    min-width: 0;
}

.home-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 专题轮播区 */
.topic-carousel-section {
    background: var(--bg-primary);
    padding: 24px 0;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.topic-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.topic-carousel-item {
    position: relative;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.topic-carousel-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.topic-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-carousel-item .topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 15px 15px;
    color: white;
}

.topic-carousel-item .topic-name {
    font-size: 1rem;
    font-weight: 600;
}

/* 第一屏：Hero区域 */
.hero-section {
    margin-bottom: 20px;
    padding-top: 32px;
    position: relative;
    z-index: 1;
}

.hero-section .container {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    height: 420px;
}

/* 左侧：专题轮播（最新4个专题） */
.hero-left {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.topic-slider {
    width: 100%;
    height: 100%;
    position: relative !important;
    border-radius: var(--radius-md);
    overflow: hidden !important;
    background: var(--bg-tertiary);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.topic-slide {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    display: none;
    transition: opacity 0.5s ease;
    cursor: pointer;
    overflow: hidden !important;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    z-index: 1;
}

.topic-slide.active {
    display: block !important;
    z-index: 2;
}

.topic-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    box-sizing: border-box !important;
}

.topic-slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 40px 16px 16px;
    color: white;
}

.topic-slide .slide-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.topic-slide .slide-info {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* 轮播指示器 */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 右侧：专题图片列表 + 精华资源 */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    min-width: 0;
}

/* 右侧上方：3张专题图片（第5、6、7个专题） */
.topic-images-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 205px;
    flex-shrink: 0;
}

.topic-image-item {
    position: relative !important;
    border-radius: 6px;
    overflow: hidden !important;
    cursor: pointer;
    transition: transform 0.3s;
    height: 100%;
}

.topic-image-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.topic-image-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    box-sizing: border-box !important;
}

.topic-image-item .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 8px 8px;
    color: white;
}

.topic-image-item .image-name {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右侧下方：精华资源列表（9条文本链接，随机加粗或标红） */
.featured-resources {
    flex: 1;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    overflow: hidden;
    min-height: 0;
}

.section-header-small {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2196F3;
}

.section-header-small h3 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.featured-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.featured-item:hover {
    background: #e3f2fd;
    transform: translateX(3px);
}

.featured-item .featured-index {
    font-size: 0.85rem;
    color: #2196F3;
    font-weight: bold;
    margin-right: 8px;
    min-width: 20px;
    flex-shrink: 0;
}

.featured-item .featured-title {
    flex: 1;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.featured-item.featured-hot .featured-title {
    color: #e53935;
    font-weight: 500;
}

.featured-item.featured-bold .featured-title {
    font-weight: bold;
    color: #2196F3;
}

.featured-item .featured-icon {
    font-size: 0.75rem;
    margin-left: 4px;
}

/* 搜索栏 - 内联简洁版（放在专题和最新资源之间） */
.search-section-inline {
    padding: 16px 0;
    margin-bottom: 0;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.search-section-inline .container {
    padding: 20px 24px;
}

.search-box-wrapper-inline {
    max-width: 800px;
    margin: 0 auto;
}

.search-section-inline .search-box {
    display: flex;
    gap: 8px;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, transform 0.2s;
}

.search-section-inline .search-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-section-inline .search-box:focus-within {
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
    background: #fff;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    border-radius: 25px 0 0 25px;
}

.search-box input::placeholder {
    color: #aaa;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.search-btn span {
    font-size: 16px;
}

/* 首页区块 */
.home-section {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.section-header-home h3 {
    font-size: 1.25rem;
    color: #333;
}

/* 简单列表模式 - 两栏式设计 */
.title-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* 文件列表项（迷你版） */
.file-item-mini {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.file-item-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #2196F3;
}

.file-info-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-title-mini {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s;
}

.file-item-mini:hover .file-title-mini {
    color: #2196F3;
}

.file-meta-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
}

.file-meta-mini span {
    display: flex;
    align-items: center;
    gap: 2px;
}

.title-list-item-simple {
    border-bottom: 1px dashed #e0e0e0;
}

.title-list-item-simple:last-child {
    border-bottom: none;
}

.title-list-item-simple .title-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 2;
    transition: color 0.2s;
    padding: 0 5px;
}

.title-list-item-simple .title-link:hover {
    color: #2196F3;
    background-color: #f8f9fa;
}

.title-list-item-simple .hot-icon {
    margin-right: 5px;
    font-size: 14px;
}

.title-list-item-simple .title-text {
    flex: 1;
}

/* 标题前面的点加粗加大 */
.title-list-item-simple .title-text::before {
    content: '·';
    font-weight: 900;
    font-size: 18px;
    margin-right: 5px;
}

.title-list-item-simple .publish-time {
    font-size: 12px;
    color: #999;
    margin-left: 15px;
    white-space: nowrap;
}

/* 随机加粗、标红等突出样式 */
.title-list-item-simple .title-link.bold {
    font-weight: bold;
}

.title-list-item-simple .title-link.red {
    color: #e53935;
}

.title-list-item-simple .title-link.bold.red {
    font-weight: bold;
    color: #e53935;
}

.title-list-item-simple .title-link.large {
    font-size: 15px;
}

/* 侧边栏 */
.sidebar-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.sidebar-box:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.125rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title .icon {
    font-size: 1.25rem;
}

/* 求资源列表 */
.request-list {
    /* 移除滚动条，自动高度 */
}

/* 精华资源列表 */
.featured-list {
    /* 自动高度 */
}

/* 侧边栏精华资源列表 */
.sidebar-featured-list {
    /* 单列列表布局 */
}

.sidebar-featured-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-featured-item:last-child {
    border-bottom: none;
}

.sidebar-featured-item .sidebar-featured-title {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-featured-item .sidebar-featured-title:hover {
    color: #2196F3;
}

.request-list-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-list-item:last-child {
    border-bottom: none;
}

.request-list-item .request-title {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.request-list-item .request-title:hover {
    color: #2196F3;
}

.request-list-item .request-meta {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    margin-left: 10px;
}

.request-list-item .status-pending {
    color: #ff9800;
}

.request-list-item .status-solved {
    color: #4caf50;
}

/* 首页侧边栏求资源样式 */
.request-item {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    cursor: pointer;
    transition: background 0.2s;
}

.request-item:last-child {
    border-bottom: none;
}

.request-item:hover {
    background: #f8f9fa;
}

.request-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.request-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

/* 状态标签 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-badge.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.status-solved {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.status-completed {
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
}

.status-badge.status-unknown {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.sidebar-more-link {
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    background: #f5f5f5;
    text-decoration: none;
    color: #2196F3;
    border-radius: 4px;
    transition: background 0.2s;
}

.sidebar-more-link:hover {
    background: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .nav-search .search-input {
        width: 160px;
    }

    .nav-search .search-input:focus {
        width: 200px;
    }
    .hero-grid {
        grid-template-columns: 1fr 2fr;
    }

    .topic-images-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .home-main {
        flex-direction: column;
    }

    .home-sidebar {
        width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-left {
        height: 300px;
    }

    .hero-right {
        height: auto;
    }

    .topic-images-list {
        grid-template-columns: repeat(3, 1fr);
        height: 150px;
    }

    .featured-resources {
        height: auto;
    }
}

@media (max-width: 768px) {
    .title-list {
        grid-template-columns: 1fr;
    }

    .topic-images-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-list {
        grid-template-columns: 1fr;
        height: auto;
    }

    .featured-item {
        height: auto;
    }
}

@media (max-width: 576px) {
    .topic-images-list {
        grid-template-columns: 1fr;
        height: auto;
    }

    .topic-image-item {
        height: 120px;
    }
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* 文件卡片 */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.file-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    cursor: pointer;
}
}

.file-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.file-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.file-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.file-meta {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.file-stats {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.875rem;
}

.platform-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #e3f2fd;
    color: #1976D2;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f3e5f5;
    color: #7B1FA2;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* 认证页面 */
.auth-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2196F3;
}

.form-actions {
    margin-bottom: 1rem;
    display: flex;
    gap: 12px;
}

.form-actions .btn-full {
    flex: 1;
}

.auth-footer {
    text-align: center;
    color: #666;
}

.auth-footer a {
    color: #2196F3;
    text-decoration: none;
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.message.success {
    background: #c8e6c9;
    color: #2e7d32;
    display: block;
}

.message.error {
    background: #ffcdd2;
    color: #c62828;
    display: block;
}

/* 发布页面 */
.publish-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.publish-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.publish-card h1 {
    margin-bottom: 0.5rem;
}

.publish-card .hint {
    color: #666;
    margin-bottom: 2rem;
}

.preview-section {
    margin: 2rem 0;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.preview-section h3 {
    margin-bottom: 1rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.preview-label {
    font-weight: 500;
    color: #666;
}

.preview-value {
    color: #333;
}

/* 资源列表页面 - 表格布局 */
.files-page {
    padding: 2rem 0;
    min-height: 80vh;
}

/* 表格链接样式 */
.table-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.table-link:hover {
    color: var(--primary-color);
}

/* 页面头部 */
.page-header-table {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.header-left h1 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 0.95rem;
    color: #666;
}

.header-right {
    display: flex;
    align-items: center;
}

.total-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 筛选和搜索栏 */
.filter-bar-table {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
    min-width: 140px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-group select:hover {
    border-color: #2196F3;
}

.filter-group select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* 搜索框 */
.search-box-table {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin-left: auto;
}

.search-box-table input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box-table input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.search-btn-table {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.search-btn-table:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.search-btn-table span {
    font-size: 1rem;
}

/* 表格容器 */
.table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.data-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid #555;
    white-space: nowrap;
}

.data-table th.format-column {
    width: 80px;
    text-align: center;
}

.data-table th.name-column {
    min-width: 300px;
    max-width: 500px;
}

.data-table th.tags-column {
    width: 220px;
}

.data-table th.date-column {
    width: 120px;
}

.data-table th.views-column {
    width: 90px;
    text-align: center;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
    line-height: 1.5;
}

/* 斑马纹 */
.data-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* 行悬停效果 */
.data-table tbody tr {
    transition: background-color 0.2s;
    cursor: pointer;
}

.data-table tbody tr:hover {
    background-color: #f0f7ff;
}

/* 资源格式图标 */
.file-format-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.format-folder { background: #FFE0B2; color: #E65100; }
.format-archive { background: #C5CAE9; color: #3F51B5; }
.format-video { background: #FFCDD2; color: #C62828; }
.format-audio { background: #C8E6C9; color: #2E7D32; }
.format-document { background: #B3E5FC; color: #0277BD; }
.format-software { background: #F8BBD0; color: #880E4F; }
.format-image { background: #DCEDC8; color: #33691E; }
.format-file { background: #E0E0E0; color: #616161; }

/* 资源名称 */
.file-name-cell .title-link,
.name-cell .title-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    line-height: 1.5;
    display: inline-block;
}

.file-name-cell .title-link:hover,
.name-cell .title-link:hover {
    color: #d32f2f;
    text-decoration: none;
}

.file-name-cell .title-link:visited,
.name-cell .title-link:visited {
    color: #333;
}

/* 标签 */
.tags-cell {
    white-space: nowrap;
    line-height: 1.5;
}

.tags-cell .tag-small {
    display: inline-block;
    padding: 2px 8px;
    background: #E3F2FD;
    color: #1976D2;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: middle;
    margin-right: 4px;
}

.tags-cell .tag-small:hover {
    background: #BBDEFB;
}

.tags-cell .more-tags {
    color: #999;
    font-size: 0.75rem;
    font-weight: 500;
    vertical-align: middle;
}

/* 日期 */
.date-cell {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* 浏览量 */
.views-cell {
    text-align: center;
    line-height: 1.5;
}

.views-count {
    display: inline-block;
    color: #666;
    font-weight: 500;
    line-height: 1.5;
    vertical-align: middle;
}

.views-count::before {
    content: '👁';
    font-size: 1rem;
}

/* 求资源表格特有样式 */
.title-column {
    min-width: 400px;
}

.status-column {
    text-align: center;
}

.status-cell {
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #FFF3E0;
    color: #E65100;
}

.status-solved {
    background: #E8F5E9;
    color: #1B5E20;
}

.status-completed {
    background: #E3F2FD;
    color: #0D47A1;
}

.status-unknown {
    background: #E0E0E0;
    color: #616161;
}

.request-title-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.request-desc-preview {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 广告行样式 */
.ad-row {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
}

.ad-row:hover {
    background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
}

.ad-row td {
    vertical-align: middle;
    padding: 14px 16px;
}

/* 广告两列布局 */
.ads-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.ad-banner-inline {
    position: relative;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #FF9800;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    transition: all 0.3s;
}

.ad-banner-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25);
}

.ad-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #FF9800;
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.ad-link-inline {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ad-content-inline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ad-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #E65100;
    margin-bottom: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ad-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 首页简单列表的广告样式 */
.title-list-item-simple.ad-item {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-left: 4px solid #FF9800;
    padding: 0;
}

.title-list-item-simple.ad-item .title-link {
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-list-item-simple.ad-item .title-link.ad-link {
    color: #E65100;
    font-weight: 600;
}

.title-list-item-simple.ad-item .ad-link:hover {
    color: #BF360C;
    background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
}

.title-list-item-simple.ad-item .ad-badge {
    display: inline-block;
    background: #FF9800;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .page-header-table {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-bar-table {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        flex: 1;
        width: 100%;
    }

    .search-box-table {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* 表格转为卡片视图 */
    .table-container {
        overflow-x: auto;
    }

    .data-table {
        min-width: 700px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }

    .data-table th.name-column {
        min-width: 200px;
    }

    /* 卡片视图（在小屏幕上） */
    .table-container::after {
        content: '← 向左滑动查看更多';
        display: block;
        text-align: center;
        padding: 10px;
        color: #999;
        font-size: 0.85rem;
        background: #f5f5f5;
    }
}

@media (max-width: 576px) {
    .header-left h1 {
        font-size: 1.4rem;
    }

    .total-count {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .search-box-table input,
    .search-btn-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .tag-small {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    /* 小屏幕广告单列显示 */
    .ads-grid-container {
        grid-template-columns: 1fr;
    }
}

/* 资源详情页面 - 新布局 */
/* 面包屑导航 */
.breadcrumb-container {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2196F3;
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* 详情页布局 */
.file-detail-page {
    padding: 32px 0 48px;
    min-height: 80vh;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
}

/* 右侧栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-download-card,
.sidebar-info-card,
.sidebar-hot-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-base);
}

.sidebar-download-card {
    position: sticky;
    top: 90px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.sidebar-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    color: white;
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.sidebar-content {
    padding: 20px;
}

/* 本月热门列表 */
.hot-resources-list {
    padding: 16px;
}

.hot-resource-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.hot-resource-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hot-resource-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.hot-rank {
    font-size: 1.1rem;
    font-weight: 700;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    flex-shrink: 0;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.hot-rank.top-3 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.hot-info {
    flex: 1;
    min-width: 0;
}

.hot-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.hot-meta {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
}

/* 猜你喜欢区域 */
.recommend-section {
    margin-top: 24px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.recommend-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.recommend-item {
    display: block;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-item:hover {
    background: #e3f2fd;
    color: var(--primary-color);
}

/* 底部两栏布局：猜你喜欢 + 热门标签 */
.bottom-two-column {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin-top: 24px;
}

.bottom-two-column .recommend-box,
.bottom-two-column .tags-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bottom-two-column .box-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.bottom-two-column .recommend-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.bottom-two-column .recommend-item {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-two-column .recommend-item:hover {
    background: #e3f2fd;
    color: var(--primary-color);
}

.bottom-two-column .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 专题区域 */
.topics-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.section-title-full {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-full .icon {
    font-size: 1.6rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.topic-card-tile {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topic-card-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.topic-image-tile {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.topic-overlay-tile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 1.25rem 1rem 1rem;
}

.topic-title-tile {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.topic-meta-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.topic-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 下载区域 */
.download-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-link-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.download-link-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.download-link-card.recommended {
    border-color: #FF9800;
    background: #FFF8E1;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.platform-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2196F3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-name::before {
    content: '📦';
    font-size: 1.2rem;
}

.recommend-badge {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.download-btn-main {
    display: block;
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.download-btn-main::before {
    content: '⬇ ';
    font-size: 1.1rem;
}

.extract-code-display {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.extract-code-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.extract-code-value {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #E53935;
    background: #FFEBEE;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.copy-code-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-code-btn:hover {
    background: #1976D2;
}

/* 资源信息卡片 */
.meta-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.meta-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.meta-info-item:last-child {
    border-bottom: none;
}

.meta-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.meta-label {
    color: #666;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.meta-value {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.meta-value.highlight {
    color: #2196F3;
}

/* 右侧主栏 */
.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-content-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.main-content-card .sidebar-title {
    padding-left: 1.5rem;
}

.content-body {
    padding: 1.5rem;
}

.resource-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.resource-summary {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2196F3;
}

.resource-summary p {
    margin: 0;
    color: #1565C0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.resource-summary p::before {
    content: '💡 ';
    font-size: 1.1rem;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.content-section h4::before {
    content: '▸ ';
    color: #2196F3;
}

.content-text {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 标签区域 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #E3F2FD;
    color: #1976D2;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.tag-link:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.tag-link::before {
    content: '#';
    margin-right: 0.25rem;
}

/* 相关资源 */
.related-resources-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.section-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-list {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.related-item:hover {
    background: #e3f2fd;
    transform: translateX(4px);
}

.related-icon {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-title {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-meta {
    color: #999;
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .sidebar-download-card {
        position: sticky;
        top: 10px;
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .file-detail-page {
        padding: 1rem 0 2rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .resource-title {
        font-size: 1.5rem;
    }

    .content-text {
        font-size: 0.9rem;
    }
}

.extract-code {
    font-family: monospace;
    font-size: 1.1rem;
    color: #333;
    letter-spacing: 2px;
}

.btn-copy {
    padding: 0.25rem 0.75rem;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-copy:hover {
    background: #1976D2;
}

/* 专题页面 */
.topics-page {
    padding: 2rem 0;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.topic-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.topic-card:hover {
    transform: translateY(-5px);
}

.topic-cover {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.topic-info {
    padding: 1.5rem;
}

.topic-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.topic-desc {
    color: #666;
    margin-bottom: 1rem;
}

.topic-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.875rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.page-link:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.page-link:active {
    transform: translateY(0) scale(0.97);
}

.page-link.active {
    border-color: #3b82f6;
    color: #3b82f6;
    font-weight: 600;
    transform: scale(1.05);
}

.page-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* 省略号样式 */
.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 分页信息 */
.pagination-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 4px;
}

.pagination-info span {
    white-space: nowrap;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pagination {
        gap: 0.35rem;
        padding: 1.25rem 0;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .page-link:hover {
        transform: translateY(-1px) scale(1.02);
    }

    .page-link.active {
        transform: scale(1.05);
    }

    .page-ellipsis {
        min-width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .pagination-info {
        display: none;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .page-link span {
        font-size: 0.9rem;
    }

    .page-ellipsis {
        min-width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .pagination {
        gap: 3px;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.75rem;
        border-radius: 4px;
    }

    .page-link span {
        font-size: 0.85rem;
    }

    .page-ellipsis {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

.page-ellipsis {
    padding: 0.6rem 0.5rem;
    color: #999;
}



.page-info {
    margin-left: 1rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== 页脚样式 ==================== */
.footer {
    background: #fff;
    color: #333;
    padding: 40px 0 20px;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* 友情链接区域 */
.footer-links-section {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.friend-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-list li {
    margin: 0;
}

.friend-links-list a {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.friend-links-list a:hover {
    background: #2196F3;
    color: #fff;
    border-color: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.copyright p {
    margin: 0;
    color: #999;
    font-size: 13px;
}

.copyright a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #2196F3;
}

/* 底部浮动工具栏 */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.fb-item {
    flex: 1;
}

.fb-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.fb-item a:hover {
    color: #2196F3;
    background: #f5f5f5;
}

.fb-item-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.fb-item span {
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 20px;
        margin-top: 30px;
        padding-bottom: 60px;
    }

    .copyright {
        padding-bottom: 60px;
    }

    .friend-links-list {
        gap: 8px;
    }

    .friend-links-list a {
        padding: 4px 10px;
        font-size: 13px;
    }
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.hidden-xs {
    display: block;
}

/* Widget样式 */
.footer-widget {
    margin-bottom: 30px;
}

.widget {
    margin-bottom: 20px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 8px;
}

.widget ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: #2196F3;
    padding-left: 5px;
}

/* 友情链接样式 */
.widget_links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget_links ul li {
    margin: 0;
}

.widget_links ul li a {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.widget_links ul li a:hover {
    background: #2196F3;
    color: #fff;
    border-color: #2196F3;
    padding-left: 10px;
}

/* 菜单样式 */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin-bottom: 8px;
}

.menu li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.menu li a:hover {
    color: #2196F3;
    padding-left: 5px;
}

/* 联系信息Widget */
.widget_contact {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    padding: 25px;
    border-radius: 8px;
    color: #fff;
}

.widget_contact .widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.widget-contact-wrap {
    text-align: center;
}

.widget-contact-tel {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.widget-contact-time {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.widget-contact-sns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.widget-contact-sns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.widget-contact-sns a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.copyright p {
    margin: 0;
    color: #999;
    font-size: 13px;
}

.copyright a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #2196F3;
}

/* 底部浮动工具栏 */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.fb-item {
    flex: 1;
}

.fb-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.fb-item a:hover {
    color: #2196F3;
    background: #f5f5f5;
}

.fb-item-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.fb-item span {
    font-size: 12px;
}

/* 栅格列系统 */
.col-md-4,
.col-md-6,
.col-sm-8,
.col-sm-16,
.col-xs-24 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* 大屏幕 */
@media (min-width: 992px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-offset-2 {
        margin-left: 16.666667%;
    }
}

/* 中等屏幕 */
@media (min-width: 768px) and (max-width: 991px) {
    .col-sm-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-sm-16 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 小屏幕 */
@media (max-width: 767px) {
    .col-xs-24 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hidden-xs {
        display: none !important;
    }

    .footer {
        padding: 30px 0 20px;
        margin-top: 30px;
        padding-bottom: 60px;
    }

    .widget_contact {
        margin-top: 20px;
    }

    .copyright {
        padding-bottom: 60px;
    }

    .widget-contact-tel {
        font-size: 24px;
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .widget-contact-tel {
        font-size: 28px;
    }
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty {
    text-align: center;
    padding: 4rem;
    color: #999;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* 标签样式 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #1976d2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.tag-small {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.file-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

/* 文件卡片网格布局 */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.file-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.file-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f5f5f5;
    color: #666;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.file-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.file-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 3.15rem;
}

.file-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* 通用样式 */
.empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.error {
    text-align: center;
    padding: 40px 20px;
    color: #e53935;
    font-size: 14px;
    background: #ffebee;
    border-radius: 8px;
    border: 1px dashed #ffcdd2;
}

.loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-search {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: white;
        width: 100%;
        height: calc(100vh - 64px);
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .file-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
    }

    .file-item {
        flex-direction: column;
    }

    .file-index {
        text-align: center;
    }

    .title-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .file-item-mini {
        padding: 12px;
    }

    .file-title-mini {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    .file-meta-mini {
        gap: 8px;
    }

    .home-main {
        flex-direction: column;
    }

    .home-sidebar {
        width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-right {
        margin-top: 20px;
    }

    .topic-images-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-list {
        grid-template-columns: 1fr;
    }

    .detail-header h1 {
        font-size: 1.5rem;
    }

    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .download-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Admin Request Cards */
.admin-request-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.admin-request-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.request-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.request-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.request-description {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.request-reply {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 4px solid #2196f3;
}

.reply-header {
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 6px;
}

.reply-content {
    line-height: 1.6;
    color: #424242;
}

.request-reply-section {
    margin-top: 12px;
}

.request-reply-section textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

.request-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.request-actions .btn {
    padding: 6px 12px;
    font-size: 13px;
}

/* Request Detail Modal */
.request-detail-modal {
    color: #333;
}

.request-detail-modal h2 {
    margin-top: 0;
    color: #2196f3;
    font-size: 24px;
}

.detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
}

.detail-section {
    margin: 20px 0;
}

.detail-section h3 {
    color: #555;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.detail-section p {
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Request Detail Page Styles */
.admin-reply {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
}

.admin-reply h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.reply-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 8px;
    line-height: 1.8;
    backdrop-filter: blur(10px);
}

.resource-link {
    color: #ffd700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.5);
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
    margin: 2px;
}

.resource-link:hover {
    color: #fff;
    background: rgba(255, 215, 0, 0.3);
    text-decoration: none;
    border-bottom-style: solid;
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
    }
}
