#loading {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.125);
    text-align: center;
    display: flex;
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

#loading::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 30px auto 10px;
    border: 5px solid rgb(7, 89, 133, 1);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-sky-800 {
    --tw-text-opacity: 1;
    color: rgb(7 89 133 / var(--tw-text-opacity));
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-slate-500 {
    --tw-text-opacity: 1;
    color: rgb(100 116 139 / var(--tw-text-opacity));
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.bg-sky-700 {
    --tw-bg-opacity: 1;
    background-color: rgb(3 105 161 / var(--tw-bg-opacity));
}

.bg-sky-800 {
    --tw-bg-opacity: 1;
    background-color: rgb(7 89 133 / var(--tw-bg-opacity));
}

.otp-group {
    gap: .5rem;
    display: flex;
    align-items: center;
    position: relative;
    cursor: text;
    user-select: none;
    height: 40px;
}

.otp-item {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgb(148 163 184);
    border-radius: calc(0.5rem - 2px);
    font-size: .875rem;
    line-height: 1.25rem;
    position: relative;
}

.otp-input {
    position: absolute;
    height: 100%;
    width: 100%;
    background: transparent;
    border: transparent;
    opacity: 0;
}

.otp-item.filled {
    display: flex;
    font-size: 1.5em;
    justify-content: center;
    align-items: center;
}

.otp-item.active {
    border-color: #000;
}

.otp-item.active::after {
    content: '';
    position: absolute;
    background-color: #000;
    width: 1px;
    height: 20px;
    top: 9px;
    left: 19px;
    animation: caret-blink 1.25s ease-out infinite;
    border-color: #000;
}

.invalid>.otp-item {
    border-color: red;
    color: red;
}

.invalid>input {
    --bs-border-color: red;
    outline-color: red;
    color: red;
}

.alert svg {
    margin-right: 10px;
}

@keyframes caret-blink {
    0%, 70%, 100% {
        opacity: 1;
    }
    
    20%, 50% {
        opacity: 0;
    }
}