:root{
  --brand:#0f4c97;
  --brand-2:#1f7ad6;
  --brand-soft:#eaf4ff;
  --panel:#ffffff;
  --sidebar:#f5f8fc;
  --text:#18324b;
  --muted:#18324b;
  --border:#d7e5f4;
  --shadow:0 12px 28px color-mix(in srgb, #0f4c97 16%, transparent);
  --radius:18px;
}

body{
  background:linear-gradient(180deg,#f5f9ff 0%,#eef5fb 100%) !important;
}

#bLeft ul li a:hover{
  background:#0f4c97 !important;
}

.omar-menu-toggle,
.omar-side-toggle{
  background:#0f4c97 !important;
  color:#fff !important;
}

#bRight h4,
#bLeft h4,
#footerMain a{
  color:#0f4c97 !important;
}

/* extra fluid image and layout protections */
img,
svg,
video,
canvas{
  max-width:100% !important;
  height:auto !important;
}

img[width],
img[height]{
  height:auto !important;
}

#bRight table,
#bRight tbody,
#bRight tr,
#bRight td{
  max-width:100% !important;
}

#bRight table img,
#bRight td img,
#bRight p img,
#bRight a img,
#green img,
.special-card img{
  max-width:100% !important;
  height:auto !important;
  object-fit:contain;
}

/* ===== Header clean compact layout ===== */
#topmain{
  background:transparent !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:4px 8px !important;
  min-height:0 !important;
  border-radius:24px !important;
  box-shadow:var(--shadow) !important;
}

#topmain .omar-logo-wrap{
  flex:0 0 280px !important;
  width:280px !important;
  max-width:280px !important;
  display:flex !important;
  align-items:center !important;
}

#topmain .logo{
  display:block !important;
  width:60% !important;
  margin:0 !important;
}

#topmain .logo img{
  display:block !important;
  width:230px !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 !important;
}

#topmain .floatleft + .floatleft{
  flex:1 1 auto !important;
  min-width:0 !important;
}

#topmain .floatleft > div[style*="margin-left:70px"]{
  margin:14px 0 20px 0 !important;
  width:74% !important;
  height:auto !important;
  box-sizing:border-box !important;
  padding:10px 14px !important;
  border-radius:14px !important;
}

.nav{
  margin:0 !important;
  gap:12px !important;
}

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


/* ===== Tablet ===== */
@media (max-width: 900px){
  body{
    padding:10px !important;
  }

  #topmain{
    gap:12px !important;
    flex-direction:column !important;
    align-items:stretch !important;
  }

#topmain .omar-logo-wrap{
  flex:0 0 240px !important;
  width:240px !important;
  max-width:240px !important;
  display:flex !important;
  align-items:center !important;
}

#topmain .logo img{
  width:210px !important;
  height:auto !important;
}

  #bRight,
  #bLeft,
  #footerMain{
    padding:16px !important;
  }
}

/* ===== Mobile ===== */
@media (max-width: 640px){
  #topmain{
    padding:8px 12px !important;
  }

  #topmain .omar-logo-wrap{
    width:170px !important;
    max-width:170px !important;
  }

  #topmain .logo img{
    width:150px !important;
  }

  #bRight table,
  #bRight tbody,
  #bRight tr,
  #bRight td{
    display:block !important;
    width:100% !important;
  }

  #bRight td{
    padding-left:0 !important;
    padding-right:0 !important;
  }
}
/* ===== TOP MENU FINAL FIX ===== */

#topmain ul.nav{
  list-style:none !important;
  margin:10px 0 0 0 !important;
  padding:0 !important;
}

#topmain ul.nav li{
  display:inline-block !important;
  margin:0 8px 0 0 !important;
  padding:0 !important;
}

#topmain ul.nav li a,
#topmain ul.nav li a:link,
#topmain ul.nav li a:visited{
  display:inline-block !important;
  padding:8px 14px !important;
  border:1px solid #0f4c97 !important;
  border-radius:10px !important;
  background:#ffffff !important;
  color:#0f4c97 !important;
  text-decoration:none !important;
  line-height:1.2 !important;
}

#topmain ul.nav li a:hover,
#topmain ul.nav li a:active,
#topmain ul.nav li a:focus{
  background:#0f4c97 !important;
  color:#ffffff !important;
  border:1px solid #0f4c97 !important;
  text-decoration:none !important;
}

#topmain ul.nav li a.hover,
#topmain ul.nav li.current a,
#topmain ul.nav li.active a{
  background:#ffffff !important;
  color:#0f4c97 !important;
  border:1px solid #0f4c97 !important;
}
#topmain .logo img{
    width:170px !important;
}
#topmain,
#topmain span,
#topmain strong,
#topmain td,
#topmain .MessageTop{
  color:#0f4c97 !important;
}
#topmain{
  padding-top:20px !important;
  padding-bottom:20px !important;
}