/* Notice Board Styles */

/* Breadcrumb Section */
.breadcrumb-section {
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    text-align: center;
    color: var(--text-light);
}
.breadcrumb-section .page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}
.breadcrumb-section .breadcrumb {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}
.breadcrumb-section .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumb-section .breadcrumb a:hover {
    text-decoration: underline;
}

/* Search Bar */
.notice-search {
    padding: 30px 0;
    text-align: center;
}
.notice-search .search-input {
    width: 80%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 1rem;
    background: var(--bg-dark);
    color: var(--text-light);
    outline: none;
    transition: border-color 0.3s;
}
.notice-search .search-input:focus {
    border-color: var(--accent);
}

/* Latest Notices Cards */
.latest-notices .notice-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
.latest-notices .notice-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}
.latest-notices .notice-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.latest-notices .notice-card h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--primary);
}
.latest-notices .notice-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Category Tabs */
.notice-categories .category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.notice-categories .category-tab {
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--card-bg);
    cursor: pointer;
    transition: background 0.3s;
}
.notice-categories .category-tab.active {
    background: var(--primary);
    color: #fff;
}

/* Notice List Table */
.notice-list .notice-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}
.notice-list .notice-table.visible {
    opacity: 1;
    transform: translateY(0);
}
.notice-list th, .notice-list td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    color: var(--text-light);
}
.notice-list th {
    background: var(--card-bg);
    font-weight: 600;
}
.notice-list .action-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.notice-list .action-btn:hover {
    background: var(--accent);
}

/* Pagination */
.pagination {
    margin: 20px 0;
    text-align: center;
}
.pagination .page-number {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--card-bg);
    cursor: pointer;
}
.pagination .page-number.active {
    background: var(--primary);
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: var(--bg-dark);
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    color: var(--text-light);
    position: relative;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}
.btn-download {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-download:hover {
    background: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .latest-notices .notice-card {
        width: 100%;
    }
    .notice-categories .category-tabs {
        justify-content: flex-start;
    }
}
