/* ==================================================== */
/* ===========  Global & Font Settings  =========== */
/* ==================================================== */

/* This sets the main font for the entire page to match the design */
body, .Header__nav, .Header__welcomeTitle, .Header__welcomeDescription, .zgh-category-list .zgh-category .zgh-category-name, .zgh-category-list .zgh-category .zgh-category-description {
    font-family: 'Cairo', sans-serif !important; /* Using Cairo font as it's common in modern Arabic designs */
}
.Header__bgColor, .Header__homeNavbarFixed .Header__searchSubCont, .Header__homeNavbarFixed .Header__searchLink{
    background-color: #feffff;
}
.Header__menuList, .Header__menuList a, #portal_tabHome, #portal_tabCases, #portal_tabCommunity, #portal_tabHome a, #portal_tabCases a, #portal_tabCommunity a{

}

@media (max-width: 48rem) {
    .Header__navOpen .Header__nav {
        background-color: white;
    }
    
  
      .Header__menuClick {
        display: none  !important;
    }
      .Header__navbtn {
        flex-direction: row;
    }
}
@media only screen and (max-width: 500px) {
  .Header__nav {
     gap: 0px !important;
  }
}
@media only screen and (max-width: 768px) {
    .LoginDetail__signin, .LoginDetail__signup {
        padding-top: 0px  !important;
        font-size: 14px !important;
        text-align: center;
    }
   .Header__nav {
         opacity: 1 !important;
         flex-direction: column  !important;
         justify-content: start  !important;
         gap: 0px !important;
         display: contents !important ;
    }
}
.Header__logoPart {
    min-width: 0px !important ;
}

.Header__menuWrapper {
    box-shadow: 0 2px 73px rgb(140 140 140 / 38%) !important;
}

.Header__menu{
  background-color: black !important
}
.Header__menu:before{
  background-color: black !important
}
.Header__menu:after{
  background-color: black !important
}
.Header__welcomeTitle{
 color: #08308B !important;
}
.Header__nav{
  flex-direction: row-reverse;
}

.Header__link {
    font-weight: 400 !important;
}
[lang="ar"] .Header__nav{
	direction: ltr;
}

[lang="en"] .Header__nav{
	direction: rtl;
}
.Header__logo{
max-height: 37px;
 margin-top:1px !important;
}
.Header__navbtn{
  justify-content: center;
}
.signinLink{
color: #08308B;
}
.signinLink:hover{
color: #FF5100;
}
.Header__searchLink::before{
display:none !important;
}
.Header__searchLink::after{
display:none !important;
}
[lang="ar"] .SearchBox__searchpart input {
    padding-inline-start: 11px !important;
    padding-inline-end: 138px !important;
    direction: rtl;
    min-width: 800px;
    width: 490px;
}

[lang="en"] .SearchBox__searchpart input {
    padding-inline-start: 11px !important;
    padding-inline-end: 138px !important;
    direction: ltr;
    min-width: 800px;
    width: 490px;
}

.Header__panelbtns { position: relative; z-index: 50; }

.SearchAutosuggest__searchSuggest {
  position: relative !important; 
}


.LocalePopup__localeLabel{
color: #08308B;
}
.LocalePopup__localeLabel:hover{
color: #FF5100;
}
 .Icon__icon{
color: #08308B;
}
.Icon__icon:hover{
color: #FF5100;
}
 
 
/* ==================================================== */
/* ============  Header & Navigation Bar  =========== */
/* ==================================================== */

/* Main header background color */
.Header__headerBg {
    background-color: #ffffff; /* White background for the top bar */
    border-bottom: 1px solid #e0e0e0; /* Light grey bottom border */
}

/* Blue background for the search area */
.Header__titleSearchWrapper {
    background-color: #1A3469; /* Dark Blue Color from the image */
}

/* Remove the default background color from this element */
.Header__bgColor {
    background-color: transparent !important;
}

/* Navigation menu link styles */
.Header__nav .Header__menuList {
    color: #1A3469 !important; /* Dark blue text color for nav links */
    font-weight: 600 !important; /* Bolder font */
    font-size: 16px !important;
    margin: 0 15px !important;
 
}

/* Style for the active/hovered navigation link */
.Header__nav .Header__menuList:hover, .Header__nav .Header__menuList.Header__active {
    color: #F36C21 !important; /* Orange color on hover */
    border-bottom: 2px solid #F36C21;
}

/* Company name text style */
.Header__logotxt {
    display: none; /* Hiding the company name text as it's not in the design */
}


/* ==================================================== */
/* ============  Welcome & Search Section  =========== */
/* ==================================================== */

/* "قاعدة المعرفة" title style */
.Header__welcomeTitle {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    text-align: center;
}

/* Welcome description text style */
.Header__welcomeDescription {
    color: #f1f1f1 !important;
    font-size: 18px !important;
    text-align: center;
}

/* Search input box container */
.Header__searchBox .zgh-search-input {
    border-radius: 8px !important;
    border: 1px solid #ccc;
    height: 50px !important;
    font-size: 16px;
}

/* Search icon style */
.Header__searchBox .zgh-search-icon::before {
    font-size: 24px !important;
    color: #F36C21 !important; /* Orange search icon */
}


/* ==================================================== */
/* ============  Knowledge Base Categories  =========== */
/* ==================================================== */

/* Container for all category boxes */
.zgh-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 25px;
    padding: 40px 0;
}

/* Individual category box style */
.zgh-category-list .zgh-category {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zgh-category-list .zgh-category:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Soft shadow on hover */
}

/* Category icon style */
.zgh-category-list .zgh-category .zgh-category-icon {
    font-size: 48px !important;
    color: #F36C21 !important; /* Orange color for all icons */
    height: 60px;
    width: 60px;
    margin: 0 auto 15px auto;
    display: block;
    /* To use custom images instead of font icons, use this: */
    /* content: url('رابط_الأيقونة_هنا'); */
}

