.survey-popup-window {
    margin: 0;
    background: #f1f5fa;
}

#surveyPopup {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 10000000;
    width: calc(100% - 32px);
    max-width: 448px;
    height: fit-content;
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #d6e2f0;
    border-radius: 16px;
    background: #fff;
    color: #142647;
    font: 15px/1.55 "Malgun Gothic", "맑은 고딕", sans-serif;
    box-shadow: 0 20px 64px rgba(6, 23, 56, .32);
}

#surveyPopup:not([open]) {
    display: none;
}

#surveyPopup::backdrop {
    background: rgba(10, 27, 53, .55);
}

.survey-popup-window #surveyPopup {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#surveyPopup .survey-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 10px 20px;
    background: #142d55;
    color: #fff;
}

#surveyPopup h2 {
    margin: 0;
    color: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

#surveyPopup button {
    margin: 0;
    font: inherit;
    cursor: pointer;
}

#surveyPopup .survey-popup-close {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: 26px/1 Arial, sans-serif;
}

#surveyPopup .survey-popup-close:hover {
    background: rgba(255, 255, 255, .25);
}

#surveyPopup .survey-popup-image {
    display: block;
    width: 100%;
    height: auto;
    background: #dcebf7;
}

#surveyPopup .survey-popup-body {
    padding: 20px;
    text-align: center;
}

#surveyPopup p {
    margin: 0 0 16px;
    color: #34496a;
    font-size: 15px;
    line-height: 1.55;
    word-break: keep-all;
}

#surveyPopup .survey-popup-action {
    display: block;
    padding: 11px 16px;
    border-radius: 8px;
    background: #174ca6;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

#surveyPopup .survey-popup-action:hover {
    background: #103d8b;
}

#surveyPopup .survey-popup-action span {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 400;
}

#surveyPopup .survey-popup-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e1e8f2;
    background: #f5f8fc;
}

#surveyPopup .survey-popup-footer button {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #c9d7ea;
    border-radius: 7px;
    background: #fff;
    color: #24446e;
    font-size: 13px;
    line-height: 1.4;
    word-break: keep-all;
}

#surveyPopup .survey-popup-footer button:hover {
    border-color: #779ac8;
    background: #eaf2fd;
}

#surveyPopup :focus-visible {
    outline: 2px solid #2978e6;
    outline-offset: 2px;
}

#surveyPopup .survey-popup-close:focus-visible {
    outline-color: #b9dcff;
}
