.registration-otp-overlay {
    position: fixed;
    inset: 0;
    z-index: 1048;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 1rem;
    overflow: auto;
    background: rgba(0, 0, 0, .52);
}

.registration-otp-panel {
    box-sizing: border-box;
    width: min(100%, 30rem);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: clamp(1.25rem, 5vw, 2rem);
    border: 0;
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #222);
    box-shadow: 0 .8rem 2.2rem rgba(0, 0, 0, .18);
}

.registration-otp-panel h2 {
    margin: 0 0 .75rem;
    font-size: 1.35rem;
}

.registration-otp-panel p {
    line-height: 1.55;
}

.registration-otp-label {
    display: block;
    margin-bottom: .5rem;
}

.registration-otp-code {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(.375rem, 2vw, .75rem);
    width: 100%;
    max-width: 22rem;
    margin-bottom: .75rem;
}

.registration-otp-code .registration-otp-digit {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: clamp(2.375rem, 11vw, 3rem);
    padding: 0;
    border: 1px solid var(--bs-border-color, #e2e2e2);
    border-radius: .5rem;
    background: var(--bs-body-bg, #fff);
    color: inherit;
    text-align: center;
    font: inherit;
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-variant-numeric: tabular-nums;
}

.registration-otp-code .registration-otp-digit:focus {
    border-color: var(--bs-primary, #0d6efd);
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 1px;
}

.registration-otp-actions,
.registration-otp-local-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.registration-otp-actions {
    justify-content: flex-end;
    margin-top: .85rem;
}

.registration-otp-actions .btn,
.registration-otp-local-controls .btn {
    border-radius: .5rem;
}

.registration-otp-resend.btn {
    padding-inline: 0;
}

.registration-otp-message {
    min-height: 1.5em;
    margin: .6rem 0 0;
}
