/* 主内容样式 */
.main-content {
    padding: 20px 0;
    background-color: #f7f8fa;
    font-family: Arial, sans-serif;
}

.main-content .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.search-section,
.results-section {
    margin-bottom: 30px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-section h2,
.results-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c2d41;
    /* border-bottom: 2px solid #798095; */
    padding-bottom: 5px;
}

.results-section h2 {
    margin: 0;
}

.results-section .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.results-section .download-button {
    padding: 5px 20px;
    border: none;
    background-color: #e94545;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.results-section .download-button:hover {
    background-color: #cc0000;
}

.form-group {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}


.form-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-section label {
    width: 120px;
    font-size: 16px;
    color: #2c2d41;
    margin-right: 10px;
}

.search-section label.region,
.search-section label.penalDate {
    width: 80px;
}

.search-section input,
.search-section select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    box-sizing: border-box;
}

.search-section select option {
    font-size: 16px;
}


.date-separator {
    margin: 0 10px 0 0;
    font-size: 16px;
    color: #2c2d41;
}

.button-group {
    text-align: center;
    margin-top: 10px;
}

.search-section button {
    padding: 10px 20px;
    border: none;
    background-color: #8d99af;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.search-section button:hover {
    background-color: #2c2d41;
}

/* 查询结果表格样式 */
.results-section table {
    width: 100%;
    border-collapse: collapse;
}

.results-section th,
.results-section td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

.results-section th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* .results-section tbody tr:nth-child(even) {
    background-color: #f2f2f2;
} */


.results-section tbody tr:hover {
    background-color: #e9ecef;
}

.results-section a {
    color: #798095;
    text-decoration: none;
}

.results-section a:hover {
    text-decoration: underline;
}

/* 分页导航样式 */
.pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #2c2d41;
    text-decoration: none;
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: #e9ecef;
}

.page-numbers span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    color: #2c2d41;
    cursor: pointer;
}

.page-numbers .active {
    font-weight: bold;
    background-color: #8d99af;
    color: #fff;
    border-radius: 4px;
}

.jump-form {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.jump-input {
    width: 70px;
    padding: 8px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.jump-button {
    padding: 8px 16px;
    margin-left: 5px;
    border: none;
    background-color: #8d99af;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.jump-button:hover {
    background-color: #2c2d41;
}