/* Filter Form Styles */
.notice-filters-form form {
    padding: 15px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.notice-filters-form .filter-item {
    flex-shrink: 0;
}
.notice-filters-form .filter-item-search {
    flex-grow: 1;
}
.notice-filters-form select,
.notice-filters-form input[type="search"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}
.notice-filters-form .button,
.notice-filters-form .filter-button,
.notice-filters-form .reset-button {
    padding: 9px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.notice-filters-form .reset-button {
    background-color: #777;
    color: #fff;
}

/* Table Styles */
.notice-board-wrapper {
    overflow-x: auto;
}
.notice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.notice-table th,
.notice-table td {
    padding: 12px 15px;
    border: 1px solid #e9e9e9;
    vertical-align: middle;
}
.notice-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}
.notice-table h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1em;
}
.notice-table .notice-content {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}
.notice-table .notice-actions-col {
    text-align: center;
}
.notice-table .button.view-details-link,
.notice-table .button.download-pdf {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 0.9em;
    box-sizing: border-box;
    width: 100%;
}
.notice-table .button.view-details-link {
    margin-bottom: 5px;
}

/* Pagination Styles */
.notice-pagination {
    margin-top: 30px;
    text-align: center;
}
.notice-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 4px;
}
.notice-pagination .dots {
    border: none;
    padding: 8px 0;
}


/* Responsive Styles */
@media screen and (max-width: 960px) {
    .notice-filters-form form {
        flex-direction: column;
        align-items: stretch;
    }
}
@media screen and (max-width: 768px) {
    .notice-table .notice-date-col,
    .notice-table .notice-title-col,
    .notice-table .notice-actions-col {
        width: auto;
    }
    .notice-table thead {
        display: none;
    }
    .notice-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        overflow: hidden;
        display: block;
        width: 100%;
    }
    .notice-table td {
        display: block;
        width: 100%;
        text-align: right;
        padding-left: 45%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
    }
    .notice-table td:last-child {
        border-bottom: none;
    }
    .notice-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #333;
    }
}