/* [موبايل صاحب الجيم] خانة كود الواتساب (gs-otp.js) — نفس الشكل في التسجيل والبار وحسابي ونسيت كلمة السر
   الألوان من اللي حواليها (فاتح / غامق) — الأحمر #d53c41 للزراير والتفاصيل */
.gs-otp { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; font-family: inherit; color: inherit; }
.gs-otp-ic { width: 54px; height: 54px; margin: 0 auto 2px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; background: #25d366; box-shadow: 0 8px 20px rgba(37, 211, 102, .28); }
.gs-otp-title { margin: 4px 0 0; font-size: 19px; font-weight: 800; line-height: 1.5; color: inherit; }
.gs-otp-text { margin: 0 0 6px; font-size: 14px; line-height: 1.8; opacity: .82; }
.gs-otp-text b, .gs-otp-text bdi { font-weight: 800; opacity: 1; white-space: nowrap; }
.gs-otp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gs-otp-code { width: 100%; max-width: 260px; margin: 0 auto; height: 58px; border-radius: 14px; border: 1.5px solid rgba(127, 127, 127, .35); background: rgba(127, 127, 127, .06); color: inherit;
    text-align: center; font-size: 28px; font-weight: 800; letter-spacing: 10px; padding: 0 0 0 10px; font-family: Consolas, 'SF Mono', Menlo, monospace; outline: none; transition: border-color .15s, box-shadow .15s; }
.gs-otp-code::placeholder { color: inherit; opacity: .3; letter-spacing: 8px; }
.gs-otp-code:focus { border-color: #d53c41; box-shadow: 0 0 0 4px rgba(213, 60, 65, .16); }
.gs-otp-code.is-bad, .gs-otp [data-field].is-bad { border-color: #f04438 !important; box-shadow: 0 0 0 4px rgba(240, 68, 56, .14) !important; }
.gs-otp-msg { min-height: 20px; margin: 0; font-size: 13px; font-weight: 700; line-height: 1.6; }
.gs-otp-msg:empty { min-height: 0; }
.gs-otp-msg.is-bad { color: #d92d20; }
.gs-otp-msg.is-ok { color: #067647; }
.gs-otp-msg.is-wait { opacity: .7; }
.gs-otp-go { height: 48px; border: 0; border-radius: 12px; background: #d53c41; color: #fff; font-weight: 800; font-size: 15px; font-family: inherit; cursor: pointer; margin-top: 4px; }
.gs-otp-go:disabled { opacity: .6; cursor: default; }
.gs-otp-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.gs-otp-acts button { border: 0; background: none; padding: 4px 2px; font-family: inherit; font-size: 13.5px; font-weight: 800; color: #d53c41; cursor: pointer; }
.gs-otp-acts button:disabled { color: inherit; opacity: .5; cursor: default; font-weight: 700; }
.gs-otp-change.is-hint { text-decoration: underline; }
.gs-otp-later { margin-top: 6px; border: 1.5px dashed rgba(127, 127, 127, .45); background: transparent; color: inherit; border-radius: 12px; min-height: 44px; padding: 8px 14px; font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.gs-otp-later:hover { border-color: #d53c41; color: #d53c41; }
.gs-otp-fld { text-align: start; margin-top: 4px; }
.gs-otp-fld label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 4px; opacity: .85; }
.gs-otp-fld input { width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid rgba(127, 127, 127, .35); background: rgba(127, 127, 127, .06); color: inherit; padding: 0 12px; font-size: 15px; font-family: inherit; outline: none; }
.gs-otp-fld input:focus { border-color: #d53c41; box-shadow: 0 0 0 4px rgba(213, 60, 65, .16); }
.gs-otp-fld .gs-otp-msg { text-align: start; margin-top: 4px; }
.gs-otp-hint { margin: 2px 0 0; font-size: 12.5px; opacity: .7; text-align: start; }

/* صفحات الدخول (خلفية غامقة) */
.gsm-body .gs-otp-msg.is-bad { color: #fda29b; }
.gsm-body .gs-otp-msg.is-ok { color: #6ce9a6; }
.gsm-body .gs-otp-code, .gsm-body .gs-otp-fld input { background: rgba(255, 255, 255, .06); }
/* الوضع الغامق جوه السيستم */
html[data-mode="dark"] .gs-otp-msg.is-bad { color: hsl(4, 74%, 68%); }
html[data-mode="dark"] .gs-otp-msg.is-ok { color: hsl(155, 80%, 68%); }

/* ------------------------------------------------ البار + حسابي (جوه السيستم) */
/* نفس شكل بار الإيميل (is-mail) — الأيقونة واتساب ، و"محتاج يتصحح" بإطار أحمر */
.gs-paybar.is-phone > .fa { background: #e7f8ee; color: #16a34a; font-size: 18px; }
.gs-paybar.is-phone.is-fix { border-color: #fecdca; }
.gs-paybar.is-phone.is-fix > .fa { background: #fff1f1; color: var(--gs-red, #d53c41); }
html[data-mode="dark"] .gs-paybar.is-phone > .fa { background: rgba(22, 163, 74, .18); color: #4ade80; }
html[data-mode="dark"] .gs-paybar.is-phone.is-fix > .fa { background: rgba(213, 60, 65, .18); color: #ff6b6f; }
.gs-me .modal-body { padding: 18px 20px 22px; }
.gs-me-rows { display: flex; flex-direction: column; gap: 10px; }
.gs-me-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(127, 127, 127, .22); }
.gs-me-row > .fa { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(213, 60, 65, .1); color: #d53c41; font-size: 17px; flex: 0 0 auto; }
.gs-me-row > div { flex: 1 1 auto; min-width: 0; }
.gs-me-row small { display: block; font-size: 12px; opacity: .7; font-weight: 700; }
.gs-me-row b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.gs-me-row .btn { flex: 0 0 auto; border-radius: 10px; font-weight: 800; }
.gs-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; vertical-align: middle; margin-inline-start: 6px; white-space: nowrap; }
.gs-badge.is-ok { background: #ecfdf3; color: #067647; }
.gs-badge.is-no { background: #fef3f2; color: #b42318; }
.gs-badge.is-wait { background: #fff8e6; color: #b54708; }
html[data-mode="dark"] .gs-badge.is-ok { background: rgba(18, 183, 106, .16); color: hsl(155, 80%, 68%); }
html[data-mode="dark"] .gs-badge.is-no { background: rgba(240, 68, 56, .16); color: hsl(4, 74%, 72%); }
html[data-mode="dark"] .gs-badge.is-wait { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.gs-me-edit { margin-top: 14px; }
.gs-me-edit label { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.gs-me-edit .form-control { height: 46px; border-radius: 12px; font-size: 15px; }
.gs-me-edit .gs-me-btns { display: flex; gap: 8px; margin-top: 12px; }
.gs-me-edit .gs-me-btns .btn { flex: 1 1 0; height: 44px; border-radius: 12px; font-weight: 800; }
/* صفحة الدخول: لون الجيم (accent) بدل الأحمر */
.gsm-body .gs-otp-acts button, .gsm-body .gs-otp-later:hover { color: var(--gsm-accent, #d53c41); }
.gsm-body .gs-otp-go { background: var(--gsm-accent, #d53c41); }
.gsm-body .gs-otp-code:focus, .gsm-body .gs-otp-fld input:focus { border-color: var(--gsm-accent, #d53c41); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsm-accent, #d53c41) 20%, transparent); }
/* صفحة رابط "نسيت كلمة السر" من الإيميل */
.gs-reset .gsm-field, .gs-reset .gsm-field .form-control { width: 100%; box-sizing: border-box; }
.gs-reset .gsm-field .form-control { height: 50px; border-radius: 14px; }
.gs-reset .gsm-field input.is-bad { border-color: #f04438 !important; }
.gs-reset .gs-otp-msg { text-align: start; margin: 4px 0 10px; }
