/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 0;
    font-size: 12px;
}

.top-bar .layui-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-left span {
    color: #666;
}

/* 地区筛选样式 */
.region-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-label {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.region-label i {
    color: #1890ff;
}

.region-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
    font-size: 12px;
}

.region-trigger:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.region-trigger i {
    font-size: 10px;
    transition: transform 0.3s;
}

.region-trigger:hover i {
    transform: rotate(180deg);
}

/* 地区选择弹窗样式 */
.region-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.region-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: 900px;
    max-width: 90%;
    height: 600px;
    max-height: 80vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.region-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.region-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.region-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.region-modal-close:hover {
    color: #333;
}

.region-modal-body {
    padding: 20px 30px;
    overflow-y: auto;
    flex: 1;
    position: relative;
    min-height: 400px;
}

/* 地区搜索框样式 */
.region-search-wrapper {
    padding: 15px 30px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    position: relative;
}

.region-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 15px;
    transition: all 0.3s;
}

.region-search-box:focus-within {
    border-color: #1890ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.region-search-box .search-icon {
    font-size: 16px;
    color: #999;
    margin-right: 10px;
}

.region-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 14px;
    color: #333;
    outline: none;
}

.region-search-box input::placeholder {
    color: #999;
}

.region-search-results {
    position: absolute;
    top: 10px;
    left: 30px;
    right: 30px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 10;
}

.region-search-results .search-result-item {
    margin-bottom: 5px;
}

.region-search-results .search-result-item:last-child {
    margin-bottom: 0;
}

.no-result-tips,
.error-tips,
.loading-tips {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 14px;
}

.loading-tips i {
    margin-right: 8px;
    color: #1890ff;
}

.error-tips {
    color: #ff4d4f;
}

.no-result-tips {
    color: #999;
}

.region-section {
    margin-bottom: 24px;
}

.region-section:last-child {
    margin-bottom: 0;
}

.region-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #1890ff;
    display: inline-block;
}

.region-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.region-city-item {
    padding: 8px 16px;
    background: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #333;
}

.region-city-item:hover {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.region-city-item.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.top-left a {
    color: #1890ff;
    transition: color 0.3s;
}

.top-left a:hover {
    color: #40a9ff;
}

.top-right {
    display: flex;
    gap: 20px;
}

.top-right a {
    color: #666;
    transition: color 0.3s;
}

.top-right a:hover {
    color: #1890ff;
}

.top-right i {
    margin-right: 4px;
}

/* 主导航 */
.main-header {
    padding: 15px 0;
}

.main-header .layui-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
}

.logo h1 {
    font-size: 28px;
    color: #1890ff;
    font-weight: 700;
    display: none; /* 隐藏文字标题 */
}

.logo span {
    font-size: 14px;
    color: #666;
    display: none; /* 隐藏描述文字 */
}

.logo > div {
    display: none; /* 隐藏包含文字的div容器 */
}

/* 入口图标样式 */
.entry-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.entry-icon.blue {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
}

.entry-icon.green {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
}

