/* خانات كود الدخول (المالك ٢٨ نوفمبر «الارقام و الخانات مش متناسقة»).
   فيلامنت بيرسم الأرقام في input شفاف فوق الـ٦ مربعات، ومكان كل رقم بالمسافة بين الحروف على خط ثابت العرض؛ خط النظام والاتجاه كانوا بيبوّظوا الحساب.
   هنا كل المقاسات مربوطة ببعض: مربع ٤٤ (لمس) وفاصل ٦ ⟵ خطوة ٥٠؛ Courier New بمقاس --en-fs-2xl (٢٠) عرض الحرف ٠٫٦ منه (١٢)
   ⟵ المسافة = الخطوة − الحرف (٣٨)، والرقم في نص المربع بإزاحة (المربع − الحرف) ÷ ٢ (١٦).
   الكود أرقام فبيتكتب من الشمال لليمين، والمربعات على يمين الخانة تحت عنوانها. */
.fi-one-time-code-input-ctn {
    --en-otp-box: 44px;
    --en-otp-gap: 6px;
    --en-otp-char: calc(var(--en-fs-2xl, 1.25rem) * 0.6);
    direction: ltr;
    display: flex;
    gap: var(--en-otp-gap);
    width: calc(6 * var(--en-otp-box) + 5 * var(--en-otp-gap));
    max-width: 100%;
    height: 48px;
    margin-left: auto;
}

.fi-one-time-code-input-ctn > .fi-one-time-code-input-digit-field {
    flex: 0 0 var(--en-otp-box);
    width: var(--en-otp-box);
    height: 48px;
}

.fi-one-time-code-input-ctn > .fi-one-time-code-input {
    left: 0;
    right: calc(-1 * (var(--en-otp-box) + var(--en-otp-gap)));
    top: 0;
    bottom: 0;
    padding: 0 0 0 calc((var(--en-otp-box) - var(--en-otp-char)) / 2);
    text-align: left;
    direction: ltr;
    font-family: 'Courier New', Courier, monospace;
    font-size: var(--en-fs-2xl, 1.25rem);
    line-height: 48px;
    font-weight: var(--en-fw-bold, 700);
    letter-spacing: calc(var(--en-otp-box) + var(--en-otp-gap) - var(--en-otp-char));
}
