/* ============================= */
/* 공지사항 패널 — Ethereal 디자인  */
/* (헤더 없이 흰 컨테이너 + 아이템) */
/* ============================= */

/* 컨테이너 */
#noticeContainer {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(148, 128, 197, 0.12),
                0 4px 12px -2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* 리스트 — 가로 배치 (여러 공지를 한 줄에 나열) */
#noticeList {
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 공지 아이템 (JS 동적 생성) */
.notice-item {
    border-radius: 12px;
    padding: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
    flex: 1 1 250px;
    min-width: 200px;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.notice-item-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notice-item-content {
    font-weight: 600;
    color: #1a1a1a;
    word-break: keep-all;
}

/* 모바일 — 공지 아이템 세로 배치 */
@media (max-width: 640px) {
    #noticeList {
        flex-direction: column;
    }

    .notice-item {
        flex: 1 1 100%;
    }
}
