/* 배경 (어둡게) */
.popup-overlay {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* 첫 번째 팝업 : 정중앙 */
.popup-center {
    justify-content: center;
    align-items: center;
    /* padding-right: 250px */
}

/* 두 번째 팝업 : 우측 하단 */
.popup-right {
    align-items: center;
    padding-left: 230px;
}

/* 모바일 대응 (선택) */
@media (max-width: 768px) {
    .popup-right {
        justify-content: center;
        align-items: center;
        padding: 0;
    }
}

/* 팝업 본체 */
.popup-content {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden; /* 자식 요소가 삐져나오지 않게 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 이미지 컨테이너 */
.popup-image-container {
    position: relative;
    line-height: 0;
}

.popup-img {
    width: 100%;
    height: auto;
}

/* 이미지 위 상세페이지 버튼 */
.popup-link-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

/* 하단 회색 닫기 버튼 박스 */
.close-btn-box-wrap {
    width: 100%;
    height: 30px;
    background-color: #4d4d4d;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    transition: background 0.2s;
}

.close-btn-box {
    padding-right: 20px;
    cursor: pointer;
}

.today-close-wrap {
    padding-left: 20px;
}
