@font-face {
  font-family: Amiri;
  font-style: normal;
  font-weight: 400;
  src:url("/fonts/Amiri-Regular.woff2") format("woff2");
  
}

@font-face {
  font-family: Amiri;
  font-style: normal;
  font-weight: 700;
  src:url("/fonts/Amiri-Bold.woff2") format("woff2");
}

@font-face {
  font-family: Amiri;
  font-style: italic;
  font-weight: 400;
  src:url("/fonts/Amiri-Italic.woff2") format("woff2");
}

@font-face {
  font-family: Amiri;
  font-style: italic;
  font-weight: 700;
  src:url("/fonts/Amiri-BoldItalic.woff2") format("woff2");
}

@font-face {
  font-family: Amiri;
  font-style: normal;
  font-weight: 400;
  src:url("/fonts/Amiri-Quran.woff2") format("woff2");
  unicode-range: U+FB50-FDFF, U+FE70-FEFF;
  }
  

@font-face {
	font-family: Libertinus;
	font-style: normal;
	font-weight: normal;
	src: url("/fonts/LibertinusSerif-Regular.woff2") format("woff2");
}

@font-face {
	font-family: Libertinus;
	font-style: italic;
	src: url("/fonts/LibertinusSerif-Italic.woff2") format("woff2");
}

@font-face {
	font-family: Libertinus;
	font-weight: bold;
	src: url("/fonts/LibertinusSerif-Bold.woff2") format("woff2");
}

@font-face {
	font-family: Libertinus;
	font-weight: bold;
	font-style: italic;
	src: url("/fonts/LibertinusSerif-BoldItalic.woff2") format("woff2");
}


:lang(ar), [lang="ar"], [lang="ara"], [dir="rtl"] {
    font-family: Amiri, Libertinus, "Scheherazade New", "Noto Naskh Arabic", serif;
    direction: rtl;
    font-style: normal !important;
    line-height: 1.9;
}



html {
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1; /* fallback */
  	background-color: #ffffff;

}

body {
	font-family: Georgia, serif;
	font-size: 18px; /* or your preferred static base */
}


/* =========================================================
   SABIR / NN OVERRIDE STYLES
   - Neutralise "card" look
   - Single centred content column (PF / Wikipedia style)
   - Unified header / main / footer alignment
   - Cleaner tables and buttons
   ========================================================= */

/* ---------- Base page background & typography ---------- */

html.desk,
.desk {
  background-color: #ffffff;
}

.desk body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #111111;
  font-family: Libertinus, Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.5;
}

/* Remove any global card-like shadows/panels that may leak through */
.desk body * {
  /* We keep this gentle – most overrides happen on specific classes below */
  box-shadow: none !important;
}


/* =========================================================
   LAYOUT: HEADER / MAIN / FOOTER AS ONE COLUMN
   ========================================================= */

