.tooltip-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #70828f;
    border: #70828f solid 1px;
    border-radius: 50%;
    cursor: help;
    font-style: normal;
}

.tooltip-modal {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background: var(--main-background-color);
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--secondary-text-color);
    font-size: 13px;
    line-height: 1.4;
    z-index: 100;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s;
}

.tooltip-modal:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--main-background-color) transparent transparent transparent;
}

.tooltip-modal {
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s;
}

.tooltip-modal.is-active {
    visibility: visible;
    opacity: 1;
}

.one-form-modal-win__title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.one-form-modal-win__title.phone {
    margin-bottom: 5px;
}

.popup_phoneVerification.popup_phoneVerification--modal {
    width: 100%;
    left: 0;
    top: 0;
}

.popup_phoneVerification--modal .js-close-popup {
    top: 5px;
    right: 5px;
}


/*================   guest registration success modal     =======================*/
.guest-registered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 100%;
    z-index: 99999999;
    height: 523px;
    background-color: var(--second-background-color);
    color: var(--main-text-color);
    padding: 50px 30px 30px;
    border-radius: 20px;
    box-shadow: 5px 5px 30px 5px #000000;
    max-width: 500px;
}

.guest-registered__header {
    margin-bottom: 30px;
    text-align: center;
}

.guest-registered__header h2 {
    font-size: 24px;
}

.guest-registered__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0 40px;
}

.guest-registered__alert {
    background-color: rgb(115, 92, 252, 20%);
    border: 2px solid #735CFC;
    margin: 10px 0 30px 0;
    border-radius: 10px;
    padding: 5px;
    color: var(--main-text-color);
    font-weight: 600;
    max-width: 100%;
}

.guest-registered__copy {
    cursor: pointer;
}

.guest-registered .close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.guest-registered .content__wrapper {
    margin-bottom: 15px;
    position: relative;
    width: 100%;
    text-align: left;
}

.guest-registered__credentials-item {
    border-radius: 10px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-height: 40px;
    background-color: #E5E1F1;
    color: var(--main-text-color);
}

.guest-registered__credentials-label {
    color: #70828F;
}

.guest-registered .value {
    font-size: 18px;
}

.guest-registered__copy-all {
    border-radius: 10px;
    color: #111;
    cursor: pointer;
}

.guest-registered .copy-btn.guest-registered:not {
    cursor: pointer;
}

body.dark-theme .guest-registered .close-modal {
    filter: invert(1);
}

body.dark-theme .guest-registered__copy {
    filter: invert(1);
}

body.dark-theme .guest-registered__credentials-item {
    background-color: #101010;
}

.auth-button__icon.guest {
    height: 25px;
}

@media (min-width: 769px) {
    .popup_phoneVerification.popup_phoneVerification--modal {
        width: 100%;
        max-width: 500px;
        left: 50%;
        top: 50%;
        height: max-content;
        transform: translate3d(-50%, -50%, 0);
        box-shadow: 5px 5px 30px 5px #000000;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .tooltip-modal {
        left: -10px;
        transform: none;
        width: 180px;
    }

    .tooltip-modal:after {
        left: 9px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .guest-registered {
        width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        padding: 50px 10px 10px;
        max-width: 100%;
    }

    .guest-registered__body {
        max-width: 100%;
    }

    .guest-registered__body {
        padding: 0;
    }
}
