/* 招标列表页面样式 */

/* 地区导航样式 */
.region-nav {
    background: #fff;
}

.region-nav h3 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 15px 10px;
    border-bottom: 1px solid #e6e6e6;
}

.region-list {
    padding: 0;
}

.region-group {
    margin-top: 10px;
}

.region-item {
    transition: background-color 0.3s;
}

.region-item:hover {
    background-color: #f8f9fa;
}

.region-item a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.region-item a:hover {
    color: #ff6600 !important;
}

/* 侧边栏模块样式 */
.sidebar-module {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-module .module-header {
    background: #f8f9fa;
    color: #333;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #e6e6e6;
}

.sidebar-module .module-content {
    padding: 15px;
}

/* 导航链接样式 */
.nav-section {
    margin-bottom: 15px;
}

.nav-section h4 {
    font-size: 12px;
    color: #333;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.nav-links a {
    display: inline-block;
    color: #666;
    font-size: 11px;
    margin-right: 10px;
    margin-bottom: 5px;
    text-decoration: none;
    padding: 2px 5px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: #0066cc;
}

/* 表格样式优化 */
.layui-table-cell {
    height: auto;
    line-height: 1.4;
    padding: 8px 10px;
}

/* 面包屑导航样式 */
.layui-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.layui-breadcrumb a:hover {
    color: #0066cc;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .region-nav {
        display: none;
    }
    
    .layui-col-xs7 {
        width: 100% !important;
    }
    
    .layui-col-xs3 {
        width: 100% !important;
        margin-top: 20px;
    }
}

/* 标题栏样式 */
.list-header {
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
}

.list-header h2 {
    font-size: 16px;
    color: #0066cc;
    margin: 0;
    display: inline-block;
}

.list-header .header-info {
    position: absolute;
    right: 0;
    top: 0;
    color: #666;
    font-size: 12px;
}

/* 加载动画 */
.loading-container {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.loading-container i {
    font-size: 48px;
    color: #ddd;
    animation: spin 1s linear infinite;
}

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

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.empty-state p {
    margin: 10px 0;
    line-height: 1.5;
}

/* 卡片阴影效果 */
.card-shadow {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
}

/* 高亮当前选中项 */
.region-item.active a {
    color: #ff6600 !important;
    font-weight: bold;
}

/* 表格标题居中 */
.layui-table th {
    text-align: center !important;
}

/* 表格数据对齐 */
.layui-table td {
    text-align: center;
}

/* 标题列左对齐 */
.layui-table td[data-field="title"] {
    text-align: left !important;
}

/* 主题色样式 */
.theme-color {
    color: #0066cc !important;
}

/* 地区和时间主题色 */
.layui-table td[data-field="project_location"] span,
.layui-table td[data-field="create_time"] span {
    color: #0066cc !important;
}

/* 文章链接样式 */
.article-link {
    color: #333 !important;
    text-decoration: none !important;
}

.article-link:hover {
    color: #ff0000 !important; /* 鼠标悬停时显示红色 */
    text-decoration: none !important;
}

.article-link:visited {
    color: #0066cc !important; /* 访问过后显示蓝色 */
    text-decoration: none !important;
}

.article-link:visited:hover {
    color: #ff0000 !important; /* 访问过的链接鼠标悬停时也显示红色 */
    text-decoration: none !important;
}

/* 顶部地区导航样式 */
.top-region-nav {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 15px;
}

.top-region-nav a {
    display: inline-block;
    padding: 3px 8px;
    margin: 2px 5px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.top-region-nav a:hover {
    background-color: #e9ecef;
    color: #000 !important;
}

.top-region-nav .current {
    background-color: #dee2e6;
    color: #000;
    font-weight: bold;
}
