/* 공지 팝업 - KRDS 표준 */
.notice-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.notice-popup {
    width: min(680px, calc(100% - 32px));
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid #dee2e6;
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

.notice-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.notice-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.notice-badge.info { background: #e8f3ff; color: #1e6fd9; }
.notice-badge.warning { background: #fff3cd; color: #a16207; }
.notice-badge.danger { background: #fde2e2; color: #b42318; }
.notice-badge.success { background: #dcfce7; color: #166534; }

.notice-body {
    padding: 16px 20px;
    color: #374151;
    line-height: 1.65;
}

.notice-footer {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.5);
}

.notice-actions {
    display: flex;
    gap: 8px;
}

.notice-btn {
    appearance: none;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 12px;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    color: #1f2937;
}

.notice-btn.primary {
    background: #2563eb;
    color: #fff;
    border-color: rgba(37, 99, 235, 0.7);
}

.notice-meta {
    color: #6b7280;
    font-size: 12px;
}

@media (max-width: 480px) {
    .notice-title { font-size: 16px; }
}