/* Category title style */
.zgh-category-list .zgh-category .zgh-category-name {
    color: #1A3469 !important; /* Dark blue title */
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Category description style */
.zgh-category-list .zgh-category .zgh-category-description {
    color: #555 !important;
    font-size: 15px !important;
    min-height: 60px; /* Ensures consistent height */
}

/* "اقرأ المزيد" link style */
.zgh-category-list .zgh-category .zgh-category-articles-count {
    background-color: #F36C21 !important; /* Orange background */
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

/* Hiding the default article count text (e.g., "5 Articles") */
.zgh-category-list .zgh-category .zgh-category-articles-count .zgh-article-count {
    display: none;
}

/* Adding "اقرأ المزيد" text */
.zgh-category-list .zgh-category .zgh-category-articles-count::after {
    content: 'اقرأ المزيد';
    display: inline;
}
/* ===== Center the logo and nav exactly in the header ===== */
:root{ --mm-blue:#0d3b7e; --mm-orange:#ff5a00; }

.Header__menuWrapper{
  background:#fff !important;
  box-shadow:0 2px 73px rgba(0,0,0,.38);
}

/* خلي محتوى الهيدر عمودي ومتمركز */
.Header__menuBox{
  max-width:1220px;          /* ← اتصلحت من 120px */
  margin:0 auto;
  padding:18px 16px 10px;
  display:flex;
  flex-direction:column;   
  align-items:center;      
  gap:12px;
}

/* اللوجو في النص */
.Header__logoimg{ display:block; }
.Header__logo{ height:64px; display:block; margin:0 auto; }

/* غلاف المنيو */
.Header__navbtn{ width:100%; }

/* القايمة متوسّطة تحت اللوجو */
.Header__nav{
  list-style:none; margin:0; padding:0;
  display:flex; justify-content:center; align-items:center;
  gap:40px; flex-wrap:wrap;
}

/* ألوان الروابط */
 .Header__menuList a{
  color:var(--mm-blue) !important;
  font-weight:800;
  text-decoration:none !important;
  position:relative;
  padding-bottom:8px;
  cursor:pointer;
}

/* التاب النشط: قاعدة المعارف */
#portal_tabSolutions, #portal_tabSolutions a{ color:var(--mm-orange) !important; }
#portal_tabSolutions::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:0; width:78px; height:4px; background:var(--mm-orange); border-radius:2px;
}

/* Hover */
.Header__menuList:hover, .Header__menuList:hover a{ color:var(--mm-orange) !important; }

/* Responsive */
@media (max-width:720px){
  .Header__logo{ height:52px; }
  .Header__nav{ gap:22px; }
  #portal_tabSolutions::after{ width:56px; }
}

/************** شريط البحث **************/
.Header__searchLink{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 21px rgba(0,0,0,.27);
  min-height:74px;
  display:flex;
  align-items:center;
  padding:0 !important;
}

/* البرتقالي + أيقونة البحث */
.Header__searchLink::before{
  content:""; position:absolute; inset-inline-start:0; top:0;
  width:232px; height:100%;
  background:#ff5a00; z-index:1;
}
.Header__searchLink::after{
  content:""; position:absolute; inset-inline-start:0; top:0;
  width:232px; height:100%;
  background-repeat:no-repeat; background-position:center; background-size:36px 36px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
  z-index:2;
}

.Header__searchBox{
  background: transparent !important;
  box-shadow:none !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  width:100%;
  min-height:inherit;
  display:flex;
  align-items:center;
  position:relative;
  z-index:3;
}

.Header__searchLink input[type="search"],
.Header__searchLink input[type="text"],
.Header__searchBox input[type="search"],
.Header__searchBox input[type="text"]{
  width:100%; border:0 !important; outline:0 !important; background:transparent !important;
  font-size:22px; color:#333;
  padding:0 28px;
  padding-inline-start:calc(232px + 16px);
  min-height:166px;
  z-index:4;
  box-shadow:none !important;
}
.Header__searchLink input::placeholder{ color:#c4c4c4; }

/* زر submit */
.Header__searchLink input[type="submit"],
.Header__searchLink button[type="submit"]{
  height:44px; padding:0 16px; margin-inline-end:16px;
  border-radius:10px; border:1px solid #ff5a00; background:#fff; color:#ff5a00;
  font-weight:800; cursor:pointer; transition:background .2s,color .2s,transform .1s;
  z-index:4;
}
.Header__searchLink input[type="submit"]:hover,
.Header__searchLink button[type="submit"]:hover{
  background:#ff5a00; color:#fff; transform:translateY(-1px);
}

/* شيل الخلفية الرمادي تحت السيرش */
.Header__titleSearchWrapper,
.Header__banneralt,
.Header__titleSearchBox {
  background:transparent !important;
  box-shadow:none !important;
}
/****************  NAV COLORS (base blue / hover+active orange)  ****************/
/* ازرق افتراضي لكل الروابط */
.Header__menuList,
.Header__menuList a {
  color:#08308B !important;                /* الأزرق */
  text-decoration:none !important;
  position:relative;
  padding-bottom:8px;
  font-weight:800;
  transition:color .2s ease, opacity .2s ease;
  border-bottom:none !important;           /* نلغي أي بوردر قديم */
}

/* شريط Underline واحد فقط نتحكم فيه بالـ opacity */
.Header__menuList::after {
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:78px;                               /* عدّلها لو عايز أقصر */
  height:3px;
  background:#FF5100;
  border-radius:2px;
  opacity:0;                                /* مخفي افتراضيًا */
  transition:opacity .2s ease;
}

/* Hover → برتقالي + يظهر underline */
.Header__menuList:hover,
.Header__menuList:hover a {
  color:#FF5100 !important;
}
.Header__menuList:hover::after { opacity:1; }

/* Active (Zoho أحيانًا يستخدم .Header__active أو آي دي التاب) */
.Header__menuList.Header__active,
.Header__menuList.Header__active a,
#portal_tabSolutions,
#portal_tabSolutions a {
  color:#FF5100 !important;
}
.Header__menuList.Header__active::after,
#portal_tabSolutions::after { opacity:1; }

/* لو فيه قواعد سابقة كانت بتحط بوردر سفلي في الهوفر */
.Header__nav .Header__menuList:hover { border-bottom:none !important; }

/****************  SEARCH HEIGHT FIX + ICON CENTER  ****************/
/* خليه أصغر وموحّد */
.Header__searchLink { 
  min-height: 90px;                           /* ارتفاع الصندوق الأبيض */
  border-radius: 22px;
}

/* خلي البرتقالي أرفع وعرضه 120px */
.Header__searchLink::before,
.Header__searchLink::after { width:120px; }

.Header__searchLink::after {
  background-size:24px 24px;                  /* حجم أيقونة العدسة */
}

/* خلّي الـ input ياخد نفس الارتفاع بالضبط */
.Header__searchLink input[type="search"],
.Header__searchLink input[type="text"],
.Header__searchBox input[type="search"],
.Header__searchBox input[type="text"]{
  min-height: inherit !important;             /* بدل 166px */
  font-size:18px;
  padding:0 20px;
  padding-inline-start: calc(120px + 14px);   /* مساحة الجزء البرتقالي */
}
/* Links: تسجيل الدخول + العربية + أي عنصر في الهيدر */
.Header__menuList,
.Header__menuList a,
#portal_tabHome,
#portal_tabCases,
#portal_tabCommunity,
#portal_tabHome a,
#portal_tabCases a,
#portal_tabCommunity a {
  color: #08308B !important;      /* افتراضي أزرق */
  text-decoration: none !important;
  transition: color .2s ease;
}

/* Hover / Focus */
.Header__menuList:hover,
.Header__menuList:hover a,
#portal_tabHome:hover,
#portal_tabCases:hover,
#portal_tabCommunity:hover,
#portal_tabHome:hover a,
#portal_tabCases:hover a,
#portal_tabCommunity:hover a {
  color: #FF5100 !important;      /* برتقالي عند الوقوف */
}

/* لو Zoho بيغير اللون وقت focus أو active */
.Header__menuList:focus,
.Header__menuList:focus a,
.Header__menuList:active,
.Header__menuList:active a {
  color: #FF5100 !important;
}
/* ==================================================== */
/* ====== Login & Language Link Color Override ====== */
/* ==================================================== */

/*
  This specifically targets the Login/Logout and Language Preference links.
  These elements often have default Zoho styles that need to be overridden.
*/

/* Default State: Blue */
.Header__nav .zgh-login a,
.Header__nav .zgh-logout a,
.Header__nav .zgh-user-preference a {
    color: #08308B !important; /* Your desired BLUE color */
}

/* Hover State: Orange */
.Header__nav .zgh-login:hover a,
.Header__nav .zgh-logout:hover a,
.Header__nav .zgh-user-preference:hover a {
    color: #FF5100 !important; /* Your desired ORANGE color */
}

/* Also apply the orange color to the globe icon on hover */
.Header__nav .zgh-user-preference:hover .zgh-globe-icon::before {
    color: #FF5100 !important;
}
/* ===== FIX: A+ panel is overlapped by the Add Ticket button ===== */

/* نزّل طبقة زر الـ + وكل مكوّناته */
.Header__panelbtns,
.Header__cdstretchynav,
.Header__cdnavtrigger,
.Header__container,
.Header__overlayresponav {
  z-index: 9 !important;       /* كان 50 */
}

/* ارفع طبقة لوحة A+ فوق كل حاجة (أسماء شائعة في Zoho) */
.zgh-layout-settings,
.LayoutSettings__panel,
.LayoutSettings__wrapper,
.LayoutSettings {
  position: relative !important;
  z-index: 9999 !important;
}

