.otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    direction: ltr;
    width: 100%;
}

.otp-digit {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.08);
    text-align: center;
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 900;
    caret-color: #60a5fa;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.otp-digit:focus {
    border-color: #60a5fa;
    background: rgba(255,255,255,.13);
    box-shadow: 0 0 0 4px rgba(96,165,250,.18);
    transform: translateY(-1px);
}

.otp-inputs.is-invalid .otp-digit {
    border-color: rgba(248,113,113,.8);
}

@media (max-width: 420px) {
    .otp-inputs {
        gap: 6px;
    }

    .otp-digit {
        border-radius: 11px;
        font-size: 1.1rem;
    }
}
