/* ============================================================
   RU Portal — Custom Overrides on top of UBold
   ============================================================ */

/* Vazirmatn font */
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ru-font: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-font-sans-serif: var(--ru-font);
}

html,
body,
.wrapper,
p,
span,
input,
textarea,
select,
button,
h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.page-title-box,
.navbar-brand,
.header-title,
.jquery-notify-bar,
.jquery-notify-bar * {
    font-family: var(--ru-font) !important;
}

/* ============================================================
   6-digit OTP input row — must always render LTR
   ============================================================ */
.otp-group {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 1rem;
    direction: ltr !important;
    unicode-bidi: bidi-override;
}

.otp-group .otp-input {
    text-align: center;
    max-width: 52px;
    padding: 0;
    font-weight: 600;
    direction: ltr !important;
    unicode-bidi: bidi-override;
}

/* Responsive — smaller boxes on narrow screens */
@media (max-width: 400px) {
    .otp-group {
        gap: 0.35rem;
    }
    .otp-group .otp-input {
        max-width: 42px;
        padding: 0.25rem 0;
    }
}
.ru-username{
    color: #e8edf3 ;
}


    .text-truncate-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
