@charset "utf-8";

.popup,
.hana-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 1000;
}

.popup.open,
.hana-popup.view,
.popup.view  {
    display: flex;
}

.popup-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.popup-inner {
    position: relative;
    z-index: 11;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 400px;
    box-sizing: border-box;
}

.popup .popup-wrapper {
    margin: 0;
    position: relative;
    text-align: unset;
    width: auto;
    z-index: 100;
}

.popup .popup-wrapper .popup-inner {
    background-color: #fff;
    border-radius: 5px;
    height: auto;
    padding: 15px;
    width: auto;
    width: 500px;
}

.popup .popup-wrapper .popup-inner .popup-head {
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 15px;
    position: relative;
    text-align: center;
}

.popup .popup-wrapper .popup-inner .popup-head .close-btn {
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    position: absolute;
    right: 0;
    top: 0;
}

.popup .popup-wrapper .popup-inner .popup-body {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    padding: 15px 0;
}

.popup .popup-wrapper .popup-inner .popup-body .terms-box {
    max-height: 500px;
    overflow: auto;
    padding: 15px;
}

.popup .popup-wrapper .popup-inner .popup-body .terms-box .number-list {
    font-size: .813rem;
    font-weight: 500;
}

.popup .popup-wrapper .popup-inner .popup-body .terms-box .contents {
    color: #666;
    font-size: .813rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0.313em 0 0.938rem;
}

.select-list {
    max-height: 500px;
    overflow: auto;
}

.select-list::-webkit-scrollbar {
    display: none;
}

.popup-inner .header {
    position: relative;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 15px;
}

.popup-inner .header h3 {
    font-size: 18px;
    font-weight: 500;
}

.popup-inner .header .close-btn {
    font-size: 20px;
    top: 0;
    right: 0;
    position: absolute;
    cursor: pointer;
}

.popup-close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-color: #fff;
}

.popup-inner .body {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.popup-inner .body .body-title {
    font-size: 18px;
    color: #748F14!important;
    font-weight: 500;
    margin-bottom: 15px;
}

@media( max-width: 1200px) {
    .popup .popup-wrapper {
        width: 100%;
        margin: 0 30px;
        box-sizing: border-box;
    }

    .popup .popup-wrapper .popup-inner {
        width: 100%;
        box-sizing: border-box;
    }
}


/* 알럿 */
.alert-container {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 2000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: none;
}

.alert-container .alert-wrap {
    position: relative;
    width: 280px;
    height: 160px; /* 운영 소스 */
    opacity: 0;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fff;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.32);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.32);
    -webkit-transform: translateY(60%);
    transform: translateY(60%);
    -webkit-transition: 400ms;
    transition: 400ms;
}

.alert-popup-bg {
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 9;
}

.alert-container .alert-wrap.move {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
}

.alert-wrap .alert-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
}

.alert-wrap .alert-content p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #222222;
    text-align: center;
    letter-spacing: -0.02em !important;
    line-height: 1.4;
    padding: 0 20px;
}

.alert-wrap .alert-content p strong {
    font-size: 16px;
    font-weight: 500;
}

.alert-wrap .alert-content p .sub-txt {
    display: block;
    margin-top: 10px;
    color: #666666;
    line-height: 20px;
}

.alert-wrap .alert-btn {
    width: 100%;
    height: 40px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.alert-wrap .alert-btn button {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex-grow: 1;
    cursor: pointer;
    width: 50%;
}

.alert-wrap .alert-btn button span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.33;

}

.alert-wrap .alert-btn .alert-btn-continue {
    background-color: #000000;
}

.alert-wrap .alert-btn .alert-btn-close {
    background-color: #BBBBBB;
}

.alert-wrap .alert-btn .alert-btn-confirm {
    background-color: #BBBBBB;
}

.alert-wrap .alert-btn .alert-btn-confirm2 {
    background-color: #000000;
}

.alert-container.new-type-1 .alert-wrap {
    max-width: 280px;
    height: auto;
    width: auto;
}

.alert-container.new-type-1 .alert-content {
    height: auto;
    width: auto;
    flex-direction: column;
    padding: 24px 20px 0;
}

.alert-container.new-type-1 .alert-content .alert-icon {
    width: 48px;
    height: 48px;
    background: url("/images/travel/overseas/hanainsure/mo/alert-icon.svg") no-repeat center;
    background-size: 100% auto;
}

.alert-container.new-type-1 .alert-content p.alert-title {
    font-size: 16px;
    font-weight: 400;
    padding: 0 0 21px 0;
    position: relative;
}

.alert-container.new-type-1 .alert-content p.alert-title strong {
    font-weight: bold;
}

.alert-container.new-type-1 .alert-content .alert-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

.alert-container.new-type-1 .alert-content .alert-text p {
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    padding: 0 0 0 10px;
    position: relative;
    margin-bottom: 4px;
    margin: 0;
}

.alert-container.new-type-1 .alert-content .alert-text p::after {
    content: "";
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: #19C4D8;
    left: 0;
    top: 5px;
}

.alert-container.new-type-1 .alert-info {
    font-size: 12px;
    letter-spacing: -0.02em;
    line-height: 1.6;
    padding: 15px 0 30px 0;
    margin: 0 12px;
    position: relative;
    word-break: normal;
    text-align: center;
}

/*가입완료화면 체크아이콘*/
.check-icon-tit {
    margin-bottom: 30px;
    padding-top: 67px;
    text-align: center;
    background: url("/images/travel/overseas/hanainsure/mo/img_check.svg") no-repeat center top;
}

@media (max-width: 768px) {
    .popup-inner {
        width: 80%;
    }
}
