/* ===== NEWS & NOTICES PAGE STYLING (FULL WIDTH) ===== */
.news-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid #eaeaea;
    background: #ffffff;
    color: #555555;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.search-box {
    position: relative;
    width: 280px;
}

.search-box input {
    width: 100%;
    border: 1px solid #eaeaea;
    padding: 10px 42px 10px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
}

.search-box input:focus {
    border-color: var(--gold);
}

.search-box i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
}

/* Pagination container */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-num:hover,
.page-num.active {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}


/* ===== EVENT CALENDAR LAYOUT ===== */
.calendar-layout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .calendar-layout-wrapper {
        grid-template-columns: 1fr;
    }
}

.calendar-main-pane {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    border: 1px solid #eaeaea;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 16px;
}

.calendar-nav-btn {
    background: none;
    border: 1px solid #eaeaea;
    color: #555;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-nav-btn:hover {
    background: #f8f9fa;
    border-color: var(--gold);
    color: var(--gold);
}

.calendar-month-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-cell {
    aspect-ratio: 1 / 1;
    min-height: 80px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
    background: #ffffff;
}

@media (max-width: 575px) {
    .calendar-day-cell {
        min-height: 60px;
        padding: 4px;
    }
}

.calendar-day-cell:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.calendar-day-cell.other-month {
    background: #fdfdfd;
    color: #ccc;
    opacity: 0.6;
}

.day-number {
    font-weight: 600;
    font-size: 0.95rem;
    color: #34495e;
}

.calendar-day-cell.today {
    background: #fffdf5;
    border-color: var(--gold);
}

.calendar-day-cell.today .day-number {
    color: var(--gold);
    font-weight: 700;
}

/* Event Dots/Indicators */
.cell-events-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.cell-event-badge {
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.badge-council {
    background-color: #fff3cd;
    color: #856404;
    border-left: 2px solid #ffc107;
}

.badge-cultural {
    background-color: #d4edda;
    color: #155724;
    border-left: 2px solid #28a745;
}

.badge-community {
    background-color: #cce5ff;
    color: #004085;
    border-left: 2px solid #007bff;
}

.badge-development {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 2px solid #dc3545;
}

/* Sidebar Events */
.calendar-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-panel {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.sidebar-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-event-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.2s, background 0.3s;
}

.sidebar-event-item:hover {
    transform: translateX(4px);
    background: #f3f5f8;
}

.event-sidebar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 50px;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    padding: 6px;
    height: fit-content;
}

.event-s-month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7f8c8d;
}

.event-s-day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.event-sidebar-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.event-sidebar-info p {
    font-size: 0.78rem;
    color: #7f8c8d;
    margin: 0;
}

.event-category-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.event-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 500;
}

/* ===== PROCUREMENTS TABLE STYLING ===== */
.procurement-table-wrapper {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    margin-top: 20px;
}

.procurement-table {
    width: 100%;
    border-collapse: collapse;
}

.procurement-table thead tr {
    background-color: var(--gold);
    color: #ffffff;
    text-align: left;
}

.procurement-table th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.procurement-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 0.9rem;
}

.procurement-table tbody tr {
    transition: background-color 0.2s ease-in-out;
}

.procurement-table tbody tr:hover {
    background-color: #fdfaf0;
}

.procurement-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-closed {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--gold);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-download-pdf:hover {
    background-color: var(--gold-dark);
}