#authModal.modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

#authModal.modal.show {
    display: flex
}

#authModal .modal-box {
    background: white;
    padding: 30px 30px 15px;
    border-radius: 10px;
    width: 320px;
    position: relative;
    animation: scale .25s ease;
}

#authModal .modal-box.sending:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    border-radius: 10px;
}

#authModal .modal-box.sending:before {
    content: "";
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    border: 3px solid #ffffff;
    border-color: #655B52 transparent #655B52 transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: animate-preloader 1.5s linear infinite;
}


@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale {
    from {
        transform: scale(.9);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

#authModal h3{
    margin-bottom: 1rem;
}

#authModal p {
    margin-bottom: 0.5rem;
    color: #87765a;
}

#authModal .close {
    position: absolute;
    right: 12px;
    top: 8px;
    cursor: pointer;
    font-size: 36px;
    line-height: 0.7;
}

#authModal .hidden {
    display: none
}

#authModal .input {
    width: 100%;
    font-size: 16px;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    color: #87765a;
    font-family: Ubuntu;
    font-weight: 300;
    padding: 4px;

}

#authModal button {
    margin-top: 15px;
    
    width: 100%;
 
}

#authModal .secondary {
    background: #eee
}

#authModal .code-inputs {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

#authModal .code-links {
    display: flex;
    margin-top: 1rem ;
    justify-content: space-between;
}

#authModal .code {
    width: 45px;
        height: 50px;
        font-size: 22px;
        text-align: center;
        border: 1px solid #d6d6d6;
        border-radius: 4px;
        color: #87765a;
        font-family: Ubuntu;
        font-weight: 300;
        padding: 4px;
}

#authModal #error {
    color: red;
    margin-top: 10px
}

#authModal .shake {
    animation: shake .35s
}

@keyframes shake {
    0% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-5px)
    }

    50% {
        transform: translateX(5px)
    }

    75% {
        transform: translateX(-5px)
    }

    100% {
        transform: translateX(0)
    }
}