/* (اختياري) حرّك زر + لتحت عشان ميبقاش جنب لوحة A+ */
@media (min-width: 769px){
  .Header__cdstretchynav{
    position: fixed !important;
    inset-inline-end: 20px;
    bottom: 24px;
    z-index: 9 !important;
  }
}

/* (اختياري حدًّا) لو عايز تختفي أيقونة + أثناء فتح لوحة A+ */
body:has(.zgh-layout-settings),
body:has(.LayoutSettings__panel) .Header__panelbtns{
  /* السطر فوق بيستهدف الجسم كله لما اللوحة مفتوحة */
}
body:has(.zgh-layout-settings) .Header__panelbtns,
body:has(.LayoutSettings__panel) .Header__panelbtns{
  display: none !important;
}
/* لا تغيّر direction — خلّي الترتيب بالـ flex */
.Header__nav { direction: initial !important; }

/* EN LTR بشكل طبيعي */
[lang="en"] .Header__nav{
  flex-direction: row !important;
}

/* AR RTL: نعكس الترتيب */
[lang="ar"] .Header__nav{
  flex-direction: row-reverse !important;
}
/* اجعل شريط الناف بار قابلاً للتموضع المطلق لعناصر طرفية */
.Header__nav { position: relative; justify-content: center; }

/* EN: ثبّت آخر عنصر (اللغة) عند أقصى اليمين، والذي قبله (A+) قبله بشوية */
[lang="en"] .Header__nav .Header__menuList:last-child {
  position: absolute; inset-inline-end: 0; top: 0;
}
[lang="en"] .Header__nav .Header__menuList:nth-last-child(2) {
  position: absolute; inset-inline-end: 56px; top: 0;   /* عدّل الـ56px لو محتاج مسافة أكبر */
}

/* AR: نفس الفكرة بس على أقصى الشمال */
[lang="ar"] .Header__nav .Header__menuList:last-child {
  position: absolute; inset-inline-start: 0; top: 0;
}
[lang="ar"] .Header__nav .Header__menuList:nth-last-child(2) {
  position: absolute; inset-inline-start: 56px; top: 0;
}
/* ==================================================== */
/* ===========  Global & Font Settings  =========== */
/* ==================================================== */

/* This sets the main font for the entire page to match the design */
body, .Header__nav, .Header__welcomeTitle, .Header__welcomeDescription, .zgh-category-list .zgh-category .zgh-category-name, .zgh-category-list .zgh-category .zgh-category-description {
    font-family: 'Cairo', sans-serif !important; /* Using Cairo font as it's common in modern Arabic designs */
}
.Header__bgColor, .Header__homeNavbarFixed .Header__searchSubCont, .Header__homeNavbarFixed .Header__searchLink{
    background-color: #feffff;
}
.Header__menuList, .Header__menuList a, #portal_tabHome, #portal_tabCases, #portal_tabCommunity, #portal_tabHome a, #portal_tabCases a, #portal_tabCommunity a{

}

@media (max-width: 48rem) {
    .Header__navOpen .Header__nav {
        background-color: white;
    }
    
  
      .Header__menuClick {
        display: none  !important;
    }
      .Header__navbtn {
        flex-direction: row;
    }
}

@media only screen and (max-width: 768px) {
    .LoginDetail__signin, .LoginDetail__signup {
        padding-top: 0px  !important;
        font-size: 1.125rem;
        text-align: center;
    }
   .Header__nav {
         opacity: 1 !important;
         flex-direction: column  !important;
         justify-content: start  !important;
         gap: 0px !important;
         display: contents !important ;
    }
}
.Header__logoPart {
    min-width: 0px !important ;
}

.Header__menuWrapper {
    box-shadow: 0 2px 73px rgb(140 140 140 / 38%) !important;
}

.Header__menu{
  background-color: black !important
}
.Header__menu:before{
  background-color: black !important
}
.Header__menu:after{
  background-color: black !important
}
.Header__welcomeTitle{
 color: #08308B !important;
}
.Header__nav{
  flex-direction: row-reverse;
}

.Header__link {
    font-weight: 400 !important;
}
[lang="ar"] .Header__nav{
	direction: ltr;
}

[lang="en"] .Header__nav{
	direction: rtl;
}
.Header__logo{
max-height: 37px;
 margin-top:1px !important;
}
.Header__navbtn{
  justify-content: center;
}
.signinLink{
color: #08308B;
}
.signinLink:hover{
color: #FF5100;
}
.Header__searchLink::before{
display:none !important;
}
.Header__searchLink::after{
display:none !important;
}
[lang="ar"] .SearchBox__searchpart input {
    padding-inline-start: 11px !important;
    padding-inline-end: 138px !important;
    direction: rtl;
    min-width: 800px;
    width: 490px;
}

[lang="en"] .SearchBox__searchpart input {
    padding-inline-start: 11px !important;
    padding-inline-end: 138px !important;
    direction: ltr;
    min-width: 800px;
    width: 490px;
}

.Header__panelbtns { position: relative; z-index: 50; }

.SearchAutosuggest__searchSuggest {
  position: relative !important; 
}


.LocalePopup__localeLabel{
color: #08308B;
}
.LocalePopup__localeLabel:hover{
color: #FF5100;
}
 .Icon__icon{
color: #08308B;
}
.Icon__icon:hover{
color: #FF5100;
}
 
 
/* ==================================================== */
/* ============  Header & Navigation Bar  =========== */
/* ==================================================== */

/* Main header background color */
.Header__headerBg {
    background-color: #ffffff; /* White background for the top bar */
    border-bottom: 1px solid #e0e0e0; /* Light grey bottom border */
}

/* Blue background for the search area */
.Header__titleSearchWrapper {
    background-color: #1A3469; /* Dark Blue Color from the image */
}

/* Remove the default background color from this element */
.Header__bgColor {
    background-color: transparent !important;
}

/* Navigation menu link styles */
.Header__nav .Header__menuList {
    color: #1A3469 !important; /* Dark blue text color for nav links */
    font-weight: 600 !important; /* Bolder font */
    font-size: 16px !important;
    margin: 0 15px !important;
 
}

/* Style for the active/hovered navigation link */
.Header__nav .Header__menuList:hover, .Header__nav .Header__menuList.Header__active {
    color: #F36C21 !important; /* Orange color on hover */
    border-bottom: 2px solid #F36C21;
}

/* Company name text style */
.Header__logotxt {
    display: none; /* Hiding the company name text as it's not in the design */
}


/* ==================================================== */
/* ============  Welcome & Search Section  =========== */
/* ==================================================== */

/* "قاعدة المعرفة" title style */
.Header__welcomeTitle {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    text-align: center;
}

/* Welcome description text style */
.Header__welcomeDescription {
    color: #f1f1f1 !important;
    font-size: 18px !important;
    text-align: center;
}

/* Search input box container */
.Header__searchBox .zgh-search-input {
    border-radius: 8px !important;
    border: 1px solid #ccc;
    height: 50px !important;
    font-size: 16px;
}

/* Search icon style */
.Header__searchBox .zgh-search-icon::before {
    font-size: 24px !important;
    color: #F36C21 !important; /* Orange search icon */
}


/* ==================================================== */
/* ============  Knowledge Base Categories  =========== */
/* ==================================================== */

/* Container for all category boxes */
.zgh-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 25px;
    padding: 40px 0;
}

/* Individual category box style */
.zgh-category-list .zgh-category {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zgh-category-list .zgh-category:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Soft shadow on hover */
}

