body {
    background: linear-gradient(135deg, #e6f4ea 0%, #f8fbf9 100%);
    font-family: "微软雅黑", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.top-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    border: none;
    z-index: 1000;
}

.regulation-header {
    margin-top: 80px;
    background: #006633;
    padding: 18px 0 36px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.regulation-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(2, 84, 42, 0.10);
}

.regulation-header::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fff 0%, #b6e2c6 100%);
    margin: 18px auto 0 auto;
    border-radius: 2px;
}

.regulation-search {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    gap: 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.regulation-search input {
    width: 340px;
    padding: 14px 50px 14px 18px;
    border: none;
    border-radius: 24px 0 0 24px;
    font-size: 17px;
    outline: none;
    box-shadow: 0 2px 8px rgba(2, 84, 42, 0.08);
    background: #f8fbf9;
    transition: box-shadow 0.2s;
}

.regulation-search input:focus {
    box-shadow: 0 4px 16px rgba(33, 138, 90, 0.15);
}

.clear-btn {
    position: absolute;
    right: 12px;
    background: none !important;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    box-shadow: none !important;
}

.clear-btn:hover {
    color: #000;
    background: none !important;
}

.regulation-search button {
    background: linear-gradient(90deg, #218a5a 0%, #43c08d 100%);
    color: #fff;
    border: none;
    border-radius: 0 24px 24px 0;
    padding: 12px 32px;
    font-size: 17px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(33, 138, 90, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

.regulation-search button:hover {
    background: linear-gradient(90deg, #02542A 0%, #218a5a 100%);
    box-shadow: 0 4px 16px rgba(33, 138, 90, 0.18);
}

.regulation-main-content {
    width: 96%;
    max-width: 1320px;
    margin: 40px auto 40px auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(2, 84, 42, 0.10);
    padding: 36px 40px 32px 40px;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.regulation-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    background: none;
    margin-bottom: 24px;
    padding-left: 8px;
}

.tab-btn {
    border: none;
    outline: none;
    background: none;
    color: #218a5a;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 32px 10px 32px;
    margin-bottom: -2px;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: color 0.2s, border-bottom 0.2s, background 0.2s;
}

.tab-btn.active {
    color: #218a5a;
    background: #fff;
    border-bottom: 3px solid #218a5a;
    position: relative;
    z-index: 1;
}

.tab-btn:not(.active):hover {
    background: #f0f8f4;
    color: #02542A;
}

.regulation-list {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    flex: 1;
}

.regulation-item {
    background: #fff;
    border-radius: 8px;
    padding: 22px 28px;
    margin-bottom: 16px;
    box-shadow: none;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

.regulation-item:hover {
    background: #f6f8fa;
    border: 1px solid #218a5a;
}

.regulation-title {
    font-size: 19px;
    color: #02542A;
    font-weight: bold;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.regulation-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 3em;
    padding: 10px 0;
    word-break: break-word;
}

.regulation-date {
    font-size: 13px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.page-btn {
    border: 1px solid #e0e0e0;
    color: #333;
    background: #fff;
    border-radius: 4px;
    padding: 6px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.page-btn.active,
.page-btn:hover {
    background: #218a5a;
    color: #fff;
    border: 1px solid #218a5a;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 分页省略号样式 */
.page-ellipsis {
    display: inline-block;
    width: 32px;
    text-align: center;
    color: #888;
    vertical-align: middle;
}

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
}

/* 错误状态样式 */
.error {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    font-size: 16px;
}

@media (max-width: 900px) {
    .regulation-main-content {
        padding: 18px 4vw 18px 4vw;
    }

    .regulation-header h1 {
        font-size: 24px;
    }

    .regulation-search input {
        width: 60vw;
        min-width: 120px;
        padding: 12px 40px 12px 16px;
    }

    .regulation-search button {
        padding: 12px 16px;
        font-size: 15px;
    }

    .clear-btn {
        right: 10px;
        width: 20px;
        height: 20px;
        font-size: 16px;
    }

    .tab-btn {
        font-size: 16px;
    }

    .regulation-item {
        padding: 14px 10px;
    }
}