/* Shared container geometry for header, main, footer */
.desk > body > header,
.desk > body > main,
.desk > body > main.wide,
.desk > body > footer {
  /* Centre within viewport */
  margin-left: auto;
  margin-right: auto;

  /* Single content column width */
  max-width: 60rem;       /* ~960px, adjust if you want wider/narrower */
  width: 100%;

  /* Horizontal padding = "inner margin" */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Vertical spacing */
.desk > body > header {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-top: 0;
  background-color: #ffffff;
  float: none !important;
   clear: both !important;
}

.desk > body > main,
.desk > body > main.wide {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.desk > body > footer {
  padding-top: 0.75rem;
  padding-bottom: 1.5rem;
  margin-top: 0;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 0.9em;
  color: #777777;
  border-top: 1px solid #eeeeee;
}


/* =========================================================
   HEADER: LOGO + TOP NAV (NO HAMBURGER)
   ========================================================= */

/* Main header layout */
.desk > body > header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  box-shadow: none;
  border-bottom: 1px solid #eeeeee;
  float: none !important;      /* stop sidebar float */
    clear: both !important;      /* ensure header sits ABOVE main content */
    position: relative !important; /* reset any fixed/absolute behavior */
    width: 100% !important;        /* override old 21% sidebar width */
    height: auto !important;       /* override old full-height sidebar */
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;      /* ensure header stays above main */
}

/* Hide old checkbox-based menu toggle if it exists */
.desk > body > header > label.key {
  display: none !important;
}

/* Logo */
.desk > body > header > .img,
.desk > body > header > img {
  display: inline-block;
}

.desk > body > header > .img > img,
.desk > body > header > img {
  display: block;
  max-height: 3.5rem;
  height: auto;
  width: auto;
}

/* Site title */
.desk > body > header > h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Container for navs (main + extra) on the right */
.desk > body > header > section {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Generic nav styling */
.desk > body > header nav {
  margin: 0;
  padding: 0;
}

/* Horizontal lists */
.desk > body > header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.desk > body > header nav ul li {
  margin: 0;
}

/* Links */
.desk > body > header nav a {
  text-decoration: none;
  color: #333333;
  font-size: 0.95rem;
}

.desk > body > header nav a:hover,
.desk > body > header nav a:focus {
  text-decoration: underline;
}

/* Active item: <b> inside li */
.desk > body > header nav ul li b {
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid #0074d9;
  padding-bottom: 0.08rem;
}

/* Extra nav (Licenses, login) slightly lighter */
.desk > body > header nav.extra,
.desk > body > header nav.extra-nav {
  font-size: 0.85rem;
  color: #666666;
}

.desk > body > header nav.extra a,
.desk > body > header nav.extra-nav a {
  color: #555555;
}


/* =========================================================
   MAIN CONTENT: TEXT PAGES
   ========================================================= */

/* Normalise <main> display */
.desk > body > main,
.desk > body > main.wide {
  display: block;
  background: transparent;
  border: none;
}

/* Remove inner "page within page" panels */
.sheet,
.card,
.card.sheet {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Generic headings */
.desk > body > main h1,
.desk > body > main h2,
.desk > body > main h3,
.desk > body > main h4 {
  font-family: Libertinus, Georgia, "Times New Roman", serif;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.desk > body > main h1 {
  font-size: 1.8rem;
}

.desk > body > main h2 {
  font-size: 1.4rem;
}

.desk > body > main h3 {
  font-size: 1.15rem;
}

.desk > body > main p {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

/* A little breathing room around sections */
.desk > body > main section {
  margin-top: 1rem;
  margin-bottom: 1rem;
}


/* =========================================================
   INDEX / TABLE PAGES (DataTables etc.)
   ========================================================= */

/* Flatten the index wrapper */
.index {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  font-size: 0.95em;
}

/* Remove inner card look around tables/controls if present */
.index > div {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
}

/* Tables should span the main column cleanly */
.index table,
.index table.dataTable {
  width: 100% !important;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent;
}

/* Header row: understated, not boxy */
.index table.dataTable thead th,
.index table thead th {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid #dddddd;
  font-weight: 600;
  font-size: 0.9em;
  text-align: left;
  background-color: #f7f8fa;
}

/* Body cells */
.index table.dataTable tbody td,
.index table tbody td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #eeeeee;
  vertical-align: top;
  font-size: 0.9em;
}

/* Remove zebra stripes / heavy row backgrounds if any */
.index table.dataTable tbody tr:nth-child(odd),
.index table tbody tr:nth-child(odd),
.index table.dataTable tbody tr:nth-child(even),
.index table tbody tr:nth-child(even) {
  background-color: transparent !important;
}

/* DataTables wrapper clean-up */
.dataTables_wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 0.5rem;
}

/* Info + length + filter areas */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  font-size: 0.85em;
  color: #555555;
}

/* Put controls above/below neatly with small margins */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0.5rem;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  margin-top: 0.5rem;
}

/* Pagination buttons */
.dataTables_wrapper .dataTables_paginate a,
.dataTables_wrapper .dataTables_paginate span a,
.dataTables_wrapper .dt-button {
  cursor: pointer;
}


/* =========================================================
   BUTTONS & FORM ELEMENTS (CLEAN, QUIET)
   ========================================================= */

/* Basic button reset for a clean, modern look */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.dataTables_wrapper .dt-button,
.dataTables_wrapper .dataTables_paginate a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.25rem 0.7rem;
  margin: 0 0.15rem;

  border-radius: 999px;
  border: 1px solid #cccccc;
  background-color: #f7f7f7;
  color: #333333;
  font-size: 0.85em;
  font-family: inherit;
  text-decoration: none;

  box-shadow: none;
}

/* Hover / focus */
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.dataTables_wrapper .dt-button:hover,
.dataTables_wrapper .dataTables_paginate a:hover {
  background-color: #e9f3ff;
  border-color: #99c2ff;
  color: #222222;
}

/* Active / current page in pagination */
.dataTables_wrapper .dataTables_paginate .current,
.dataTables_wrapper .dataTables_paginate .current:hover {
  background-color: #0074d9;
  border-color: #0074d9;
  color: #ffffff !important;
}

/* Inputs and selects */
input[type="text"],
input[type="search"],
select {
  border-radius: 999px;
  border: 1px solid #cccccc;
  padding: 0.2rem 0.6rem;
  font-size: 0.85em;
  font-family: inherit;
  box-shadow: none;
  background-color: #ffffff;
}

/* Search label */
.dataTables_wrapper .dataTables_filter label {
  font-weight: 400;
}


/* =========================================================
   LINKS & INLINE ELEMENTS
   ========================================================= */

a {
  color: #0074d9;
}

a:hover,
a:focus {
  color: #0055a3;
}

/* Bold/strong consistent */
strong, b {
  font-weight: 600;
}


/* =========================================================
   RESPONSIVE TWEAKS
   ========================================================= */

@media screen and (max-width: 700px) {
  /* Reduce horizontal padding on very small screens */
  .desk > body > header,
  .desk > body > main,
  .desk > body > main.wide,
  .desk > body > footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .desk > body > header {
    gap: 0.4rem 1rem;
  }

  .desk > body > header > section {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .desk > body > header nav ul {
    gap: 0.5rem 1rem;
  }
}