/* Category icon style */
.zgh-category-list .zgh-category .zgh-category-icon {
    font-size: 48px !important;
    color: #F36C21 !important; /* Orange color for all icons */
    height: 60px;
    width: 60px;
    margin: 0 auto 15px auto;
    display: block;
    /* To use custom images instead of font icons, use this: */
    /* content: url('رابط_الأيقونة_هنا'); */
}

/* Category title style */
.zgh-category-list .zgh-category .zgh-category-name {
    color: #1A3469 !important; /* Dark blue title */
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Category description style */
.zgh-category-list .zgh-category .zgh-category-description {
    color: #555 !important;
    font-size: 15px !important;
    min-height: 60px; /* Ensures consistent height */
}

/* "اقرأ المزيد" link style */
.zgh-category-list .zgh-category .zgh-category-articles-count {
    background-color: #F36C21 !important; /* Orange background */
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

/* Hiding the default article count text (e.g., "5 Articles") */
.zgh-category-list .zgh-category .zgh-category-articles-count .zgh-article-count {
    display: none;
}

/* Adding "اقرأ المزيد" text */
.zgh-category-list .zgh-category .zgh-category-articles-count::after {
    content: 'اقرأ المزيد';
    display: inline;
}
/* ===== Center the logo and nav exactly in the header ===== */
:root{ --mm-blue:#0d3b7e; --mm-orange:#ff5a00; }

.Header__menuWrapper{
  background:#fff !important;
  box-shadow:0 2px 73px rgba(0,0,0,.38);
}

/* خلي محتوى الهيدر عمودي ومتمركز */
.Header__menuBox{
  max-width:1220px;          /* ← اتصلحت من 120px */
  margin:0 auto;
  padding:18px 16px 10px;
  display:flex;
  flex-direction:column;   
  align-items:center;      
  gap:12px;
}

/* اللوجو في النص */
.Header__logoimg{ display:block; }
.Header__logo{ height:64px; display:block; margin:0 auto; }

/* غلاف المنيو */
.Header__navbtn{ width:100%; }

/* القايمة متوسّطة تحت اللوجو */
.Header__nav{
  list-style:none; margin:0; padding:0;
  display:flex; justify-content:center; align-items:center;
  gap:40px; flex-wrap:wrap;
}

/* ألوان الروابط */
 .Header__menuList a{
  color:var(--mm-blue) !important;
  font-weight:800;
  text-decoration:none !important;
  position:relative;
  padding-bottom:8px;
  cursor:pointer;
}

/* التاب النشط: قاعدة المعارف */
#portal_tabSolutions, #portal_tabSolutions a{ color:var(--mm-orange) !important; }
#portal_tabSolutions::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:0; width:78px; height:4px; background:var(--mm-orange); border-radius:2px;
}

/* Hover */
.Header__menuList:hover, .Header__menuList:hover a{ color:var(--mm-orange) !important; }

/* Responsive */
@media (max-width:720px){
  .Header__logo{ height:52px; }
  .Header__nav{ gap:22px; }
  #portal_tabSolutions::after{ width:56px; }
}

/************** شريط البحث **************/
.Header__searchLink{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 21px rgba(0,0,0,.27);
  min-height:74px;
  display:flex;
  align-items:center;
  padding:0 !important;
}

/* البرتقالي + أيقونة البحث */
.Header__searchLink::before{
  content:""; position:absolute; inset-inline-start:0; top:0;
  width:232px; height:100%;
  background:#ff5a00; z-index:1;
}
.Header__searchLink::after{
  content:""; position:absolute; inset-inline-start:0; top:0;
  width:232px; height:100%;
  background-repeat:no-repeat; background-position:center; background-size:36px 36px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
  z-index:2;
}

.Header__searchBox{
  background: transparent !important;
  box-shadow:none !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  width:100%;
  min-height:inherit;
  display:flex;
  align-items:center;
  position:relative;
  z-index:3;
}

.Header__searchLink input[type="search"],
.Header__searchLink input[type="text"],
.Header__searchBox input[type="search"],
.Header__searchBox input[type="text"]{
  width:100%; border:0 !important; outline:0 !important; background:transparent !important;
  font-size:22px; color:#333;
  padding:0 28px;
  padding-inline-start:calc(232px + 16px);
  min-height:166px;
  z-index:4;
  box-shadow:none !important;
}
.Header__searchLink input::placeholder{ color:#c4c4c4; }

/* زر submit */
.Header__searchLink input[type="submit"],
.Header__searchLink button[type="submit"]{
  height:44px; padding:0 16px; margin-inline-end:16px;
  border-radius:10px; border:1px solid #ff5a00; background:#fff; color:#ff5a00;
  font-weight:800; cursor:pointer; transition:background .2s,color .2s,transform .1s;
  z-index:4;
}
.Header__searchLink input[type="submit"]:hover,
.Header__searchLink button[type="submit"]:hover{
  background:#ff5a00; color:#fff; transform:translateY(-1px);
}

/* شيل الخلفية الرمادي تحت السيرش */
.Header__titleSearchWrapper,
.Header__banneralt,
.Header__titleSearchBox {
  background:transparent !important;
  box-shadow:none !important;
}
/****************  NAV COLORS (base blue / hover+active orange)  ****************/
/* ازرق افتراضي لكل الروابط */
.Header__menuList,
.Header__menuList a {
  color:#08308B !important;                /* الأزرق */
  text-decoration:none !important;
  position:relative;
  padding-bottom:8px;
  font-weight:800;
  transition:color .2s ease, opacity .2s ease;
  border-bottom:none !important;           /* نلغي أي بوردر قديم */
}

/* شريط Underline واحد فقط نتحكم فيه بالـ opacity */
.Header__menuList::after {
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:78px;                               /* عدّلها لو عايز أقصر */
  height:3px;
  background:#FF5100;
  border-radius:2px;
  opacity:0;                                /* مخفي افتراضيًا */
  transition:opacity .2s ease;
}

/* Hover → برتقالي + يظهر underline */
.Header__menuList:hover,
.Header__menuList:hover a {
  color:#FF5100 !important;
}
.Header__menuList:hover::after { opacity:1; }

/* Active (Zoho أحيانًا يستخدم .Header__active أو آي دي التاب) */
.Header__menuList.Header__active,
.Header__menuList.Header__active a,
#portal_tabSolutions,
#portal_tabSolutions a {
  color:#FF5100 !important;
}
.Header__menuList.Header__active::after,
#portal_tabSolutions::after { opacity:1; }

/* لو فيه قواعد سابقة كانت بتحط بوردر سفلي في الهوفر */
.Header__nav .Header__menuList:hover { border-bottom:none !important; }

/****************  SEARCH HEIGHT FIX + ICON CENTER  ****************/
/* خليه أصغر وموحّد */
.Header__searchLink { 
  min-height: 90px;                           /* ارتفاع الصندوق الأبيض */
  border-radius: 22px;
}

/* خلي البرتقالي أرفع وعرضه 120px */
.Header__searchLink::before,
.Header__searchLink::after { width:120px; }

.Header__searchLink::after {
  background-size:24px 24px;                  /* حجم أيقونة العدسة */
}

/* خلّي الـ input ياخد نفس الارتفاع بالضبط */
.Header__searchLink input[type="search"],
.Header__searchLink input[type="text"],
.Header__searchBox input[type="search"],
.Header__searchBox input[type="text"]{
  min-height: inherit !important;             /* بدل 166px */
  font-size:18px;
  padding:0 20px;
  padding-inline-start: calc(120px + 14px);   /* مساحة الجزء البرتقالي */
}
/* Links: تسجيل الدخول + العربية + أي عنصر في الهيدر */
.Header__menuList,
.Header__menuList a,
#portal_tabHome,
#portal_tabCases,
#portal_tabCommunity,
#portal_tabHome a,
#portal_tabCases a,
#portal_tabCommunity a {
  color: #08308B !important;      /* افتراضي أزرق */
  text-decoration: none !important;
  transition: color .2s ease;
}

/* Hover / Focus */
.Header__menuList:hover,
.Header__menuList:hover a,
#portal_tabHome:hover,
#portal_tabCases:hover,
#portal_tabCommunity:hover,
#portal_tabHome:hover a,
#portal_tabCases:hover a,
#portal_tabCommunity:hover a {
  color: #FF5100 !important;      /* برتقالي عند الوقوف */
}

