﻿/* =============================================================================
   overrides — آخر ورقة تُحمَّل في كل صفحة.
   -----------------------------------------------------------------------------
   السبب: دمج الأنماط يبني حزمة ثابتة لكل مجموعة صفحات. أي قاعدة تُضاف بعد
   البناء لا تصل إلى الصفحات التي تستخدم الحزمة (كما حدث مع بوابة السياسات).
   هذه الورقة تُحمَّل بعد الحزمة دائمًا، فتبقى التعديلات اللاحقة فعّالة.
   ========================================================================== */

/* ── بوابة إقرار السياسات ────────────────────────────────────────────────── */
/* أولوية أعلى: قاعدة has-rights-bar في الحزمة تسبقنا بنفس الوزن. */
html body.pg-open{ padding-bottom: var(--pg-h, 0px) !important; }
body.pg-open footer,
body.pg-open .platform-rights-bar{ position:static !important; }

/* ── حالات فارغة لا تُحسب عناصر مرئية ───────────────────────────────────── */
[role="status"]:empty,
.brand-status:empty,
.occ-status:empty{ display:none; }
.brand-status.info{ display:block; color:#5C737C; }

/* ── ترويسة صفحة الدليل ─────────────────────────────────────────────────── */
.guide-header{ color:#fff; }
.guide-header h1{ color:#fff; }
.guide-header small{ color:rgba(255,255,255,.85); }
.guide-header a{ color:#9FE3EC; }
.guide-header a:hover{ color:#fff; }

/* زر ملء الشاشة عائم أسفل الشاشة؛ يبقى تحت البوابة إن لم يُرفع. */
body.pg-open .pt-fs-btn{ bottom: calc(var(--pg-h, 0px) + 12px) !important; }

/* توحيد لون Exam مع صفحة ex التسويقية */
:root{--ex-brand:#2563EB;--ex-accent:#2563EB}
.btn[type=submit]{background:#2563EB !important;border-color:#2563EB !important;color:#fff !important}
div.mark,.flogo .mark{color:#2563EB !important}
