/* 主内容区 */
.main-content {
    padding: 15px 0;
}

/* 左侧分类侧边栏 */
.category-sidebar {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

.category-sidebar .category-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.category-sidebar .category-list li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
}

.category-sidebar .category-list li a:hover {
    background-color: #e8f0fe;
    color: #0d6efd;
    padding-left: 22px;
}

/* 轮播图区域 */
.banner-box {
    border-radius: 4px;
    height: 100%;
    overflow: hidden;
}

.banner-box .carousel-item img {
    width: 100%;
    height: 419px;
    object-fit: cover;
}

/* 右侧登录栏 */
.login-sidebar {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
}

.login-btns {
    margin-bottom: 25px;
}

.login-btns .btn {
    width: 48%;
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 0;
}

.login-btns .btn-login {
    background-color: #409eff;
    border-color: #409eff;
    color: #fff;
}

.login-btns .btn-register {
    background-color: #ff9933;
    border-color: #ff9933;
    color: #fff;
}

.login-btns .btn:hover {
    opacity: 0.9;
}

.quick-links a {
    display: block;
    padding: 6px 10px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 13px;
    transition: opacity 0.3s;
}

.quick-links a:hover {
    opacity: 0.85;
    color: #fff;
}

.quick-links a:nth-child(1) {
    background-color: #ff9933;
}

.quick-links a:nth-child(2) {
    background-color: #337ab7;
}

.quick-links a:nth-child(3) {
    background-color: #0dcaf0;
}

.quick-links a:nth-child(4) {
    background: none;
    color: #666;
    padding: 3px 10px;
    font-size: 12px;
    text-align: right;
}

/* 通知公告 */
.notice-box {
    background-color: #fff;
    border-radius: 4px;
    padding: 10px 15px;
    margin-top: 15px;
}

.notice-title {
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-title a {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    text-decoration: none;
}

.notice-title a:hover {
    color: #0d6efd;
}

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

.notice-list li {
    padding: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-list li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.notice-list li a:hover {
    color: #0d6efd;
}

/* 公告表格区域 */
.section-box {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.section-header a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.section-header a:hover {
    color: #0d6efd;
}

.data-table {
    width: 100%;
    font-size: 13px;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: normal;
    padding: 8px;
    border-bottom: 1px solid #dee2e6;
    color: #666;
}

.data-table td {
    padding: 8px;
    border-bottom: 1px dashed #eee;
}

.data-table tr:hover td {
    background-color: #f8f9fa;
}

.data-table a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.data-table a:hover {
    color: #0d6efd;
}

@media (max-width: 768px) {
    .category-sidebar {
        margin-bottom: 15px;
    }

    .login-sidebar {
        margin-top: 15px;
    }
    .banner-box,
    .banner-box .carousel-item img {
        height: 200px;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th, .data-table td {
        padding: 6px 4px;
    }
}