/* لو Zoho بيغير اللون وقت focus أو active */
.Header__menuList:focus,
.Header__menuList:focus a,
.Header__menuList:active,
.Header__menuList:active a {
  color: #FF5100 !important;
}
/* ==================================================== */
/* ====== Login & Language Link Color Override ====== */
/* ==================================================== */

/*
  This specifically targets the Login/Logout and Language Preference links.
  These elements often have default Zoho styles that need to be overridden.
*/

/* Default State: Blue */
.Header__nav .zgh-login a,
.Header__nav .zgh-logout a,
.Header__nav .zgh-user-preference a {
    color: #08308B !important; /* Your desired BLUE color */
}

/* Hover State: Orange */
.Header__nav .zgh-login:hover a,
.Header__nav .zgh-logout:hover a,
.Header__nav .zgh-user-preference:hover a {
    color: #FF5100 !important; /* Your desired ORANGE color */
}

/* Also apply the orange color to the globe icon on hover */
.Header__nav .zgh-user-preference:hover .zgh-globe-icon::before {
    color: #FF5100 !important;
}
/* ===== FIX: A+ panel is overlapped by the Add Ticket button ===== */

/* نزّل طبقة زر الـ + وكل مكوّناته */
.Header__panelbtns,
.Header__cdstretchynav,
.Header__cdnavtrigger,
.Header__container,
.Header__overlayresponav {
  z-index: 9 !important;       /* كان 50 */
}

/* ارفع طبقة لوحة A+ فوق كل حاجة (أسماء شائعة في Zoho) */
.zgh-layout-settings,
.LayoutSettings__panel,
.LayoutSettings__wrapper,
.LayoutSettings {
  position: relative !important;
  z-index: 9999 !important;
}

/* (اختياري) حرّك زر + لتحت عشان ميبقاش جنب لوحة A+ */
@media (min-width: 769px){
  .Header__cdstretchynav{
    position: fixed !important;
    inset-inline-end: 20px;
    bottom: 24px;
    z-index: 9 !important;
  }
}

/* (اختياري حدًّا) لو عايز تختفي أيقونة + أثناء فتح لوحة A+ */
body:has(.zgh-layout-settings),
body:has(.LayoutSettings__panel) .Header__panelbtns{
  /* السطر فوق بيستهدف الجسم كله لما اللوحة مفتوحة */
}
body:has(.zgh-layout-settings) .Header__panelbtns,
body:has(.LayoutSettings__panel) .Header__panelbtns{
  display: none !important;
}
/* لا تغيّر direction — خلّي الترتيب بالـ flex */
.Header__nav { direction: initial !important; }

/* EN LTR بشكل طبيعي */
[lang="en"] .Header__nav{
  flex-direction: row !important;
}

/* AR RTL: نعكس الترتيب */
[lang="ar"] .Header__nav{
  flex-direction: row-reverse !important;
}
/* اجعل شريط الناف بار قابلاً للتموضع المطلق لعناصر طرفية */
.Header__nav { position: relative; justify-content: center; }

/* EN: ثبّت آخر عنصر (اللغة) عند أقصى اليمين، والذي قبله (A+) قبله بشوية */
[lang="en"] .Header__nav .Header__menuList:last-child {
  position: absolute; inset-inline-end: 0; top: 0;
}
[lang="en"] .Header__nav .Header__menuList:nth-last-child(2) {
  position: absolute; inset-inline-end: 56px; top: 0;   /* عدّل الـ56px لو محتاج مسافة أكبر */
}

/* AR: نفس الفكرة بس على أقصى الشمال */
[lang="ar"] .Header__nav .Header__menuList:last-child {
  position: absolute; inset-inline-start: 0; top: 0;
}
[lang="ar"] .Header__nav .Header__menuList:nth-last-child(2) {
  position: absolute; inset-inline-start: 56px; top: 0;
}
/* ====== خلفية الهيرو: أبيض شفاف ====== */
.Header__titleSearchWrapper {
  background: rgba(255,255,255,0.9) !important;  /* أبيض شفاف */
  /* لو حابب تأثير زجاجي بسيط: */
  backdrop-filter: saturate(1.1) blur(2px);
}

/* ====== صندوق البحث: تموضع الأيقونة و-padding حسب اللغة ====== */

/* مقاس وستايل الصندوق ثابت */
.Header__searchLink{
  position: relative;
  background:#fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.18) !important;
  min-height: 64px;
}

/* أظهر before/after حتى لو كان فيه قواعد بتخبيهم */
.Header__searchLink::before,
.Header__searchLink::after { display:block !important; }

