
/**
age checkup
 */
.wdaps_form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.wdaps_form_content {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 630px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background-color: #492B95;
    padding: 62px 57px 56px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    border-radius: 10px;
    color: #fff;
}

.wdaps_form_content:has(#wdaps_flow_success:not([style*="display:none"]),
            #wdaps_flow_error:not([style*="display:none"])) {
    max-width: 530px;
}

.wdaps_header {
    margin-bottom: 25px;
}

.wdaps_header-title {
    max-width: 405px;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
}

.wdaps_header-subtitle {
    font-size: 16px;
    line-height: 22px;
    max-width: 260px;
}

.wdaps_close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #E1D6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
}

.wdaps_close svg {
    width: 12px;
    height: 12px;
}

.wdaps_tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
}

.wdaps_tab {
    padding: 20px 26px;
    cursor: pointer;
    background: #D9CDFA;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #492B95;
    font-weight: 600;
    font-size: 16px;
    flex: 1 1 auto;
    text-align: center;
    line-height: normal;
}

.wdaps_tab_active {
    background: #F2EDFF;
    border-bottom: 0;
    color: #492B95;
}

.wdaps_tab_content {
    padding: 40px 63px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #F2EDFF;
    color: #492B95;
    margin-top: 0;
}

.wdaps_status {
    text-align: left;
    font-size: 14px;
    margin-bottom: 16px;
}

.wdaps_field {
    margin-bottom: 16px;
}

.wdaps_label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.ss-main {
    border-radius: 10px;
    background-color: #D9CDFA;
    color: #492B95;
    padding: 20px 25px 20px 28px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.ss-main .ss-values .ss-placeholder {
    color: #492B95;
    padding: 0;
    line-height: 1.1;
}

.ss-content {
    padding: 5px 6px;
}

.ss-content .ss-list .ss-option {
    padding: 15px 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #492B95;
    margin: 5px 0;
}

.ss-content .ss-list .ss-option:hover {
    color: #492B95;
    background-color: #F2EDFF;
}

.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
    color: #492B95;
    background-color: #F2EDFF;
}

.ss-main:focus {
    box-shadow: unset;
}

.ss-main .ss-arrow {
    width: 16px;
    height: 16px;
}

.wdaps_btn {
    display: inline-block;
    width: 100%;
    padding: 19px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    background: linear-gradient(180deg, #FF7354 17.5%, #DE3B17 81.67%);
    border-color: #E95C3E;
    color: #FFFFFF;
    font-family: 'Montserrat Alternates', sans-serif;
}

.wdaps_btn:hover {
    transform: translateY(-1px);
}

.wdaps_bankid_block {
    text-align: center;
}

.wdaps_bankid_block img {
    width: 200px;
    cursor: pointer;
}

.wdaps_reserve_block {
    text-align: center;
}

.wdaps_reserve_block h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.wdaps_reserve_block p {
    font-size: 13px;
    margin-bottom: 18px;
}

.wdaps_reserve_block button {
    margin-bottom: 8px;
}


.wdaps_btn--ghost {
    background: #E1D9FF;
    border-color: #E1D9FF;
    color: #492B95;
    width: 100%;
    max-width: 390px;
    border-radius: 10px;
}

.wdaps_result {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}

.wdaps_result-title {
    font-size: 28px;
    line-height: normal;
    font-weight: 600;
    margin: 0 0 82px;
}

.wdaps_result-text {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 40px;
    font-weight: 500;
}

.wdaps_result .wdaps_btn {
    margin: 0 auto;
}



#wdapsf_status {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    margin: 0 0 32px;
    color: #492B95;
}


#wdapsf_sharing_resp {
    margin-top: 20px;
    text-align: center !important;
    color: #492B95;
}


#wdapsf_sharing_resp>div {
    max-width: 430px;
    margin: 0 auto;
}

