/* =========================================
   NOTICE BOARD & NOTICE DETAILS STYLES - DIGANTA VIKAS
   ========================================= */

.notice-banner {
    background: linear-gradient(135deg, #0A1B3F 0%, #003060 100%);
    color: #fff;
    position: relative;
    padding: 50px 0 45px 0;
}

.notice-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.25rem;
}

.notice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d7de;
}

.date-badge {
    background-color: #E8F0FE;
    color: #0A1B3F;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 68px;
    text-align: center;
    border: 1px solid #d2e3fc;
}

.date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-badge .month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.date-badge .year {
    font-size: 0.7rem;
    color: #6c757d;
}

/* Filter Toolbar Styles - One Line Non-wrapping */
.filter-toolbar-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

.filter-scroll-row {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.filter-scroll-row::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    margin-right: 8px;
    background: #F4F6F9;
    color: #4A5568;
    border: 1px solid #E2E8F0;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-pill:hover {
    background: #E8F0FE;
    color: #0A1B3F;
    border-color: #B8D5FD;
}

.filter-pill.active {
    background: #0A1B3F;
    color: #ffffff;
    border-color: #0A1B3F;
    box-shadow: 0 4px 10px rgba(10, 27, 63, 0.2);
}

.filter-pill .pill-count {
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 12px;
    margin-left: 6px;
    font-weight: 700;
}

.filter-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Search input group */
.search-input-group .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #CBD5E1;
    padding-left: 18px;
    font-size: 0.88rem;
    height: 42px;
}

.search-input-group .form-control:focus {
    border-color: #0A1B3F;
    box-shadow: 0 0 0 3px rgba(10, 27, 63, 0.1);
}

.btn-search-submit {
    background: #0A1B3F;
    border: 1px solid #0A1B3F;
    border-radius: 0 50px 50px 0;
    padding: 0 18px;
    height: 42px;
    transition: all 0.2s;
}

.btn-search-submit:hover {
    background: #002244;
    border-color: #002244;
}

.btn-clear-search {
    background: #fff;
    border: 1px solid #CBD5E1;
    border-left: none;
    border-right: none;
    color: #94A3B8;
    padding: 0 12px;
}

.btn-clear-search:hover {
    color: #E60000;
}

/* Pagination Styling */
.pagination-rounded .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    color: #0A1B3F;
    border: 1px solid #E2E8F0;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 14px;
    transition: all 0.2s;
}

.pagination-rounded .page-item.active .page-link {
    background-color: #0A1B3F;
    border-color: #0A1B3F;
    color: #fff;
    box-shadow: 0 4px 10px rgba(10, 27, 63, 0.2);
}

.pagination-rounded .page-link:hover:not(.disabled) {
    background-color: #E8F0FE;
    color: #0A1B3F;
    border-color: #B8D5FD;
}

.pagination-rounded .page-item.disabled .page-link {
    color: #CBD5E1;
    background: #F8FAFC;
    border-color: #E2E8F0;
}

.notice-detail-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c3e50;
}

.notice-detail-body p {
    margin-bottom: 1rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar-card-header {
    background: #f8fafd;
    border-bottom: 1px solid #edf2f7;
    padding: 14px 18px;
    font-weight: 700;
    color: #0A1B3F;
}

@media print {

    .notice-banner,
    .top-bar,
    .navbar,
    footer,
    .sidebar-col,
    .no-print,
    .filter-toolbar-card {
        display: none !important;
    }

    .notice-detail-card {
        border: none !important;
        box-shadow: none !important;
    }
}