.entry-icon.orange {
    background: linear-gradient(135deg, #fa8c16 0%, #d46b08 100%);
}

.entry-icon.purple {
    background: linear-gradient(135deg, #722ed1 0%, #531dab 100%);
}

.entry-icon.red {
    background: linear-gradient(135deg, #f5222d 0%, #cf1322 100%);
}

.entry-icon.cyan {
    background: linear-gradient(135deg, #13c2c2 0%, #08979c 100%);
}

.entry-icon.pink {
    background: linear-gradient(135deg, #eb2f96 0%, #c41d7f 100%);
}

.entry-icon.yellow {
    background: linear-gradient(135deg, #fadb14 0%, #d4b106 100%);
}

.entry-icon i {
    font-size: 24px;
    color: white;
}

.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

.entry-item:hover {
    transform: translateY(-5px);
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.entry-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
    color: #333;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1890ff;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

/* 搜索区域 */
.search-section {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    padding: 50px 0;
    margin-bottom: 20px;
}

.search-box {
    max-width: 800px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.search-tabs span {
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 5px 0;
    font-size: 15px;
    transition: all 0.3s;
}

.search-tabs span.active,
.search-tabs span:hover {
    color: #fff;
    font-weight: 500;
}

.search-input-wrapper {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 0 35px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    height: auto;
    line-height: 1.6;
}

.search-btn:hover {
    background: #ff5252;
}

.hot-keywords {
    margin-top: 15px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}

.hot-keywords span {
    margin-right: 10px;
}

.hot-keywords a {
    color: rgba(255,255,255,0.9);
    margin-right: 15px;
    transition: color 0.3s;
}

.hot-keywords a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 快捷入口 */
.quick-entry {
    background: #fff;
    padding: 30px 0;
    margin-bottom: 20px;
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.entry-item:hover {
    transform: translateY(-5px);
}

.entry-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.entry-icon.blue { background: linear-gradient(135deg, #1890ff, #36cfc9); }
.entry-icon.green { background: linear-gradient(135deg, #52c41a, #95de64); }
.entry-icon.orange { background: linear-gradient(135deg, #fa8c16, #ffc53d); }
.entry-icon.purple { background: linear-gradient(135deg, #722ed1, #b37feb); }
.entry-icon.red { background: linear-gradient(135deg, #f5222d, #ff7875); }
.entry-icon.cyan { background: linear-gradient(135deg, #13c2c2, #5cdbd3); }
.entry-icon.pink { background: linear-gradient(135deg, #eb2f96, #ffadd2); }
.entry-icon.yellow { background: linear-gradient(135deg, #fadb14, #fffb8f); color: #333; }

.entry-item span {
    font-size: 14px;
    color: #333;
}

/* 布局容器 - 全屏宽度,用于包裹所有内容 */
.page-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 内容容器 - 按屏幕尺寸限制宽度并居中显示 */
.page-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 12px;
}

/* 修复 Layui 网格系统的负 margin 导致溢出 */
.page-container .layui-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-container .layui-col-space1 {
    margin: 0;
}

.page-container .layui-col-space2 {
    margin: 0;
}

.page-container .layui-col-space4 {
    margin: 0;
}

.page-container .layui-col-space5 {
    margin: 0;
}

.page-container .layui-col-space6 {
    margin: 0;
}

.page-container .layui-col-space8 {
    margin: 0;
}

.page-container .layui-col-space10 {
    margin: 0;
}

.page-container .layui-col-space12 {
    margin: 0;
}

.page-container .layui-col-space14 {
    margin: 0;
}

.page-container .layui-col-space15 {
    margin: 0;
}

.page-container .layui-col-space16 {
    margin: 0;
}

.page-container .layui-col-space18 {
    margin: 0;
}

.page-container .layui-col-space20 {
    margin: 0;
}

.page-container .layui-col-space22 {
    margin: 0;
}

.page-container .layui-col-space24 {
    margin: 0;
}

.page-container .layui-col-space25 {
    margin: 0;
}

.page-container .layui-col-space26 {
    margin: 0;
}

.page-container .layui-col-space28 {
    margin: 0;
}

.page-container .layui-col-space30 {
    margin: 0;
}

.page-container .layui-col-space32 {
    margin: 0;
}

/* 响应式内容容器 */
@media (max-width: 1440px) {
    .page-container {
        max-width: 1200px;
    }
}

@media (max-width: 1240px) {
    .page-container {
        max-width: 960px;
    }
}

@media (max-width: 980px) {
    .page-container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .page-container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* 主要内容区 - 用于列表页和首页 */
.main-content {
    padding-bottom: 40px;
    padding-top: 20px;
}

.main-content .layui-container {
    border-radius: 12px;
}

/* 详情页统一布局样式 */
.detail-page,
.announcement-detail-page {
    background: #f5f7fa;
    padding: 20px 0;
    min-height: 80vh;
}

/* 区块头部样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-header h2 i {
    color: #1890ff;
}

.more {
    color: #999;
    font-size: 13px;
    transition: color 0.3s;
}

.more:hover {
    color: #1890ff;
}

/* 卡片圆角样式 */
.main-content .layui-card {
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 20px;
}

.main-content .layui-card .layui-card-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.main-content .layui-card .layui-card-body {
    padding: 30px;
    overflow: visible;
}

/* 标签圆角 - 全局样式 */
.layui-badge {
    height: auto;
    border-radius: 4px !important;
    padding: 4px 12px !important;
    font-weight: normal !important;
}

.main-content .layui-badge {
    border-radius: 4px;
    padding: 4px 12px;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 按钮圆角 - 全局样式 */
.layui-btn {
    border-radius: 4px !important;
}

.main-content .layui-btn {
    border-radius: 4px;
}

/* 输入框圆角 */
.main-content .layui-input,
.main-content .layui-textarea {
    border-radius: 8px;
}

/* 链接样式优化 */
.main-content a {
    transition: all 0.3s ease;
}

/* 列表项间距优化 */
.main-content .announcement-item,
.main-content .policy-item,
.main-content .fair-item {
    padding: 12px 0;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .main-content .layui-card .layui-card-body {
        padding: 20px;
    }
    
    .main-content .layui-card .layui-card-header {
        padding: 15px 20px;
    }
}

/* 公告列表 */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item .title {
    flex: 1;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.announcement-item .title:hover {
    color: #1890ff;
}

.announcement-item .company-name {
    color: #666;
    font-size: 13px;
    white-space: nowrap;
}

.announcement-item .company-name i {
    margin-right: 4px;
    color: #1890ff;
}

.announcement-item .date {
    color: #999;
    font-size: 13px;
}

/* 职位列表 */
.job-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: #1890ff;
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文本溢出省略 */
.overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-header .layui-badge {
    flex-shrink: 0;
    margin-left: 10px;
}

.job-company {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
}

.job-company i {
    color: #1890ff;
}

.job-address {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.job-address i {
    margin-right: 6px;
    color: #1890ff;
}

.company-type {
    font-size: 12px;
}

.job-info {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    color: #999;
    font-size: 13px;
}

.job-info i {
    margin-right: 4px;
}

.job-requirements {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.job-requirements i {
    margin-right: 6px;
    color: #1890ff;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    align-items: center;
}

/* 标签样式 - 按内容类型绑定颜色 */
.job-tags .layui-badge {
    border-radius: 4px;
    padding: 4px 12px;
    font-weight: normal;
    border: none;
}

/* 学历标签 - 青色 */
.tag-education {
    background-color: #e6fffb;
    color: #08979c;
}

/* 经验标签 - 紫色 */
.tag-experience {
    background-color: #f9f0ff;
    color: #722ed1;
}

/* 职位类型标签 - 蓝色 */
.tag-type {
    background-color: #e6f7ff;
    color: #1890ff;
}

/* 企业性质标签 - 绿色 */
.tag-nature {
    background-color: #f6ffed;
    color: #52c41a;
}

/* 招聘人数标签 - 橙色 */
.tag-count {
    background-color: #fff7e6;
    color: #fa8c16;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.publish-time {
    color: #999;
    font-size: 12px;
}

.apply-btn {
    /* 使用 layui-btn 样式 */
}

/* 职位列表页筛选栏 */
.main-content .filter-bar {
    padding: 16px 20px !important;
}

.main-content .filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
    line-height: 1;
}

.main-content .filter-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.main-content .filter-label {
    width: 80px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.main-content .filter-search {
    flex: 1;
    width: 100%;
    max-width: 600px;
    position: relative;
}

/* 搜索下拉框样式 */
.main-content .search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.main-content .dropdown-list {
    padding: 8px 0;
}

.main-content .dropdown-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.main-content .dropdown-item:last-child {
    border-bottom: none;
}

.main-content .dropdown-item:hover {
    background: #f5f7fa;
    color: #1890ff;
}

.main-content .search-form {
    width: 100%;
}

.main-content .search-input-group {
    display: flex;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    height: 38px;
}

.main-content .search-input-group:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.main-content .search-input-main {
    flex: 1;
    border: none;
    border-radius: 0;
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 12px;
    box-sizing: border-box;
}

.main-content .search-input-main:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.main-content .search-btn-integrated {
    height: 38px !important;
    line-height: 1;
    padding: 0 20px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-left: 1px solid #e6e6e6;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.main-content .search-btn-integrated:hover {
    background: #40a9ff;
}

.main-content .search-btn-integrated i {
    margin-right: 4px;
}

.main-content .export-btn-integrated {
    height: 38px !important;
    line-height: 1;
    padding: 0 20px;
    background: #52c41a;
    color: #fff;
    border: none;
    border-left: 1px solid #e6e6e6;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.main-content .export-btn-integrated:hover {
    background: #73d13d;
}

.main-content .export-btn-integrated i {
    margin-right: 4px;
}

.main-content .filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    line-height: 1;
}

.main-content .filter-options a {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1;
    vertical-align: middle;
}

.main-content .filter-options a:hover {
    color: #1890ff;
}

.main-content .filter-options a.active {
    color: #1890ff;
    font-weight: 600;
}

.main-content .fair-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.main-content .fair-item:last-child {
    border-bottom: none;
}

.main-content .fair-item .dot {
    width: 6px;
    height: 6px;
    background: #1890ff;
    border-radius: 50%;
    flex-shrink: 0;
}

.main-content .fair-item .title {
    flex: 1;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
    text-decoration: none;
}

.main-content .fair-item .title:hover {
    color: #1890ff;
}

.main-content .fair-item .date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}

.main-content .fair-list {
    display: flex;
    flex-direction: column;
}

.fair-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fair-card {
    margin-bottom: 0;
    transition: all 0.3s;
}

.fair-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.fair-card .layui-card-body {
    padding: 20px;
}

.fair-type {
    margin-bottom: 12px;
}

.fair-info {
    flex: 1;
}

.fair-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
}

.fair-item-link:hover .fair-title {
    color: #1890ff;
}

.fair-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.fair-meta i {
    margin-right: 4px;
    color: #1890ff;
}

.fair-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #1890ff;
    color: #fff;
    border-radius: 8px;
}

.fair-date .day {
    font-size: 24px;
    font-weight: 700;
}

.fair-date .month {
    font-size: 12px;
}

.fair-info {
    flex: 1;
}

.fair-info h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
    margin-top: 0;
}

.fair-info p {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.fair-info i {
    margin-right: 4px;
}

/* 知名企业 */
.company-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.company-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #1890ff;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1890ff;
    margin-bottom: 12px;
}

.company-card h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.company-card p {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.job-count {
    padding: 3px 10px;
    background: #e6f7ff;
    color: #1890ff;
    font-size: 12px;
    border-radius: 20px;
}

/* 首页双选会和招聘会容器统一高度 */
.home-fair-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-fair-container .layui-card-body {
    flex: 1;
    min-height: 250px;
}

/* 政策资讯 */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.policy-card {
    margin-bottom: 0;
    transition: all 0.3s;
}

.policy-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.policy-card .layui-card-body {
    padding: 20px;
}

.policy-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: #333;
    line-height: 1.4;
}

.policy-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.policy-title a:hover {
    color: #1890ff;
}

.policy-summary {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.policy-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.policy-meta i {
    margin-right: 4px;
    color: #1890ff;
}

.policy-meta .date,
.policy-meta .source,
.policy-meta .view-count {
    display: inline-flex;
    align-items: center;
}

/* 底部 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section i {
    margin-right: 8px;
    color: #1890ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 13px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav {
    padding: 20px 0;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: #f0f7ff;
    color: #1890ff;
    border-left: 3px solid #1890ff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .entry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .job-list {
        grid-template-columns: 1fr;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .company-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .section {
        padding: 20px;
    }
    
    .search-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 隐藏桌面端导航 */
    .main-nav {
        display: none;
    }
    
    /* 头部调整 */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }
    
    .top-left,
    .top-right {
        gap: 10px;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo span {
        font-size: 12px;
    }
    
    /* 搜索区域调整 */
    .search-section {
        padding: 30px 0;
    }
    
    .search-tabs {
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .search-tabs span {
        font-size: 14px;
    }
    
    .search-input {
        padding: 14px 15px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 0 25px;
        font-size: 14px;
    }
    
    .hot-keywords {
        font-size: 12px;
    }
    
    .hot-keywords a {
        margin-right: 10px;
    }
    
    /* 快捷入口调整 */
    .quick-entry {
        padding: 20px 0;
    }
    
    .entry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .entry-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .entry-item span {
        font-size: 12px;
    }
    
    /* 内容区域调整 */
    .main-content {
        padding-bottom: 30px;
    }
    
    .section {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    .filter-tabs {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .filter-tabs span {
        font-size: 13px;
    }
    
    /* 职位卡片调整 */
    .job-card {
        padding: 15px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .job-title {
        font-size: 15px;
    }
    
    .salary {
        font-size: 15px;
    }
    
    .job-info {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 双选会和招聘会调整 */
    .fair-item {
        padding: 12px;
        gap: 12px;
    }
    
    .fair-date {
        width: 50px;
        height: 50px;
    }
    
    .fair-date .day {
        font-size: 20px;
    }
    
    .fair-info h4 {
        font-size: 14px;
    }
    
    .fair-info p {
        font-size: 12px;
    }
    
    /* 企业网格调整 */
    .company-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .company-card {
        padding: 20px 10px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .company-card h4 {
        font-size: 13px;
    }
    
    .company-card p {
        font-size: 11px;
    }
    
    /* 底部调整 */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* 头部进一步调整 */
    .top-bar {
        display: none;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo span {
        font-size: 11px;
    }
    
    /* 搜索区域进一步调整 */
    .search-section {
        padding: 25px 0;
    }
    
    .search-box {
        padding: 0 10px;
    }
    
    .search-tabs {
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .search-tabs span {
        font-size: 13px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-input {
        padding: 12px 15px;
        border-radius: 8px 8px 0 0;
    }
    
    .search-btn {
        padding: 12px;
        border-radius: 0 0 8px 8px;
    }
    
    .hot-keywords {
        margin-top: 12px;
        font-size: 11px;
    }
    
    .hot-keywords a {
        margin-right: 8px;
    }
    
    /* 快捷入口调整 */
    .entry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .entry-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .entry-item span {
        font-size: 11px;
    }
    
    /* 内容区域调整 */
    .section {
        padding: 15px 10px;
    }
    
    .section-header h2 {
        font-size: 15px;
    }
    
    .filter-tabs {
        gap: 12px;
    }
    
    .filter-tabs span {
        font-size: 12px;
    }
    
    /* 职位卡片调整 */
    .job-card {
        padding: 12px;
    }
    
    .job-title {
        font-size: 14px;
    }
    
    .salary {
        font-size: 14px;
    }
    
    .job-company {
        font-size: 12px;
        gap: 6px;
    }
    
    .job-info {
        font-size: 11px;
        gap: 6px;
    }
    
    .job-tags {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .job-tags .tag {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .apply-btn {
        padding: 5px 15px;
        font-size: 12px;
    }
    
    /* 双选会和招聘会调整 */
    .fair-item {
        padding: 10px;
        gap: 10px;
    }
    
    .fair-date {
        width: 45px;
        height: 45px;
    }
    
    .fair-date .day {
        font-size: 18px;
    }
    
    .fair-date .month {
        font-size: 11px;
    }
    
    .fair-info h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .fair-info p {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    /* 企业网格调整 */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .company-card {
        padding: 15px 10px;
    }
    
    .company-logo {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .company-card h4 {
        font-size: 12px;
    }
    
    .company-card p {
        font-size: 10px;
    }
    
    .job-count {
        padding: 2px 8px;
        font-size: 11px;
    }
    
    /* 底部调整 */
    .footer {
        padding: 30px 0 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
    
    .footer-bottom {
        font-size: 11px;
        padding-top: 15px;
    }
    
    /* 移动端菜单适配 */
    .mobile-menu {
        width: 250px;
    }
    
    .mobile-menu-header {
        padding: 15px;
    }
    
    .mobile-menu-header h3 {
        font-size: 16px;
    }
    
    .mobile-menu-nav a {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* 面包屑导航 - 通用样式 */
.breadcrumb-container {
    background: #f5f7fa;
    padding: 20px 0 0 0;
    width: 100%;
    box-sizing: border-box;
}

/* 面包屑响应式 */
@media (max-width: 768px) {
    .breadcrumb-container .layui-container {
        padding: 0 15px;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: #1890ff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #40a9ff;
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #999;
}

/* 公告详情页样式 */
.announcement-detail-page {
    background: #f5f7fa;
    padding: 0 0 20px 0;
}

.announcement-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.announcement-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.announcement-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.announcement-tags {
    margin-top: 15px;
}

.announcement-body {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.announcement-body .content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.announcement-body .content p {
    margin-bottom: 16px;
}

.related-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.related-section h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-actions {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

/* 确保公告详情的主要内容垂直堆叠 */
.announcement-header,
.announcement-body,
.related-section,
.detail-actions {
    width: 100%;
    display: block;
    grid-column: 1; /* 确保这些元素都在主列中 */
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.widget h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget h3 i {
    color: #1890ff;
}

.recent-list {
    list-style: none;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.recent-item:hover {
    color: #1890ff;
}

.recent-item .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-item .date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 6px 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #1890ff;
    color: #fff;
}

.contact-widget .contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #666;
}

.contact-widget .contact-info i {
    color: #1890ff;
    width: 16px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #1890ff;
    color: #fff;
}

.btn-primary:hover {
    background: #40a9ff;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

.btn-outline {
    background: transparent;
    color: #1890ff;
    border: 1px solid #1890ff;
}

.btn-outline:hover {
    background: #1890ff;
    color: #fff;
}

.btn-large {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
}

/* 首页链接样式 */
.entry-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.job-card-link,
.fair-item-link,
.company-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.job-card-link:hover .job-card,
.fair-item-link:hover .fair-item,
.company-card-link:hover .company-card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.entry-item-link:hover .entry-item {
    transform: translateY(-5px);
}

/* 登录注册页样式 */
.auth-page {
    background: #f5f7fa;
    min-height: 100vh;
}

.auth-main {
    padding: 40px 0;
    min-height: calc(100vh - 400px);
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.auth-banner {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
    padding: 60px;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.banner-content > p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features {
    list-style: none;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.features i {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.features p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

.auth-form-container {
    padding: 60px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 14px;
}

.form-header .link {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
}

.form-header .link:hover {
    text-decoration: underline;
}

.auth-form {
    max-width: 100%;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-group label i {
    color: #1890ff;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.form-group .toggle-password {
    position: absolute;
    right: 15px;
    top: 38px;
    cursor: pointer;
    color: #999;
}

.form-group .toggle-password:hover {
    color: #1890ff;
}

.input-with-btn {
    display: flex;
    gap: 10px;
}

.input-with-btn input {
    flex: 1;
}

.btn-code {
    padding: 0 20px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-code:hover {
    background: #40a9ff;
}

.btn-code:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
}

.input-tip {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.required {
    color: #ff4d4f;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-link {
    font-size: 13px;
    color: #1890ff;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
}

.divider {
    margin: 25px 0;
    text-align: center;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e8e8e8;
}

.divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s;
}

.social-btn.wechat {
    background: #07c160;
}

.social-btn.qq {
    background: #12b7f5;
}

.social-btn.weibo {
    background: #e6162d;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.form-footer a {
    color: #1890ff;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* 登录方式切换标签 */
.login-tabs {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 25px;
}

.tab-item {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    position: relative;
    transition: all 0.3s;
}

.tab-item:hover {
    color: #1890ff;
}

.tab-item.active {
    color: #1890ff;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

/* 扫码登录 */
.qrcode-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.qrcode-container {
    text-align: center;
}

.qrcode-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.qrcode-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.qrcode-mask p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.qrcode-mask button {
    padding: 8px 20px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.qrcode-mask button:hover {
    background: #40a9ff;
}

.qrcode-tip {
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.qrcode-status {
    color: #999;
    font-size: 12px;
}

/* 登录弹窗 */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.login-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 360px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.login-modal-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.login-modal-header .close-btn {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.login-modal-header .close-btn:hover {
    color: #666;
}

.login-modal-body {
    padding: 30px 24px;
    text-align: center;
}

.login-modal-body .qrcode-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.login-modal-body .qrcode-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-modal-body .qrcode-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.login-modal-body .qrcode-mask p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.login-modal-body .qrcode-mask button {
    padding: 8px 20px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.login-modal-body .qrcode-mask button:hover {
    background: #06ad56;
}

.login-modal-body .qrcode-tip {
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.login-modal-body .qrcode-status {
    color: #999;
    font-size: 12px;
}

/* 二维码加载动画 */
.login-modal-body .qrcode-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
}

.login-modal-body .qrcode-loading p {
    color: #999;
    font-size: 12px;
    margin-top: 10px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #07c160;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
    
    .auth-banner {
        padding: 30px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content > p {
        font-size: 14px;
    }
    
    .features li {
        gap: 12px;
    }
    
    .features i {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .features h4 {
        font-size: 14px;
    }
    
    .features p {
        font-size: 12px;
    }
    
    .auth-form-container {
        padding: 30px;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group input[type="tel"],
    .form-group input[type="email"] {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .input-with-btn {
        flex-direction: column;
    }
    
    .btn-code {
        padding: 10px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .social-login {
        gap: 15px;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    /* 公告详情页在小屏幕上的布局 */
    .detail-content {
        grid-template-columns: 1fr; /* 在小屏幕上变为单列布局 */
        gap: 20px;
    }
    
    .sidebar {
        position: static; /* 在小屏幕上取消固定定位 */
    }
    
    .announcement-header,
    .announcement-body,
    .related-section,
    .detail-actions {
        padding: 20px; /* 调整移动端内边距 */
    }
    
    .announcement-title {
        font-size: 20px; /* 调整移动端标题大小 */
    }
}

/* ======================================== */
/* 公告列表页样式 */
/* ======================================== */

/* 公告列表页头部 */
.announcements-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.announcements-header .header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.announcements-header .logo {
    font-size: 20px;
    font-weight: bold;
    color: #2d7ff9;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcements-header .nav {
    display: flex;
    gap: 24px;
}

.announcements-header .nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.announcements-header .nav a:hover,
.announcements-header .nav a.active {
    color: #2d7ff9;
}

/* 公告列表主体 */
.announcement-list-page {
    padding-top: 20px;
    padding-bottom: 40px;
}

.announcement-list-page .layui-card {
    border-radius: 12px;
    overflow: visible;
}

.announcement-list-page .layui-card .layui-card-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.announcement-list-page .layui-card .layui-card-body {
    padding: 30px;
    overflow: visible;
}

/* 筛选区域 */
.announcement-list-page .filter-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 100%;
    box-sizing: border-box;
}

.announcement-list-page .layui-row {
    margin-left: 0;
    margin-right: 0;
}

.announcement-list-page .filter-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
    line-height: 1;
}

.announcement-list-page .filter-row:last-child {
    border-bottom: none;
}

.announcement-list-page .filter-label {
    width: 90px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.announcement-list-page .filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.announcement-list-page .filter-option {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.announcement-list-page .filter-option:hover {
    color: #1890ff;
}

.announcement-list-page .filter-option.active {
    color: #1890ff;
    font-weight: 600;
}

/* 内联搜索框 */
.announcement-list-page .inline-search-form {
    width: 100%;
    max-width: 600px;
}

.announcement-list-page .search-input-group {
    display: flex;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    height: 38px;
}

.announcement-list-page .search-input-group:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.announcement-list-page .search-input-main {
    flex: 1;
    border: none;
    border-radius: 0;
    height: 38px !important;
    line-height: 38px;
    padding: 0 12px;
    box-sizing: border-box;
}

.announcement-list-page .search-input-main:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.announcement-list-page .search-btn-integrated {
    height: 38px !important;
    line-height: 1;
    padding: 0 20px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-left: 1px solid #e6e6e6;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.announcement-list-page .search-btn-integrated:hover {
    background: #40a9ff;
}

/* 公告卡片 */
.announcement-list-page .announcement-card {
    margin-bottom: 16px;
    transition: all 0.3s;
}

.announcement-list-page .announcement-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.announcement-list-page .announcement-card .layui-card-body {
    padding: 20px;
}

.announcement-list-page .announcement-type {
    margin-bottom: 12px;
}

.announcement-list-page .announcement-info {
    flex: 1;
}

.announcement-list-page .announcement-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
}

.announcement-list-page .announcement-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.announcement-list-page .announcement-title a:hover {
    color: #1890ff;
}

.announcement-list-page .announcement-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.announcement-list-page .announcement-meta i {
    margin-right: 4px;
    color: #1890ff;
}

.announcement-list-page .announcement-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 侧边栏 */
.announcement-list-page .layui-card .layui-card-header {
    font-weight: 500;
}

.announcement-list-page .recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.announcement-list-page .recent-item {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.announcement-list-page .recent-item:last-child {
    border-bottom: none;
}

.announcement-list-page .recent-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.announcement-list-page .recent-item a:hover {
    color: #1890ff;
}

.announcement-list-page .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.announcement-list-page .tag-cloud .layui-badge {
    cursor: pointer;
    transition: all 0.3s;
}

.announcement-list-page .tag-cloud .layui-badge:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.announcement-list-page .contact-info p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.announcement-list-page .contact-info i {
    margin-right: 8px;
    color: #1890ff;
    width: 16px;
}

/* 分页样式 - ElementUI风格 */
.pagination,
.layui-box.layui-laypage {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 30px 0 0 0 !important;
    width: 100% !important;
}

.pagination .layui-laypage,
.layui-box.layui-laypage .layui-laypage {
    margin: 0 auto !important;
}

/* 普通按钮 */
.pagination a,
.pagination span:not(.layui-laypage-curr),
.pagination button,
.layui-box.layui-laypage a,
.layui-box.layui-laypage span:not(.layui-laypage-curr),
.layui-box.layui-laypage button {
    margin: 0 !important;
    border: 1px solid #dcdfe6 !important;
    border-radius: 4px !important;
    min-width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 12px !important;
    background: #fff !important;
    color: #606266 !important;
    font-size: 13px !important;
    transition: all 0.3s !important;
    box-sizing: border-box !important;
}

/* 普通按钮悬停 */
.pagination a:hover,
.pagination button:hover,
.layui-box.layui-laypage a:hover,
.layui-box.layui-laypage button:hover {
    color: #409eff !important;
    border-color: #409eff !important;
    background: #ecf5ff !important;
}

/* 当前页高亮 */
.pagination .layui-laypage-curr,
.layui-box.layui-laypage .layui-laypage-curr,
.pagination .layui-laypage-curr em,
.layui-box.layui-laypage .layui-laypage-curr em {
    color: #fff !important;
    font-weight: 500 !important;
}

.pagination .layui-laypage-curr .layui-laypage-em,
.layui-box.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #409eff !important;
    border: none !important;
    border-radius: 4px !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -1 !important;
}

/* 当前页容器 */
.pagination .layui-laypage-curr,
.layui-box.layui-laypage .layui-laypage-curr {
    padding: 0 !important;
    position: relative !important;
}

/* 禁用状态 */
.pagination a.disabled,
.layui-box.layui-laypage a.disabled {
    color: #c0c4cc !important;
    cursor: not-allowed !important;
    border-color: #e4e7ed !important;
    background: #f5f7fa !important;
}

.pagination a.disabled:hover,
.layui-box.layui-laypage a.disabled:hover {
    color: #c0c4cc !important;
    border-color: #e4e7ed !important;
    background: #f5f7fa !important;
}

/* 输入框 */
.pagination input,
.layui-box.layui-laypage input {
    margin: 0 !important;
    border: 1px solid #dcdfe6 !important;
    border-radius: 4px !important;
    height: 32px !important;
    padding: 0 8px !important;
    background: #fff !important;
    color: #606266 !important;
    font-size: 13px !important;
    transition: all 0.3s !important;
    box-sizing: border-box !important;
}

.pagination input:focus,
.layui-box.layui-laypage input:focus {
    border-color: #409eff !important;
    outline: none !important;
}

/* 跳转按钮 */
.pagination button,
.layui-box.layui-laypage button {
    cursor: pointer !important;
    border: 1px solid #dcdfe6 !important;
    background: #fff !important;
    color: #606266 !important;
    transition: all 0.3s !important;
}

.pagination button:hover,
.layui-box.layui-laypage button:hover {
    color: #fff !important;
    border-color: #409eff !important;
    background: #409eff !important;
}

/* 文字提示 */
.pagination .layui-laypage-skip,
.layui-box.layui-laypage .layui-laypage-skip {
    color: #909399 !important;
    margin-left: 10px !important;
    font-size: 13px !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .announcement-list-page .layui-col-md9,
    .announcement-list-page .layui-col-md3 {
        width: 100%;
    }
    
    .announcement-list-page .layui-col-md3 {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .announcement-list-page {
        padding-top: 10px;
    }
    
    .announcement-list-page .list-filter {
        padding: 15px;
    }
    
    .announcement-list-page .filter-group {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .announcement-list-page .filter-label {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .announcement-list-page .filter-options {
        width: 100%;
    }
    
    .announcement-list-page .announcement-card .layui-card-body {
        padding: 15px;
    }
    
    .announcement-list-page .announcement-title {
        font-size: 16px;
    }
    
    .announcement-list-page .announcement-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .announcement-list-page .announcement-excerpt {
        font-size: 13px;
    }
}

.announcement-list-page .contact-info i {
    margin-right: 8px;
}

/* 公告列表页底部 */
.announcement-list-page .footer {
    background-color: #fff;
    padding: 32px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.announcement-list-page .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: #999;
    padding: 0 20px;
}

/* 公告列表页响应式 */
@media (max-width: 768px) {
    .announcement-list-page .container {
        flex-direction: column;
    }

    .announcement-list-page .sidebar {
        width: 100%;
    }

    .announcement-list-page .announcement-card {
        flex-direction: column;
        gap: 12px;
    }

    .announcements-header .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .announcements-header .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==================== 文章详情页全局样式 ==================== */

/* 文章主体区域 - 全局 */
.article-main {
    background-color: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* 文章标题区 - 全局 */
.article-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* 文章标题 - 全局 */
.article-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 1.4;
    color: #222;
}

/* 文章元信息（时间、作者等） - 全局 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 标签容器 - 全局 */
.article-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

/* 文章内容区 - 全局 */
.article-content {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content h2 {
    font-size: 20px;
    margin: 32px 0 16px;
    color: #222;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.article-content h3 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: #222;
    font-weight: bold;
}

.article-content ul {
    margin: 12px 0 20px 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content ol {
    margin: 12px 0 20px 24px;
}

.article-content strong {
    color: #2d7ff9;
    font-weight: bold;
}

.article-content a {
    color: #1890ff;
    text-decoration: underline;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: #f8f9fa;
    border-left: 4px solid #1890ff;
    border-radius: 8px;
    color: #666;
}

.article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #e83e8c;
}

.article-content pre {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

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

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content table th,
.article-content table td {
    border: 1px solid #e6e6e6;
    padding: 12px;
    text-align: left;
}

.article-content table th {
    background: #f8f9fa;
    font-weight: bold;
}

/* 附件下载区域 - 全局 */
.attachments {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
    border-radius: 12px;
    border: 2px dashed #1890ff;
}

.attachments h3 {
    margin-bottom: 20px;
    color: #1890ff;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.attachment-list {
    list-style: none;
}

.attachment-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 12px;
    background-color: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #d9e8f7;
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.attachment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1890ff, #40a9ff);
    opacity: 0;
    transition: opacity 0.3s;
}

.attachment-item:hover {
    background: linear-gradient(90deg, #e6f7ff 0%, #f0f8ff 100%);
    color: #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.25);
    transform: translateY(-2px);
    border-color: #1890ff;
}

.attachment-item:hover::before {
    opacity: 1;
}

.attachment-item i.fa-file-pdf {
    font-size: 24px;
    margin-right: 12px;
    color: #ff4d4f;
}

.filename {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
}

.filesize {
    color: #666;
    font-size: 12px;
    margin-right: 16px;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 8px;
}

.attachment-item:hover .filesize {
    background: #1890ff;
    color: #fff;
}

.download-icon {
    color: #1890ff;
    font-size: 18px;
    transition: transform 0.3s;
}

.attachment-item:hover .download-icon {
    transform: translateY(3px);
    color: #40a9ff;
}

/* 操作按钮区 - 全局 */
.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 联系方式 - 全局 */
.contact-info {
    padding: 10px 0;
}

.contact-info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.contact-info i {
    margin-right: 8px;
    color: #1890ff;
}

/* 侧边栏卡片样式 - 全局 */
.sidebar-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* 最近列表 - 全局 */
.recent-list {
    list-style: none;
}

.recent-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
}

.recent-item a:hover {
    color: #1890ff;
}

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

.tag-cloud .layui-badge {
    cursor: pointer;
    transition: all 0.3s;
}

.tag-cloud .layui-badge:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .announcement-detail-page .article-main {
        padding: 20px;
    }

    .announcement-detail-page .article-title {
        font-size: 24px;
    }
}

/* 详情页信息表格样式 */
.info-section {
    margin-bottom: 30px;
}

.info-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e9fff;
    display: inline-block;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    background: #fff;
}

.info-table th,
.info-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 15px;
    text-align: left;
    font-size: 15px;
}

.info-table th {
    width: 150px;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.info-table td {
    color: #333;
    word-break: break-word;
}

/* 富文本内容样式 */
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.job-description-content {
    line-height: 1.8;
    color: #333;
}

.job-description-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .info-table th {
        width: 120px;
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .info-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
}

/* ==================== 登录弹窗样式 ==================== */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.login-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: overlayFadeIn 0.5s ease;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.login-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: contentSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.login-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.login-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.login-modal-close:hover {
    color: #333;
}

.login-modal-body {
    padding: 30px;
}

/* 扫码登录样式 */
.qrcode-login-container {
    padding: 20px 0;
}

.qrcode-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.qrcode-login-header h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.qrcode-login-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.qrcode-container {
    text-align: center;
    padding: 10px 0;
}

.qrcode-wrapper {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
    padding: 12px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.qrcode-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f7fa;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.qrcode-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #1e9fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.qrcode-loading p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.qrcode-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 6px;
}

.qrcode-mask i {
    font-size: 48px;
    color: #999;
}

.qrcode-mask p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.qrcode-mask button {
    padding: 8px 24px;
    background: #1e9fff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.qrcode-mask button:hover {
    background: #0d8aee;
}

.qrcode-scanned {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 6px;
}

.qrcode-scanned i {
    font-size: 56px;
    color: #52c41a;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.qrcode-scanned p {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.qrcode-scanned .loading-text {
    color: #666;
    font-size: 13px;
    font-weight: normal;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.qrcode-status {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.qrcode-login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.qrcode-login-footer p {
    margin: 0;
    color: #52c41a;
    font-size: 13px;
}

.qrcode-login-footer i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .login-modal-content {
        width: 95%;
    }
    
    .login-modal-body {
        padding: 20px;
    }
    
    .qrcode-wrapper {
        width: 200px;
        height: 200px;
        padding: 12px;
    }
    
    .qrcode-login-header h4 {
        font-size: 20px;
    }
}

/* ==================== About页面样式 ==================== */
.about-page {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
    background: #f5f7fa;
}

.about-content {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.about-header h1 {
    margin: 0 0 10px 0;
    font-size: 36px;
    color: #333;
    font-weight: 600;
}

.about-header .subtitle {
    margin: 0;
    font-size: 16px;
    color: #999;
    letter-spacing: 1px;
}

.about-section {
    margin-bottom: 40px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
    padding-left: 12px;
    border-left: 4px solid #1890ff;
}

.about-section h2 i {
    margin-right: 8px;
    color: #1890ff;
}

.about-section h3 {
    margin: 20px 0 10px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.about-section p {
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.about-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #666;
}

.about-section.notice {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid #1890ff;
}

.about-section.notice p {
    margin: 0;
}

/* 优势网格 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.advantage-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.advantage-item i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.advantage-item h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.advantage-item p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 统计数据网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 联系我们网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.contact-info {
    font-size: 16px;
    color: #1890ff;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.contact-time {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* 常见问题 */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f5f7fa;
    border-radius: 8px;
    border-left: 4px solid #1890ff;
}

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

.faq-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* 地图区域 */
.map-section {
    margin-top: 40px;
}

.map-container {
    margin-top: 20px;
    background: #f5f7fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-content {
        padding: 30px 20px;
    }
    
    .about-header h1 {
        font-size: 28px;
    }
    
    .about-section h2 {
        font-size: 20px;
    }
    
    .advantage-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 28px;
    }
}