/* ------- AR: الأيقونة في اليمين ------- */
[lang="ar"] .Header__searchLink::before,
[lang="ar"] .Header__searchLink::after {
  left:auto; right:0; top:0; bottom:0; width:120px;
}
[lang="ar"] .Header__searchLink::before { background:#ff5a00; z-index:1; }
[lang="ar"] .Header__searchLink::after {
  background-repeat:no-repeat; background-position:center; background-size:28px 28px; z-index:2;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
}

/* padding الصح: نسند من ناحية الأيقونة (inline-end) */
[lang="ar"] .Header__searchLink input[type="search"],
[lang="ar"] .Header__searchLink input[type="text"],
[lang="ar"] .Header__searchBox  input[type="search"],
[lang="ar"] .Header__searchBox  input[type="text"]{
  min-height:64px !important;
  font-size:18px !important;
  padding:0 20px !important;
  padding-inline-end: calc(120px + 14px) !important; /* ← هنا التصحيح */
  padding-inline-start: 20px !important;
  direction: rtl; text-align: right;
  border:0 !important; outline:0 !important; background:transparent !important;
}
[lang="ar"] .Header__searchLink input::placeholder{ color:#cfcfcf !important; }

/* ------- EN: (لو حابب نفس الشكل بس الأيقونة ناحية الشمال) ------- */
[lang="en"] .Header__searchLink::before,
[lang="en"] .Header__searchLink::after {
  left:0; right:auto; top:0; bottom:0; width:120px;
}
[lang="en"] .Header__searchLink::before { background:#ff5a00; z-index:1; }
[lang="en"] .Header__searchLink::after {
  background-repeat:no-repeat; background-position:center; background-size:28px 28px; z-index:2;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
}
[lang="en"] .Header__searchLink input[type="search"],
[lang="en"] .Header__searchLink input[type="text"],
[lang="en"] .Header__searchBox  input[type="search"],
[lang="en"] .Header__searchBox  input[type="text"]{
  padding:0 20px !important;
  padding-inline-start: calc(120px + 14px) !important;  /* ناحية الأيقونة */
  padding-inline-end: 20px !important;
  direction:ltr; text-align:left;
}
/* ===== توحيد السلوك بين Preview و Live بناءً على الاتجاه ===== */

/* إظهر before/after مهما كان فيه قواعد قديمة بتخبيهم */
html[dir], .zgh-rtl, .zgh-ltr .Header__searchLink::before,
html[dir], .zgh-rtl, .zgh-ltr .Header__searchLink::after {
  display: block !important;
}

/* RTL (العربي): الأيقونة والبلوك البرتقالي يمين، والـinput يبعد يمين */
html[dir="rtl"] .Header__searchLink::before,
.zgh-rtl .Header__searchLink::before,
html[dir="rtl"] .Header__searchLink::after,
.zgh-rtl .Header__searchLink::after {
  right: 0; left: auto; top: 0; bottom: 0; width: 120px;
}

html[dir="rtl"] .Header__searchLink::before,
.zgh-rtl .Header__searchLink::before { background:#ff5a00; z-index:1; }

html[dir="rtl"] .Header__searchLink::after,
.zgh-rtl .Header__searchLink::after {
  background-repeat:no-repeat; background-position:center; background-size:28px 28px; z-index:2;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
}

html[dir="rtl"] .Header__searchLink input[type="search"],
html[dir="rtl"] .Header__searchLink input[type="text"],
html[dir="rtl"] .Header__searchBox  input[type="search"],
html[dir="rtl"] .Header__searchBox  input[type="text"],
.zgh-rtl        .Header__searchLink input[type="search"],
.zgh-rtl        .Header__searchLink input[type="text"],
.zgh-rtl        .Header__searchBox  input[type="search"],
.zgh-rtl        .Header__searchBox  input[type="text"]{
  padding: 0 20px !important;
  padding-inline-end: calc(120px + 14px) !important; /* إتساع ناحية الأيقونة */
  padding-inline-start: 20px !important;
  direction: rtl; text-align: right;
}

/* LTR (الإنجليزي): الأيقونة يسار، والـinput يبعد يسار */
html[dir="ltr"] .Header__searchLink::before,
.zgh-ltr .Header__searchLink::before,
html[dir="ltr"] .Header__searchLink::after,
.zgh-ltr .Header__searchLink::after {
  left: 0; right: auto; top: 0; bottom: 0; width: 120px;
}
html[dir="ltr"] .Header__searchLink::before,
.zgh-ltr .Header__searchLink::before { background:#ff5a00; z-index:1; }
html[dir="ltr"] .Header__searchLink::after,
.zgh-ltr .Header__searchLink::after {
  background-repeat:no-repeat; background-position:center; background-size:28px 28px; z-index:2;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
}
html[dir="ltr"] .Header__searchLink input[type="search"],
html[dir="ltr"] .Header__searchLink input[type="text"],
.zgh-ltr        .Header__searchLink input[type="search"],
.zgh-ltr        .Header__searchLink input[type="text"]{
  padding: 0 20px !important;
  padding-inline-start: calc(120px + 14px) !important;
  padding-inline-end: 20px !important;
  direction: ltr; text-align: left;
}

/* خلفية الهيرو: أبيض شفاف في الاتنين */
.Header__titleSearchWrapper{
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: saturate(1.1) blur(2px);
}
/******** 1) شيل البلوكات الوهمية علشان ما تتداخلش ********/
.Header__searchLink::before,
.Header__searchLink::after{
  display:none !important;
}

/******** 2) شكل الزر كرار برتقالي + الأيقونة (مش بس ديكور) ********/
/* قواعد مشتركة */
.Header__searchLink button[type="submit"],
.Header__searchLink input[type="submit"]{
  position:absolute;
  top:0; bottom:0;
  width:120px;
  border:0 !important;
  background:#ff5a00 !important;
  color:#fff !important;
  font-size:0;                  /* نخفي أي نص داخل الزر */
  cursor:pointer;
  border-radius:16px;           /* نفس نصف القطر بتاع الصندوق */
  z-index:4;                    /* فوق حقل الكتابة */
}

/* الأيقونة داخل الزر */
.Header__searchLink button[type="submit"]::before,
.Header__searchLink input[type="submit"]::before{
  content:"";
  position:absolute; inset:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:28px 28px;
  /* عدسة بيضاء */
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
}

/* Hover صغير */
.Header__searchLink button[type="submit"]:hover,
.Header__searchLink input[type="submit"]:hover{
  filter:brightness(0.95);
}

/******** 3) تموضع حسب الاتجاه (والأيقونة معكوسة في العربي) ********/
/* RTL: الزر يمين، والأيقونة معكوسة */
html[dir="rtl"] .Header__searchLink button[type="submit"],
html[dir="rtl"] .Header__searchLink input[type="submit"],
.zgh-rtl        .Header__searchLink button[type="submit"],
.zgh-rtl        .Header__searchLink input[type="submit"]{
  inset-inline-end:0;           /* يمين */
  inset-inline-start:auto;
  border-top-left-radius:16px;  /* زوايا صحيحة */
  border-bottom-left-radius:16px;
  border-top-right-radius:16px;
  border-bottom-right-radius:16px;
}
html[dir="rtl"] .Header__searchLink button[type="submit"]::before,
html[dir="rtl"] .Header__searchLink input[type="submit"]::before,
.zgh-rtl        .Header__searchLink button[type="submit"]::before,
.zgh-rtl        .Header__searchLink input[type="submit"]::before{
  transform:scaleX(-1);         /* اعكس العلامة */
}

/* LTR: الزر يسار (لو محتاجه يسار في الإنجليزي) */
html[dir="ltr"] .Header__searchLink button[type="submit"],
html[dir="ltr"] .Header__searchLink input[type="submit"],
.zgh-ltr        .Header__searchLink button[type="submit"],
.zgh-ltr        .Header__searchLink input[type="submit"]{
  inset-inline-start:0;         /* شمال */
  inset-inline-end:auto;
}

/******** 4) Padding لحقل البحث علشان ما يدخلش تحت الزر ********/
html[dir="rtl"] .Header__searchLink input[type="search"],
html[dir="rtl"] .Header__searchBox  input[type="search"],
html[dir="rtl"] .Header__searchLink input[type="text"],
html[dir="rtl"] .Header__searchBox  input[type="text"],
.zgh-rtl        .Header__searchLink input[type="search"],
.zgh-rtl        .Header__searchBox  input[type="search"],
.zgh-rtl        .Header__searchLink input[type="text"],
.zgh-rtl        .Header__searchBox  input[type="text"]{
  padding-inline-end: calc(120px + 14px) !important;  /* ناحية الزر */
  padding-inline-start: 20px !important;
}

html[dir="ltr"] .Header__searchLink input[type="search"],
html[dir="ltr"] .Header__searchBox  input[type="search"],
html[dir="ltr"] .Header__searchLink input[type="text"],
html[dir="ltr"] .Header__searchBox  input[type="text"],
.zgh-ltr        .Header__searchLink input[type="search"],
.zgh-ltr        .Header__searchBox  input[type="search"],
.zgh-ltr        .Header__searchLink input[type="text"],
.zgh-ltr        .Header__searchBox  input[type="text"]{
  padding-inline-start: calc(120px + 14px) !important;
  padding-inline-end: 20px !important;
}

/******** 5) خلفية الهيرو أبيض شفاف ********/
.Header__titleSearchWrapper{
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: saturate(1.1) blur(2px);
}
/************ 0) تنظيف أي ديكورات قديمة على البحث ************/
.Header__searchLink::before,
.Header__searchLink::after{ display:none !important; }

/************ 1) الهيرو: خلفية أبيض شفاف + شيل مستطيل العنوان ************/
.Header__titleSearchWrapper{
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(1.05) blur(2px);
}
.Header__titleSearchWrapper::before,
.Header__titleSearchWrapper::after{ display:none !important; }

.Header__welcomeTitle{
  background: transparent !important;       /* ← يشيل المستطيل الأزرق */
  color:#0d3b7e !important;
  font-weight:800 !important;
  margin: 8px auto 10px !important;
  padding:0 !important;
  display:block;
  width:fit-content;
}

/************ 2) خلي الصندوق relative علشان نثبت الزر داخله ************/
.Header__searchLink,
.Header__searchBox{ position:relative !important; }

/************ 3) زر البحث الحقيقي (submit) بشكل البرتقالي ************/
.Header__searchLink button[type="submit"],
.Header__searchBox  button[type="submit"],
.Header__searchLink input[type="submit"],
.Header__searchBox  input[type="submit"]{
  position:absolute; top:0; bottom:0;
  width:120px; border:0 !important;
  background:#ff5a00 !important; color:#fff !important;
  font-size:0; cursor:pointer; z-index:4;
  border-radius:16px;                 /* نفس نصف قطر الصندوق */
}
.Header__searchLink button[type="submit"]::before,
.Header__searchBox  button[type="submit"]::before,
.Header__searchLink input[type="submit"]::before,
.Header__searchBox  input[type="submit"]::before{
  content:""; position:absolute; inset:0;
  background-repeat:no-repeat; background-position:center; background-size:28px 28px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/></svg>");
}
.Header__searchLink button[type="submit"]:hover,
.Header__searchBox  button[type="submit"]:hover,
.Header__searchLink input[type="submit"]:hover,
.Header__searchBox  input[type="submit"]:hover{ filter:brightness(.95); }

/* RTL: الزر على اليمين + اعكس الأيقونة */
html[dir="rtl"] .Header__searchLink button[type="submit"],
html[dir="rtl"] .Header__searchBox  button[type="submit"],
html[dir="rtl"] .Header__searchLink input[type="submit"],
html[dir="rtl"] .Header__searchBox  input[type="submit"],
.zgh-rtl        .Header__searchLink button[type="submit"],
.zgh-rtl        .Header__searchBox  button[type="submit"],
.zgh-rtl        .Header__searchLink input[type="submit"],
.zgh-rtl        .Header__searchBox  input[type="submit"]{
  inset-inline-end:0; inset-inline-start:auto;
}
html[dir="rtl"] .Header__searchLink button[type="submit"]::before,
html[dir="rtl"] .Header__searchBox  button[type="submit"]::before,
html[dir="rtl"] .Header__searchLink input[type="submit"]::before,
html[dir="rtl"] .Header__searchBox  input[type="submit"]::before,
.zgh-rtl        .Header__searchLink button[type="submit"]::before,
.zgh-rtl        .Header__searchBox  button[type="submit"]::before,
.zgh-rtl        .Header__searchLink input[type="submit"]::before,
.zgh-rtl        .Header__searchBox  input[type="submit"]::before{
  transform:scaleX(-1);
}

/* LTR: الزر على الشمال */
html[dir="ltr"] .Header__searchLink button[type="submit"],
html[dir="ltr"] .Header__searchBox  button[type="submit"],
html[dir="ltr"] .Header__searchLink input[type="submit"],
html[dir="ltr"] .Header__searchBox  input[type="submit"],
.zgh-ltr        .Header__searchLink button[type="submit"],
.zgh-ltr        .Header__searchBox  button[type="submit"],
.zgh-ltr        .Header__searchLink input[type="submit"],
.zgh-ltr        .Header__searchBox  input[type="submit"]{
  inset-inline-start:0; inset-inline-end:auto;
}

/************ 4) Padding للـinput عشان ما يدخلش تحت الزر ************/
html[dir="rtl"] .Header__searchLink input[type="search"],
html[dir="rtl"] .Header__searchBox  input[type="search"],
html[dir="rtl"] .Header__searchLink input[type="text"],
html[dir="rtl"] .Header__searchBox  input[type="text"],
.zgh-rtl        .Header__searchLink input[type="search"],
.zgh-rtl        .Header__searchBox  input[type="search"],
.zgh-rtl        .Header__searchLink input[type="text"],
.zgh-rtl        .Header__searchBox  input[type="text"]{
  padding-inline-end: calc(120px + 14px) !important;
  padding-inline-start: 20px !important;
}

html[dir="ltr"] .Header__searchLink input[type="search"],
html[dir="ltr"] .Header__searchBox  input[type="search"],
html[dir="ltr"] .Header__searchLink input[type="text"],
html[dir="ltr"] .Header__searchBox  input[type="text"],
.zgh-ltr        .Header__searchLink input[type="search"],
.zgh-ltr        .Header__searchBox  input[type="search"],
.zgh-ltr        .Header__searchLink input[type="text"],
.zgh-ltr        .Header__searchBox  input[type="text"]{
  padding-inline-start: calc(120px + 14px) !important;
  padding-inline-end: 20px !important;
}

/************ 5) ترتيب وجماليات ************/
.Header__searchLink{
  background:#fff !important;
  border-radius:16px !important;
  box-shadow:0 10px 30px rgba(0,0,0,.18) !important;
  max-width: 980px; margin:14px auto 26px; min-height:64px;
}
.Header__searchLink input{ min-height:64px !important; font-size:18px !important; }
.Header__searchLink input::placeholder{ color:#cfcfcf !important; }
/* ====== Mobile & Tablet polish (no search button) ====== */

/* Tablet ≤ 992px */
@media (max-width: 992px){

  /* اخفِ أي زر submit وأي ديكورات قديمة (before/after) */
  .Header__searchLink button[type="submit"],
  .Header__searchBox  button[type="submit"],
  .Header__searchLink input[type="submit"],
  .Header__searchBox  input[type="submit"],
  .Header__searchLink::before,
  .Header__searchLink::after{ display:none !important; }

  /* صندوق البحث */
  .Header__searchLink{
    position:relative !important;
    min-height:56px;
    border-radius:14px !important;
    background:#fff !important;
    box-shadow:0 6px 18px rgba(0,0,0,.14) !important;
    max-width:92vw;               /* يمنع القص والدوائر الغريبة */
    margin:12px auto 18px;
    overflow:hidden;
  }
  /* حقل الإدخال */
  .Header__searchLink input[type="search"],
  .Header__searchBox  input[type="search"],
  .Header__searchLink input[type="text"],
  .Header__searchBox  input[type="text"]{
    min-height:56px !important;
    font-size:16px !important;
    padding:0 16px !important;         /* مسافة من الناحيتين */
    padding-inline-start:16px !important;
    padding-inline-end:16px !important;
    border:0 !important; outline:0 !important; background:transparent !important;
  }
  .Header__searchLink input::placeholder{ color:#cfcfcf !important; }

  /* الهيرو أبيض شفاف */
  .Header__titleSearchWrapper{
    background:rgba(255,255,255,.96) !important;
    backdrop-filter:saturate(1.05) blur(2px);
    padding:12px 12px 16px !important;
  }
  .Header__welcomeTitle{
    background:transparent !important; /* يشيل المستطيل الأزرق */
    color:#0d3b7e !important; font-weight:800 !important;
    font-size:28px !important; margin:6px 0 8px !important; padding:0 !important;
  }
  .Header__welcomeDescription{ font-size:14px !important; margin:0 0 8px !important; }

  /* كروت الـKB شبكة أوسع */
  .zgh-category-list{ gap:16px !important; padding:20px 0 !important; }
  .zgh-category-list .zgh-category{ padding:16px !important; border-radius:12px !important; }
}

/* Phone ≤ 576px */
@media (max-width: 576px){
  .Header__searchLink{ min-height:52px; border-radius:12px !important; }
  .Header__searchLink input[type="search"],
  .Header__searchBox  input[type="text"]{ min-height:52px !important; font-size:15px !important; }

  /* شبكة الكاتيجوري عمود واحد */
  .zgh-category-list{ grid-template-columns:1fr !important; }

  /* منع أي ظل قوي للهيدر على الشاشات الصغيرة */
  .Header__menuWrapper{ box-shadow:none !important; }
}

/* تأكيد اتجاه الكتابة داخل الحقل حسب اللغة */
html[dir="rtl"] .Header__searchLink input[type="search"],
html[dir="rtl"] .Header__searchBox  input[type="text"]{
  direction:rtl; text-align:right;
}
html[dir="ltr"] .Header__searchLink input[type="search"],
html[dir="ltr"] .Header__searchBox  input[type="text"]{
  direction:ltr; text-align:left;
}
/* اخفاء زر + وقائمته الزرقا على الموبايل + التابلت فقط */
@media (max-width: 1024px){
  /* الزر الدائري + التريجر */
  .Header__cdstretchynav,
  .Header__cdnavtrigger{
    display: none !important;
    pointer-events: none !important;
  }

  /* أي أوفرلاي/باك دروب للمينو */
  .Header__overlayresponav,
  .Header__stretchynavbg{
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* الكونتينر بتاع عناصر المنيو (Add Ticket / Add Topic) */
  .Header__container{
    display: none !important;
    pointer-events: none !important;
  }

  /* لو كان فيه wrapper عام للزر */
  .Header__panelbtns{
    z-index: 0 !important;  /* ننزل طبقته عشان ما يركّبش على حاجة */
  }
}
/* ====== Nav: خط واحد وموحّد الارتفاع ====== */
.Header__nav{
  display:flex !important;
  align-items:center !important;       /* توحيد الارتفاع (baseline) */
  justify-content:center;
  gap:28px;                             /* مسافة ثابتة بين العناصر */
  line-height:1;                        /* يمنع تفاوت الارتفاع بسبب الخط */
  flex-wrap:nowrap;                     /* خط واحد */
  white-space:nowrap;                   /* لا يسمح بالتفاف النص */
}

/* كل عنصر في القايمة يتوسّط عموديًا */
.Header__menuList{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px;                              /* مسافة صغيرة بين الأيقونة والنص */
  height:40px;                          /* نفس الارتفاع لكل العناصر */
  padding:0 !important;
  margin:0 !important;
}

/* أيقونات (A+ / الكرة الخاصة باللغة) تتوسّط مع النص */
.Header__menuList .Icon__icon,
.Header__menuList .zgh-globe-icon::before,
.Header__menuList .zgh-globe-icon{
  display:inline-block !important;
  vertical-align:middle !important;
  line-height:1 !important;
}

/* اتجاه صحيح حسب اللغة */
html[dir="rtl"] .Header__nav{ flex-direction:row-reverse; }
html[dir="ltr"] .Header__nav{ flex-direction:row; }

/* ====== Tablet (≤ 992px): تصغير المسافات والخط للحفاظ على خط واحد ====== */
@media (max-width: 992px){
  .Header__nav{ gap:20px; }
  .Header__menuList{ height:36px; }
  .Header__menuList, .Header__menuList a{ font-size:15px !important; }
}

/* ====== Mobile (≤ 640px): خط واحد + سكرول أفقي ناعم لو الاتساع ضيق ====== */
@media (max-width: 640px){
  .Header__nav{
    gap:16px;
    justify-content:flex-start;            /* يبدأ من الطرف */
    padding-inline:12px;
    overflow-x:auto;                       /* يفضل عن النزول لسطرين */
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;                  /* Firefox */
  }
  .Header__nav::-webkit-scrollbar{ display:none; }   /* Chrome/Safari */
  .Header__menuList, .Header__menuList a{ font-size:14px !important; }
}

/* تأكيد أن عناصر اللغة/A+ ما تعملش إزاحة رأسية */
.LocalePopup__localeLabel,
#portal_tabUserPreference,
#portal_tabUserPreference a{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px;
  line-height:1 !important;
}
/* اخفاء روابط غير مرغوبة */
#portal_tabMyArea,       /* المنطقة الخاصة بي */
#portal_tabCommunity {   /* المجتمع */
  display: none !important;
}
/* عنصر اللغة في الهيدر: محاذاة صحيحة + منع التقطيع والقص */
.Header__nav .zgh-user-preference,
.Header__nav .zgh-user-preference a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;                     /* مسافة بين السهم/الأيقونة والكلمة */
  white-space: nowrap !important;
  max-width: none !important;
  min-width: 0 !important;
  text-align: initial !important;
}

.LocalePopup__localeLabel{
  white-space: nowrap !important;  /* الكلمة كاملة على سطر واحد */
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  overflow: visible !important;
  direction: rtl !important;       /* لضمان التشكيل العربي الصحيح */
  unicode-bidi: plaintext !important;
}

/* توحيد ارتفاع الأيقونة مع النص */
.Header__nav .zgh-user-preference .zgh-globe-icon,
.Header__nav .zgh-user-preference .zgh-globe-icon::before {
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
@media (max-width: 640px){
  .Header__nav{
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
  }
  .Header__nav::-webkit-scrollbar{ display:none; }
}
/******** إخفاء "المنطقة الخاصة بي" + "المجتمع" ********/
/* أنماط Zoho الشائعة */
#portal_tabMyArea,
#portal_tabMyarea,
#portal_tabMy_Area,
#portal_tabMyAreaLink,
#portal_tabCommunity { 
  display: none !important; 
}

/* احتياطي: أي <li> أو <a> اسمها فيه myarea / community */
.Header__nav li[id*="MyArea"],
.Header__nav li[id*="myarea"],
.Header__nav li[id*="my-area"],
.Header__nav a[href*="myarea"],
.Header__nav a[href*="my-area"],
.Header__nav a[href*="community"]{
  display: none !important;
}

/* لو المتصفح بيدعم :has — نخفي <li> الأب بالكامل (يشيل الفراغ) */
.Header__nav li:has(> a[href*="myarea"]),
.Header__nav li:has(> a[href*="my-area"]),
.Header__nav li:has(> a[href*="community"]) {
  display: none !important;
}

/******** ضمان ظهور كلمة "العربية" كاملة ********/
.Header__nav .zgh-user-preference,
.Header__nav .zgh-user-preference a,
.LocalePopup__localeLabel{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  white-space: nowrap !important;   /* تمنع التقطيع */
  overflow: visible !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  direction: rtl !important;
  unicode-bidi: plaintext !important;
}
/* ===== nav بدون سكرول، والعناصر قريبة ===== */
.Header__nav{
  display:flex !important;
  flex-direction:row-reverse !important;   /* RTL */
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;             /* سطر واحد */
  white-space:nowrap !important;           /* بدون لف */
  gap:12px !important;                     /* مسافة مبدئية صغيرة */
  padding-inline:6px !important;
  overflow-x:hidden !important;            /* الغاء الاسكرول يمين/شمال */
}

/* العناصر نفسها تبقى صغيرة ومتراصّة */
.Header__menuList{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  margin:0 !important;
  padding:0 !important;
  flex:0 0 auto !important;               /* ما ينكمشش لحد الاختفاء */
}
.Header__menuList a{
  display:inline-flex !important;
  align-items:center !important;
  line-height:1 !important;
}

/* 4. استخدام وحدات مرنة لحجم الخط */
.Header__menuList a {
  /* استخدام clamp() لتحديد حجم خط مرن مع حد أدنى وأقصى */
  /* يتراوح بين 13px و 16px بناءً على عرض الشاشة، مع قيمة مفضلة 2.5vw */
  font-size: clamp(0.8125rem, 2.5vw, 1rem) !important; /* 1rem = 16px, 0.8125rem = 13px */
  line-height: 1.2 !important; /* تحسين القراءة */
}
.LocalePopup__localeTarget{
  padding:0px !important;
  
}
/* 3. تنسيق العناصر نفسها لتكون مرنة */
.Header__nav .Header__menuList {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0; /* السماح بالانكماش الطفيف إذا لزم الأمر */
  flex-grow: 0;   /* عدم التمدد لملء الفراغ */
  flex-basis: auto; /* الحجم الأساسي يعتمد على المحتوى */
}
.Header__breadcrumbs{
  display:none;
}
.Header__menuList::after{
width:51px!important;
}

