/* Notices Hero Section */
.notices-hero {
    position: relative;
    background: linear-gradient(135deg, #FFDAB9 0%, #E8F5E9 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.notices-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.notices-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.notices-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.notices-content p {
    font-size: 18px;
    color: #5a6c7d;
}

.notice-icons {
    display: flex;
    gap: 30px;
}

.icon-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

.icon-item:first-child {
    background-color: rgba(234, 88, 12, 0.1);
    color: #EA580C;
}

.icon-item:last-child {
    background-color: rgba(22, 163, 74, 0.1);
    color: #16A34A;
}

.icon-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Notices Section */
.notices-section {
    padding: 16px 0;
}

/* Filter Bar */
.filter-bar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

.filter-bar .form-select,
.filter-bar .form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-bar .form-select:focus,
.filter-bar .form-control:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.15);
}

.filter-bar .btn-primary {
    background-color: #FF6B6B;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-bar .btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.filter-bar .btn-secondary {
    background-color: #f5f5f5;
    border: none;
    color: #666;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-bar .btn-secondary:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Notice Cards */
.notice-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.notice-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-urgent {
    background-color: #ffe5e5;
    color: #ff3838;
}

.badge-general {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-event {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.badge-academic {
    background-color: #e8f5e9;
    color: #388e3c;
}

.badge-holiday {
    background-color: #fff3e0;
    color: #f57c00;
}

.badge-fee {
    background-color: #fce4ec;
    color: #c2185b;
}

.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 12px 0 8px 0;
    line-height: 1.4;
}

.notice-date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.notice-content {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.notice-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-download {
    background-color: #f5f5f5;
    border: none;
    color: #666;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #FF6B6B;
    color: white;
    transform: translateY(-2px);
}

.btn-view {
    background-color: transparent;
    border: 1px solid #e0e0e0;
    color: #FF6B6B;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: #FF6B6B;
    color: white;
    border-color: #FF6B6B;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.pagination {
    background: white;
    padding: 8px;
    margin-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination .page-link {
    border: none;
    color: #666;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #f5f5f5;
    color: #FF6B6B;
}

.pagination .page-item.active .page-link {
    background-color: #FF6B6B;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-results img {
    width: 200px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-results h4 {
    color: #666;
    margin-bottom: 8px;
}

.no-results p {
    color: #999;
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 4px;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.sort-dropdown .form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    font-size: 14px;
    min-width: 200px;
}

@media (max-width:1199.98px) {

    .filter-bar .btn-primary,
    .filter-bar .btn-secondary {
        font-size: 14px;
    }

    .notices-hero {
        min-height: 350px;
    }
}

@media (max-width: 991.98px) {
    .notices-content h1 {
        font-size: 36px;
    }

    .notices-content p {
        font-size: 16px;
    }

    .filter-bar {
        padding: 16px;
    }

    .notice-card {
        padding: 16px;
    }

    .notice-title {
        font-size: 16px;
    }

    .btn-download,
    .btn-view {
        justify-content: center;
    }

    .results-info {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .sort-dropdown .form-select {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .notices-hero {
        min-height: 300px;
    }

    .notices-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .notices-content p {
        font-size: 14px;
    }

    .notice-icons {
        gap: 20px;
    }

    .icon-item {
        width: 45px;
        height: 45px;
    }

    .notice-content {
        margin-bottom: 12px;
    }

    .notice-card {
        padding: 12px;
    }
}