#wdapsf_sharing_resp .button {
    display: inline-block;
    width: 100%;
    max-width: 390px;
    padding: 19px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #E95C3E;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(180deg, #FF7354 17.5%, #DE3B17 81.67%);
    color: #FFFFFF !important;
    font-family: 'Montserrat Alternates', sans-serif;
    transition: all .2s;
}

#wdapsf_sharing_resp .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#wdapsf_sharing_resp>div>p {
    margin: 24px 0 20px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

/*
#wdapsf_sharing_resp iframe {
    position: static !important;
    display: block;
    margin: 0 auto;
    width: 220px !important;
    height: 220px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: none;
    border-radius: 27px;
}
*/

.wdaps_qr_block {
    margin-top: 26px;
    text-align: center;
}

.wdaps_btn--ghost {
    background: transparent;
    border-color: #5A38B4;
    color: #492B95;
    width: 100%;
    max-width: 185px;
    border-radius: 24px;
    font-size: 16px;
    line-height: 22px;
    padding: 10px 12px;
}

.wdapsf_reserve_button__wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px
}

@media (max-width: 630px) {

    #wdapsf_status {
        font-size: 14px;
        line-height: 20px;
        margin: 0 0 20px;
        color: #F2EDFF;
    }

    #wdapsf_sharing_resp {
        color: #F2EDFF;
    }

    #wdapsf_sharing_resp>div>p {
        font-size: 14px;
        line-height: 20px;
    }

    #wdapsf_sharing_resp .button {
        padding: 12px;
        font-size: 12px;
        border-radius: 7px;
        border: 1px solid transparent;
    }



    .wdaps_form_content {
        max-width: 320px;
        max-height: 90vh;
        padding: 7px 9px;
        background-color: #F2EDFF;
        border-radius: 0;
        box-shadow: none;
        color: #fff;
    }

    .wdaps_form_box {
        background-color: #492B95;
        border-radius: 8px;
        padding: 78px 22px 20px;
        position: relative;
    }

    .wdaps_close {
        right: 15px;
        top: 15px;
    }

    .wdaps_header-title {
        margin-bottom: 23px;
        font-size: 16px;
        line-height: 20px;
    }

    .wdaps_header-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .wdaps_tabs {
        display: flex;
        gap: 13px;
        margin-bottom: 13px;
        flex-wrap: wrap;
    }

    .wdaps_tab {
        padding: 13px;
        border-radius: 7px;
        font-size: 12px;
    }

    .wdaps_tab_content {
        padding: 0px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        background: unset;
        color: #F2EDFF;
        margin-top: 0;
    }

    .ss-main {
        border-radius: 7px;
        background-color: #F2EDFF;
        color: #492B95;
        padding: 13px 16px 13px 21px;
        display: flex;
        align-items: center;
        font-size: 12px;
        font-weight: 600;
    }

    .ss-main .ss-arrow {
        width: 12px;
        height: 12px;
    }


    .ss-content {
        padding: 4px 4px;
    }

    .ss-content .ss-list .ss-option {
        padding: 13px 17px;
        border-radius: 7px;
        font-size: 12px;
        margin: 3px 0;
    }


    .wdaps_btn {
        padding: 12px;
        font-size: 12px;
        border-radius: 7px;
        border: 1px solid transparent;
    }


    .wdaps_result {
        min-height: 180px;
    }

    .wdaps_result-title {
        font-size: 22px;
        margin-bottom: 53px;
    }

    .wdaps_result-text {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 30px;
    }

    .wdaps_btn--ghost {
        max-width: 100%;
        border-radius: 14px;
    }


    .wdaps_btn--ghost {
        background: transparent;
        border-color: #fff;
        color: #fff;
        width: 100%;
        max-width: unset;
        border-radius: 7px;
        font-size: 12px;
        line-height: 17px;
    }


    /*
    #wdapsf_sharing_resp iframe {
        width: 176px !important;
        height: 176px !important;
        border-radius: 21px;
    }
    */
}