/* ==========================
   ✅ 공지사항 커스텀 모달 스타일
   ========================== */

/* 전체 팝업 래퍼 */
.custom-notice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1055;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    pointer-events: auto;
}

/* 팝업 본체 */
.custom-notice-content {
    background-color: #fff;
    width: 90%;
    max-width: 400px;
    padding: 1rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: popupFadeIn 0.25s ease-out;
}

/* PC 우측 하단 위치 조정 */
@media (min-width: 768px) {
    .custom-notice-modal {
        justify-content: flex-end;
        align-items: flex-end;
        padding: 2rem;
    }
    .custom-notice-content {
        width: 30vw;
        max-width: 500px;
    }
}

/* 닫기 버튼 */
.custom-notice-content .close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}
.custom-notice-content .close-btn:hover {
    color: #000;
}

/* 공지 콘텐츠 */
.notice-content {
    text-align: center;
    padding: 1rem 0 0; /* 상단 약간만, 좌우 제거 */
}
.notice-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 오늘 하루 보지 않기 버튼 */
.btn-hide-minimal {
    background-color: #333;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 0;
    transition: background-color 0.2s ease;
}
.btn-hide-minimal:hover {
    background-color: #111;
}

/* 캐러셀 버튼은 Bootstrap 기본 스타일 사용 */

/* 모달 진입 애니메이션 */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}