:root {
    --auth-orange: #ff9800;
    --auth-orange-hover: #f57c00;
    --auth-orange-soft: rgba(255, 152, 0, 0.35);
    --auth-text: #222024;
    --auth-muted: #768090;
    --auth-input-border: #d0d8e8;
    --auth-form-bg: #f0f5ff;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-overflow-scrolling: touch;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #0d0a12;
    background-image: url("../img/background.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

body, dd, dl, dt, form, h1, h2, h3, h4, li, p, table, td, tr, ul {
    border: 0;
    font-size: 18px;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

body {
    font-family: "Times New Roman", Times, "Arabic Typesetting", "Traditional Arabic", serif;
    font-weight: 400;
    color: #333;
}

ul li {
    list-style: none;
}

a, a:hover {
    cursor: pointer;
    text-decoration: none;
}

img {
    border: 0;
    vertical-align: middle;
    -webkit-user-drag: none;
    user-drag: none;
}

:not(input, textarea) {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ===== Auth Container ===== */

.auth-container {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    width: 100%;
    background: transparent;
}

/* تمرير LTR = شريط التمرير على يمين الشاشة (الجانب المعتاد على ويندوز) */
.auth-scroll-track {
    direction: ltr;
    height: 100%;
    min-height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* عرض ثابت زي الكمبيوتر: على الجوال يتمرّر أفقيًا ورأسيًا */
.auth-scroll-track > .auth-scroll-content {
    min-width: 960px;
    min-height: 100%;
}

/* الصفحة LTR؛ الشكل يفضل زي RTL (فورم يمين، بانر شمال) عبر row-reverse على .login-wrap */
.auth-wrap {
    direction: ltr;
    margin: 0 auto;
    max-width: none;
    min-width: 960px;
    width: 960px;
}

/* ===== Header / Logo ===== */

.auth-header {
    align-items: center;
    background: linear-gradient(0deg, #281d38, #614e7e);
    display: flex;
    height: 42px;
    justify-content: flex-start;
    padding: 0 15px;
}

.logo {
    background-image: url("../img/logo.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: inline-block;
    height: 30px;
    width: 100px;
}

/* ===== Main Area ===== */

.auth-main {
    height: 766px;
    margin: 2px 0;
    position: relative;
    width: 100%;
}

/* ===== Login Wrapper (Banner + Form) ===== */

.login-wrap {
    background-color: var(--auth-form-bg);
    background-image: url("../img/backform.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
    justify-content: center;
}

/* ===== Banner / Aside ===== */

.login-aside {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    width: 300px;
}

.login-aside img {
    height: 100%;
    width: auto;
}

/* ===== Form / Main Login ===== */

.login-main {
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 28px;
    box-sizing: border-box;
}

.login-areas {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 535px;
    width: 100%;
}

/* ===== QR Scan Area ===== */

.qr-scan-area {
    align-items: center;
    direction: rtl;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 20px;
    text-align: center;
    unicode-bidi: isolate;
    width: 100%;
}

.qr-scan-header {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.qr-scan-icon {
    background-image: url("../img/icons/barcode_icon.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    height: 36px;
    width: 36px;
}

.qr-scan-title {
    color: var(--auth-text);
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.qr-scan-frame {
    align-items: center;
    background: #fff;
    border: none;
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    padding: 30px;
    position: relative;
}

.qr-scan-frame .corner {
    height: 28px;
    position: absolute;
    width: 28px;
}

.qr-scan-frame .corner-tl {
    border-left: 3px solid #768090;
    border-top: 3px solid #768090;
    left: 0;
    top: 0;
}

.qr-scan-frame .corner-tr {
    border-right: 3px solid #768090;
    border-top: 3px solid #768090;
    right: 0;
    top: 0;
}

.qr-scan-frame .corner-bl {
    border-bottom: 3px solid #768090;
    border-left: 3px solid #768090;
    bottom: 0;
    left: 0;
}

.qr-scan-frame .corner-br {
    border-bottom: 3px solid #768090;
    border-right: 3px solid #768090;
    bottom: 0;
    right: 0;
}

.qr-scan-img {
    height: auto;
    max-width: 220px;
    width: 100%;
}

.qr-scan-hint {
    color: var(--auth-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

.qr-scan-highlight {
    color: var(--auth-orange);
    font-weight: 600;
}

/* ===== Bound Account Section ===== */

.bound-account {
    direction: rtl;
    height: 100%;
    text-align: start;
    unicode-bidi: isolate;
}

.bound-header {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
    margin-top: 0;
    padding: 12px 16px 4px;
    width: 100%;
}

.bound-header-inner {
    direction: rtl;
    display: inline-block;
    max-width: 100%;
    unicode-bidi: isolate;
    vertical-align: top;
}

/* سطر العنوان: الجزء الرئيسي + عمود «مرحباً بك» فوق (عربي) مثل السكرين */
.bound-title-line {
    align-items: flex-end;
    color: var(--auth-text);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.12em;
    justify-content: center;
    letter-spacing: 0.01em;
    line-height: 1.35;
}

.bound-title-main {
    font-size: 28px;
    font-weight: 700;
}

.bound-locale-stack {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    line-height: 1.2;
}

.bound-welcome {
    color: var(--auth-text);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1px;
}

.bound-title-locale {
    font-size: 28px;
    font-weight: 700;
}

/* ===== Tabs ===== */

.bound-tabs {
    align-items: center;
    background: #fff;
    border: 1px solid var(--auth-input-border);
    border-radius: 22px;
    box-sizing: border-box;
    display: flex;
    height: 46px;
    justify-content: center;
    margin: 0 auto;
    width: 360px;
}

.bound-tabs span {
    align-items: center;
    border-radius: 22px;
    color: var(--auth-muted);
    cursor: pointer;
    display: flex;
    font-size: 20px;
    font-weight: 400;
    height: 100%;
    justify-content: center;
    width: 50%;
    transition: all 0.3s;
}

.bound-tabs span.on {
    background: var(--auth-orange);
    color: #fff;
    font-weight: 600;
}

.bound-tabs #tab-email {
    direction: ltr;
}

/* ===== Form List Items ===== */

.bound-account ul {
    margin: 44px auto 0;
    width: 460px;
}

.bound-account ul li {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

/* أعلى تحديد من القاعدة السابقة حتى لا يُعرَض صف البريد مع صف الهاتف */
.bound-account ul li.email-item {
    display: none;
}

/* ===== Input Box ===== */

.input-box {
    align-items: center;
    background: #fff;
    border: 1px solid var(--auth-input-border);
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    flex-grow: 1;
    height: 42px;
    justify-content: center;
    padding: 0 8px;
    transition: all .35s;
}

.input-box input {
    background-color: transparent;
    border: none;
    box-sizing: border-box;
    color: #000;
    flex-grow: 1;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    height: 100%;
    outline: none;
    padding: 0 6px;
}

/* كتابة الحقول من اليسار لليمين رغم اتجاه الفورم RTL */
.bound-account .input-box input {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

.input-box input::-webkit-input-placeholder {
    color: #9ba4b4;
    font-size: 18px;
    font-weight: 400;
}

.input-box input::placeholder {
    color: #9ba4b4;
    font-size: 18px;
    font-weight: 400;
}

.input-box input:-webkit-autofill,
.input-box input:-webkit-autofill:focus,
.input-box input:-webkit-autofill:hover {
    -webkit-box-shadow: inset 0 0 0 1000px #fff !important;
    -webkit-filter: none !important;
    filter: none !important;
}

.input-box.error {
    border-color: #ff4c76;
}

/* ===== Icons (حقول الفورم من ملفات منفصلة؛ الهاتف من phone_icon) ===== */

.icon-mobile,
.icon-password,
.icon-email-field,
.icon-eye {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 28px;
    width: 28px;
    flex-shrink: 0;
}

.icon-mobile {
    background-image: url("../img/icons/phone_icon.png");
}

.icon-email-field {
    background-image: url("../img/icons/email_icon.png");
}

.icon-password {
    background-image: url("../img/icons/lock_icon.png");
}

.icon-eye {
    background-image: url("../img/icons/eye_slash_icon.png");
    cursor: pointer;
}

.icon-eye.visible {
    background-image: url("../img/icons/eye_icon.png");
}

/* ===== Phone / Mobile Item ===== */

.bound-account ul li.mobile-item {
    gap: 14px;
    justify-content: flex-start;
}

.mobile-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.mobile-item .mobile-phone-input {
    flex: 1 1 auto;
    margin-left: 0;
    min-width: 0;
}

.area-code-wrap {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.area-code-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    direction: ltr;
    background: #fff;
    border: 1px solid var(--auth-input-border);
    border-radius: 6px;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    pointer-events: auto;
    position: relative;
    z-index: 6;
}

.area-code-txt {
    font-size: 18px;
    color: #000;
    direction: ltr;
    font-weight: 400;
}

/* ===== نافذة اختيار رمز المنطقة (تسجيل بالهاتف) ===== */

.area-code-modal {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 16px;
    position: fixed;
    z-index: 999999;
}

.area-code-modal.is-open {
    display: flex;
}

.area-code-modal-backdrop {
    background: rgba(13, 10, 18, 0.55);
    cursor: pointer;
    inset: 0;
    position: absolute;
    z-index: 0;
}

.area-code-modal-panel {
    background-color: transparent;
    background-image: url("../img/dialog.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    direction: rtl;
    display: flex;
    flex-direction: column;
    max-height: min(88vh, 640px);
    max-width: 560px;
    overflow: hidden;
    position: relative;
    unicode-bidi: isolate;
    width: 100%;
    z-index: 1;
}

.area-code-modal-header {
    align-items: center;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    min-height: 48px;
    padding: 12px 44px 12px 16px;
    position: relative;
}

.area-code-modal-title {
    color: #ffe4a0;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.area-code-modal-close {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
}

.area-code-modal-close:hover {
    opacity: 0.7;
}

.area-code-modal-body {
    background: transparent;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px 18px;
    -webkit-overflow-scrolling: touch;
}

.area-code-grid {
    display: grid;
    gap: 6px 12px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 520px) {
    .area-code-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.area-code-option {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    padding: 6px 4px;
    user-select: none;
}

.area-code-option input {
    accent-color: #7d4eb0;
    cursor: pointer;
    flex-shrink: 0;
    height: 18px;
    margin: 0;
    width: 18px;
}

.area-code-option-name {
    color: #333;
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    min-width: 0;
}

.area-code-option-num {
    color: #555;
    direction: ltr;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    unicode-bidi: isolate;
}

.area-code-option.is-selected .area-code-option-name,
.area-code-option.is-selected .area-code-option-num {
    color: #6b3d9a;
    font-weight: 700;
}

.icon-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 5px solid #768090;
    margin-top: 2px;
}

/* ===== Email Item ===== */

.email-item {
    display: none;
    margin-bottom: 30px;
}

.email-item .input-box {
    margin-left: 15px;
}

/* ===== Password Item ===== */

.password-item {
    margin-bottom: 40px;
}

/* ===== Login Button ===== */

.login-item {
    margin-bottom: 20px;
}

.btn-login {
    align-items: center;
    background: var(--auth-orange);
    font-family: inherit;
    border-radius: 10px;
    box-shadow: 0 3px 8px var(--auth-orange-soft);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    letter-spacing: 0.02em;
    width: 100%;
    border: none;
    transition: all 0.2s;
}

.btn-login:hover {
    background: var(--auth-orange-hover);
    box-shadow: 0 4px 14px var(--auth-orange-soft);
}

/* ===== Reset Password Button ===== */

.tools-item {
    justify-content: flex-end !important;
}

.tools-item .btn-reset {
    border: none;
    color: var(--auth-orange);
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    text-decoration: underline;
}

.tools-item .btn-reset:hover {
    color: var(--auth-orange-hover);
}

.bound-account ul li > :only-child {
    margin-left: auto;
}

/* ===== Login Methods ===== */

.login-method {
    direction: rtl;
    margin: 0 auto;
    unicode-bidi: isolate;
    width: 590px;
}

.method-title {
    align-items: center;
    display: flex;
    height: 60px;
    justify-content: center;
}

.method-title i {
    background-image: url("../img/steps.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 1px;
    width: 149px;
}

.method-title i.line-left {
    transform: rotate(180deg);
}

.method-title i.line-right {
    background-position-x: 0;
}

.method-title h3 {
    color: var(--auth-muted);
    font-size: 16px;
    font-weight: 600;
    padding: 0 12px;
}

.login-method ul {
    align-items: center;
    display: flex;
    justify-content: space-around;
}

.login-method li {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 92px;
    justify-content: center;
    transition: border-color .25s, background-color .25s;
    width: 132px;
}

.method-icon {
    background-image: url("../img/login_icons.png");
    background-repeat: no-repeat;
    background-size: 500% 100%;
    height: 44px;
    width: 44px;
}

.method-txt {
    color: #9ba4b4;
    font-size: 12px;
    font-weight: 400;
    margin-top: 10px;
    transition: color .35s;
}

/* Method: Binding (Phone/Email) */
.method-binding.on,
.method-binding:hover {
    border-color: var(--auth-orange);
    background: rgba(255, 152, 0, 0.06);
}

.method-binding.on .method-txt,
.method-binding:hover .method-txt {
    color: var(--auth-orange);
    font-weight: 600;
}

.method-binding .method-icon {
    background-image: url("../img/icons/massage_icon.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Method: QR Code */
.method-qr .method-icon {
    background-position-x: 75%;
}

.method-qr.on,
.method-qr:hover {
    border-color: #aa52b5;
}

.method-qr.on .method-txt,
.method-qr:hover .method-txt {
    color: #aa52b5;
}

/* Method: Facebook */
.method-facebook .method-icon {
    background-position-x: 50%;
}

.method-facebook.on,
.method-facebook:hover {
    border-color: #4f8ad3;
}

.method-facebook.on .method-txt,
.method-facebook:hover .method-txt {
    color: #4f8ad3;
}

/* ===== Terms / Privacy ===== */

.login-terms {
    align-items: center;
    color: var(--auth-orange);
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 400;
    gap: 6px 10px;
    justify-content: center;
    line-height: 1.6;
    margin-top: 36px;
    max-width: 520px;
    unicode-bidi: isolate;
}

.login-terms .terms-plain {
    color: #1a1a1a;
}

.terms-check-wrap {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    margin-inline-start: 8px;
    position: relative;
}

.terms-consent-input {
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    border: 0;
}

.check-box {
    background-color: #fff;
    border: 2px solid #5c5c5c;
    border-radius: 3px;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 20px;
}

.terms-consent-input:focus + .check-box {
    outline: 2px solid var(--auth-orange);
    outline-offset: 2px;
}

.terms-consent-input:checked + .check-box {
    background-color: var(--auth-orange);
    border-color: var(--auth-orange);
}

.terms-consent-input:checked + .check-box::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    box-sizing: border-box;
    content: "";
    height: 10px;
    left: 50%;
    position: absolute;
    top: 45%;
    transform: translate(-55%, -60%) rotate(45deg);
    width: 5px;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    border: 0;
}

.terms-link {
    color: var(--auth-orange);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.terms-link:hover {
    color: var(--auth-orange-hover);
}

/* ===== Feedback Button (نص أفقي «الملاحظات») ===== */

.feedback-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(100%, -50%);

    width: 54px;
    height: 54px;

    border: none;
    outline: none;
    box-shadow: none;

    background-color: transparent;
    background-image: url("../img/icons/notes_icon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.feedback-btn:hover {
    background-image: url("../img/icons/notes_icon1.png");
}

.feedback-txt {
    color: #f0f2f5;
    direction: rtl;
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin: 35px 0 0;
    position: relative;
    text-align: center;
    text-shadow: none;
    unicode-bidi: isolate;
    white-space: nowrap;
    z-index: 1;
}

/* ===== Footer ===== */

.auth-footer {
    background: #161715;
    padding: 15px 30px 5px;
}

.auth-footer > div {
    padding-bottom: 8px;
    text-align: center;
}

.footer-slogan {
    color: var(--auth-orange);
    font-size: 12px;
    font-weight: 400;
}

.footer-tips,
.footer-approve {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

/* بدون تصميم منفصل للجوال: نفس عرض الكمبيوتر + تمرير بالإصبع */

/* ===== Toast / شريط تنبيه أفقي (نمط بويا: شريط داكن لامع + نص أبيض) ===== */

/* بدون تعتيم الصفحة: النقرات تمر للخلف ما عدا الشريط */
.auth-toast-overlay {
    align-items: center;
    box-sizing: border-box;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
    position: fixed;
    z-index: 10000001;
}

.auth-toast-overlay.is-open {
    display: flex !important;
}

/*
 * شريط تنبيه بنمط بويا: شريط أفقي داكن شبه شفاف + تلاشي الحواف يمين/يسار،
 * صورة alert.png كنسيج، نص أبيض في المنتصف.
 */
.auth-toast-panel {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.72);
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.07) 0%,
            transparent 42%,
            transparent 58%,
            rgba(0, 0, 0, 0.45) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.55) 0%,
            transparent 18%,
            transparent 82%,
            rgba(0, 0, 0, 0.55) 100%
        );
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%;
    border: none;
    border-radius: 0;
    box-shadow:
        0 0 28px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    max-width: min(calc(100vw - 40px), 480px);
    min-height: 40px;
    padding: 9px 32px;
    position: relative;
    text-align: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    width: min(calc(100vw - 40px), 480px);
    z-index: 1;
}

/* نفس فونت الموقع (body) مع حجم أصغر قليلاً من 18px الافتراضي */
.auth-toast-message {
    color: #fff;
    direction: rtl;
    font-family: "Times New Roman", Times, "Arabic Typesetting", "Traditional Arabic", serif;
    font-size: clamp(13px, 3.1vw, 15px);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.45;
    margin: 0;
    max-width: 100%;
    text-align: center;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.8),
        0 1px 1px rgba(0, 0, 0, 0.95);
    unicode-bidi: plaintext;
}
