/* 팝업 전체 */
.notice-popup {
    display: none;
}

.notice-popup.show {
    display: block;
}

/* 배경 어둡게 */
.notice-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
}

/* 팝업 박스 */
.notice-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100vw - 40px));
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 제목 */
.notice-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 내용 */
.notice-content {
    font-size: 14px;
    margin-bottom: 20px;
}

.notice-image {
    overflow: hidden;
    margin: 0 0 14px;
    border-radius: 10px;
    background: #f1f5f9;
}

.notice-image img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
}

/* 하단 영역 */
.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 버튼 */
.notice-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #eff4fb;
    color: #2563eb;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.notice-buttons button:hover {
    background: #dbeafe;
}
