@charset "utf-8";

/* 모달 */
.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: var(--z-index-modal, 99);
    opacity: 0;
    transition: opacity var(--global_modal_duration) ease, display var(--global_modal_duration) allow-discrete;
}

.modal.is_active {
    display: flex;
    opacity: 1;

    @starting-style {
        opacity: 0;
    }
}

.modal .layer_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 17px;
    background: #fff;
    overflow: hidden;
}

.modal .layer_header {
    flex: 0 0 auto;
    display: flex;
    position: relative;
    width: 100%;
    padding: 0 var(--global_modal_margin);
}

.modal .layer_content {
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 0 var(--global_modal_margin);
}

.modal .content_inner {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
}

.modal .layer_footer {
    display: flex;
    flex-direction: row;
    gap: min(20px, 2.667vw);
    width: 100%;
    padding: min(38px, 5.067vw) var(--global_modal_margin) min(20px, 2.667vw);
    border-top: 1px solid #e1e2e3;
}

.modal .layer_footer a,
.modal .layer_footer button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    border-radius: min(15px, 2vw);
    color: #fff;
    font-size: 20px;
    font-family: 'noto6';
    background: #000;
}

.modal .layer_footer a.is_disabled,
.modal .layer_footer button:disabled {
    background: #bfbfbf;
    cursor: auto;
}

/* 바텀 시트 */
.global_bottom_layer .layer_body {
    width: 100%;
    max-width: min(750px, 100vw);
    height: max(500px, 90dvh);
    padding: 0 0 min(24px, 3.2vw);
    border-top: 1px solid #d2d2d2;
    border-radius: var(--global_modal_radius);
    transition: var(--global_modal_duration) ease-in;
    transform: translateY(50%);
}

.global_bottom_layer.is_active .layer_body {
    transform: translateY(0);

    @starting-style {
        transform: translateY(50%);
    }
}

.global_bottom_layer .layer_body::before {
    content: '';
    display: none;
    margin: min(18px, 2.4vw) auto 0;
    width: min(64px, 8.533vw);
    height: min(6px, 0.8vw);
    border: 1px solid #b8b8b8;
    border-radius: min(6px, 0.8vw);
    background: #c0c0c0;
}

.global_bottom_layer .layer_header {
    align-items: center;
    justify-content: flex-start;
    height: 80px;
}

.global_bottom_layer .header_title {
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-size: 28px;
    font-family: 'noto6';
}

.global_bottom_layer .btn_close {
    position: absolute;
    top: 50%;
    right: var(--global_modal_margin);
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: url('/mobile/images/new_icon/close.png') no-repeat center / contain;
}

/* 풀 사이즈 레이어 */
.global_full_layer .layer_body {
    width: 100%;
    max-width: min(750px, 100vw);
    height: 500px;
    padding: 0 0 min(24px, 3.2vw);
    border-radius: var(--global_modal_radius);
}

.global_full_layer .layer_header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 80px;
    border-bottom: 1px solid #b7b7b7;
}

.global_full_layer .header_title {
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-size: 26px;
    font-family: 'noto6';
}

.global_full_layer .btn_close {
    position: absolute;
    top: 50%;
    right: var(--global_modal_margin);
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: url('/mobile/images/new_icon/close.png') no-repeat center / contain;
}

/* 커스텀 컨펌 */
.global_confirm .confirm_cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(640px, 85.333vw);
    transform: scale(0.75);
    padding: min(47px, 6.267vw) min(20px, 2.667vw);
    border-radius: min(15px, 2vw);
    text-align: center;
    font-family: 'noto4';
    background: #fff;
}

.global_confirm .confirm_title {
    display: block;
    line-height: 1.2;
    letter-spacing: -0.045em;
    font-size: min(34px, 4.533vw);
    font-family: 'noto6';
}

.global_confirm .confirm_sub_title {
    display: block;
    line-height: 1.2;
    /* margin: min(31px, 4.133vw) 0 0; */
    letter-spacing: -0.045em;
    font-size: min(30px, 4vw);
    font-family: 'noto6';
}

.global_confirm .confirm_message {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: min(17px, 2.267vw) 0 0;
}

.global_confirm .message_sub {
    line-height: 1.2;
    margin: 0 0 min(26px, 3.467vw);
    letter-spacing: -0.045em;
    color: #676969;
    font-size: min(25px, 3.333vw);
}

.global_confirm .message_desc {
    line-height: 1.5;
    letter-spacing: -0.045em;
    font-size: min(27px, 3.6vw);
    font-family: 'noto5';
}

.global_confirm .message_text {
    line-height: 1.5;
    margin: min(5px, 0.667vw) 0 0;
    letter-spacing: -0.045em;
    font-size: min(26px, 3.467vw);
}

.global_confirm .message_desc+.message_desc {
    margin: min(15px, 2vw) 0 0;
}

.global_confirm .message_desc span {
    font-family: 'noto6';
}

.global_confirm .message_noti {
    margin: min(26px, 3.467vw) 0 0;
}

.global_confirm .message_noti li {
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: #a6a6a6;
    font-size: min(22px, 2.933vw);
    font-family: 'noto5';
}

.global_confirm .message_box {
    display: inline-flex;
    line-height: 1.3;
    border-radius: min(6px, 0.8vw);
    padding: min(10px, 1.333vw) min(55px, 7.333vw);
    margin: min(22px, 2.933vw) 0 0;
    letter-spacing: -0.045em;
    color: #5c5c5c;
    font-size: min(25px, 3.333vw);
    background: #f1f1f1;
}

.global_confirm .btn_area {
    display: flex;
    gap: min(20px, 2.667vw);
    width: 100%;
    margin: min(49px, 6.533vw) 0 0;
}

.global_confirm .btn_area a,
.global_confirm .btn_area button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: min(78px, 10.4vw);
    border: none;
    border-radius: min(10px, 1.333vw);
    letter-spacing: -0.03em;
    font-size: min(28px, 3.733vw);
    font-family: 'noto6';
    background: transparent;
}

.global_confirm .btn_area .btn_cancel {
    /* flex: 0 0 auto; */
    /* width: min(242px, 32.267vw); */
    color: #848484;
    border: min(2px, 0.267vw) solid #c8c8c8;
}

.global_confirm .btn_area .btn_confirm {
    /* flex: 1 1 auto; */
    color: #fff;
    background: #252525;
}

/* 와이드 레이어 */
.global_wide_layer .layer_body {
    width: 100%;
    max-width: min(817px, calc(100vw - 40px));
    height: 600px;
    padding: 30px 0;
    color: #333;
    overflow: visible;
}

.global_wide_layer .layer_content {
    width: 83%;
}

.global_wide_layer .layer_header {
    flex-direction: column;
    position: relative;
    width: 100%;
    text-align: center;
}

.global_wide_layer .header_title {
    line-height: 1.3;
    letter-spacing: -0.045em;
    font-size: 32px;
    font-family: 'noto5';
}

.global_wide_layer .header_desc {
    margin-top: 8px;
    line-height: 1.3;
    letter-spacing: -0.045em;
    color: #636363;
    font-size: 20px;
    font-family: 'noto4';
}

.global_wide_layer .btn_close {
    position: absolute;
    top: -80px;
    right: 0;
    width: 50px;
    height: 50px;
}

.global_wide_layer .btn_close::after,
.global_wide_layer .btn_close::before {
    content: '';
    position: absolute;
    top: 23px;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.global_wide_layer .btn_close::after {
    left: 2px;
    transform: rotate(135deg) translateX(0%);
}

.global_wide_layer .btn_close::before {
    left: 2px;
    transform: rotate(45deg) translateX(0%);
}