/* notice-board.css */
.custom-notice-board {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-notice-board:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.notice-header {
    padding: 12px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notice-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-title .icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.notice-body {
    padding: 0;
    position: relative;
    min-height: 200px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.notice-item {
    border-bottom: 1px solid #f0f0f0;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-link {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    gap: 15px;
}

.notice-link:hover {
    background: #f8fdfa;
}

.notice-link:hover .notice-text {
    color: #00A63E;
}

.notice-link:hover .notice-arrow {
    transform: translateX(5px);
    color: #00A63E;
}

.notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    color: #4a5568;
    border-radius: 8px;
    min-width: 65px;
    padding: 5px 5px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.notice-link:hover .notice-date {
    background: #e6f6eb;
    border-color: #c6ebd4;
    color: #00A63E;
}

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

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

.date-year {
    font-size: 0.7rem;
    opacity: 0.8;
}

.notice-content {
    flex: 1;
}

.notice-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: #2d3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.notice-arrow {
    color: #a0aec0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.notice-filter {
    position: relative;
}

.notice-category-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 252, 252, 0.15); 
    border: 1px solid rgba(0, 0, 0, 0.3); 
    border-radius: 8px;
    color: #000;
    padding: 6px 32px 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    outline: none;
    min-width: 160px;
}

.notice-category-select:hover,
.notice-category-select:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.notice-category-select option {
    background: #ffffff;
    color: #2d3748;
    padding: 8px;
}

.notice-filter::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    pointer-events: none;
    font-size: 0.85rem;
}

.notice-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    border-radius: 0 0 12px 12px;
}

.notice-footer {
    padding: 15px 20px;
    text-align: center;
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.btn-view-all {
    display: inline-block;
    background: linear-gradient(to right, #00A63E, #008532);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 166, 62, 0.3);
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 62, 0.4);
}

.btn-view-all i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(3px);
}
