.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000099999;
}

.popup-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: transparent;
    z-index: 1000099999;
}

.popup-header {
    padding-left: 10px;
    padding-right: 10px;
}

.popup-header h2{
    padding: 20px;
    font-size: 24px;
    border-bottom: 0.5px solid #ffffff;
    padding-left: 10px;
    color: #ffffff;
}

.frame-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fa2b6e185a8-1-icon {
    width: 70px;
    position: relative;
    max-height: 100%;
    object-fit: cover;
}

.fa2b6e185a8-1-parent {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
}

.frame-parent {
    position: relative;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

/* 추가적인 스타일링 */
.popup-body-content {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    padding: 20px;
}

.popup-body-content-text-title {
    color: #ffffff;
}

.fa2b6e185a8-1-parent {
    margin-top: 10px;
    padding: 10px 0;
    overflow: visible;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.fa2b6e185a8-1-parent::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.fa2b6e185a8-1-icon {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.fa2b6e185a8-1-icon:hover {
    transform: scale(1.1);
}

.popup-body-content-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    max-width: 500px;
    padding-right: 20px
}

.popup-body-content-text-description p {
    font-size: 18px;
    line-height: 1.6;
    word-break: keep-all;
    color: #ffffff;

}

/* Close button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    cursor: pointer;
    font-size: 24px;
    z-index: 100000;
}

@media screen and (max-width: 800px) {
    .popup-body-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0;
    }

    .frame-parent {
        padding-right: 0;
        width: 100% !important;
        height: 100% !important;
    }
    
    .frame-child {
        width: 100% !important;
        max-height: 500px !important;
    }

    .popup-body-content-text-description p {
        font-size: 12px !important;
    }

    .popup-header h2 {
        text-align: center;
    }
    
}

/* 팝업 기본 스타일 */
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: 'Pretendard', sans-serif;
}

/* 닫기 버튼 숨기기 */
.popup-close,
button[onclick*="closePopupFrame"],
button:has(> span:contains("×")),
button:contains("×") {
    display: none !important;
}

/* 팝업 컨텐츠 스타일 */
.popup-content {
    max-width: 1200px;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.popup-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
}

.popup-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.popup-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .popup-content {
        padding: 0px;
    }

    .popup-title {
        font-size: 20px;
    }

    .popup-description {
        font-size: 14px;
    }
}