body.dru-auth-is-open {
    overflow: hidden;
}

.dru-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: var(--font);
}

.dru-auth-modal.is-open {
    display: flex;
}

.dru-auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(4px);
}

.dru-auth-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 42px;
    border: 1px solid #373737;
    border-radius: 20px;
    background: #111;
    color: #f4f6ef;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

.dru-auth-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #a0a0a0;
    font-size: 30px;
    line-height: 32px;
    cursor: pointer;
}

.dru-auth-modal__close:hover,
.dru-auth-modal__close:focus-visible {
    color: #fff;
    background: #242424;
}

.dru-auth-modal__step[hidden] {
    display: none;
}

.dru-auth-modal__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #6bb022;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dru-auth-modal h2 {
    margin: 0 40px 10px 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.12;
}

.dru-auth-modal__step > p {
    margin: 0 0 26px;
    color: #aaa;
    font-size: 16px;
    line-height: 1.45;
}

.dru-auth-modal__step > p strong {
    color: #fff;
    overflow-wrap: anywhere;
}

.dru-auth-modal label {
    display: block;
    margin-bottom: 8px;
    color: #e9e9e9;
    font-size: 14px;
}

.dru-auth-modal input {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #454545;
    border-radius: 12px;
    outline: none;
    background: #191919;
    color: #fff;
    font: inherit;
    font-size: 17px;
}

.dru-auth-modal input:focus {
    border-color: #6bb022;
    box-shadow: 0 0 0 3px rgba(107, 176, 34, .18);
}

#dru-auth-code {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .32em;
}

.dru-auth-modal__message {
    min-height: 21px;
    margin: 9px 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.4;
}

.dru-auth-modal__message.is-error {
    color: #ff7676;
}

.dru-auth-modal__message.is-success {
    color: #8bce49;
}

.dru-auth-modal__submit {
    width: 100%;
    height: 56px;
    border: 1px solid #6bb022;
    border-radius: 12px;
    background: #6bb022;
    color: #090909;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.dru-auth-modal__submit:hover:not(:disabled) {
    background: #7bc52d;
}

.dru-auth-modal button:disabled {
    cursor: wait;
    opacity: .65;
}

.dru-auth-modal__back,
.dru-auth-modal__resend {
    padding: 0;
    border: 0;
    background: transparent;
    color: #8bce49;
    font: inherit;
    cursor: pointer;
}

.dru-auth-modal__back {
    margin-bottom: 22px;
    font-size: 14px;
}

.dru-auth-modal__resend {
    display: block;
    margin: 18px auto 0;
    font-size: 14px;
}

.dru-auth-modal__back:hover,
.dru-auth-modal__resend:hover {
    color: #a5e267;
}

@media (max-width: 520px) {
    .dru-auth-modal {
        padding: 12px;
    }

    .dru-auth-modal__dialog {
        padding: 34px 22px 28px;
        border-radius: 16px;
    }

    .dru-auth-modal h2 {
        font-size: 25px;
    }
}
