/* Gematrixx V76 — 2026-08-08 targeted refinements */

/* 1) Quran surah statistics: numeric filtering must win over every table/card rule. */
#pageQuran #pg-surastats #ssTbody > tr[data-ss-match="0"]{
  display:none!important;
  visibility:collapse!important;
}
#pageQuran #pg-surastats #ssTbody > tr[data-ss-match="1"]{
  visibility:visible!important;
}
#pageQuran #pg-surastats #ssTbody td.ss-glow{
  color:#ffe47f!important;
  background:rgba(232,201,106,.18)!important;
  box-shadow:inset 0 0 0 1px rgba(232,201,106,.8),0 0 16px rgba(232,201,106,.34)!important;
  border-radius:6px!important;
}

/* 2) Number Properties desktop: visual order from viewer's LEFT to RIGHT:
      Arabic | English | value. Invisible grid; no visible column borders. */


/* 3) Calendar months modal/table — lighter, calmer treatment in both themes. */
.dc-months-modal{
  background:rgba(5,7,12,.52)!important;
  backdrop-filter:blur(7px)!important;
}
.dc-months-dialog{
  background:var(--bg2)!important;
  border-color:rgba(201,168,76,.42)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.30)!important;
}
.dc-months-table-wrap{
  background:transparent!important;
  border:1px solid rgba(201,168,76,.24)!important;
  box-shadow:none!important;
}
.dc-months-table tbody td,.dc-months-table tbody th{
  background:transparent!important;
  border-color:rgba(160,170,190,.12)!important;
}
.dc-months-table tbody tr:nth-child(even) td,.dc-months-table tbody tr:nth-child(even) th{
  background:rgba(255,255,255,.025)!important;
}
/* very subtle calendar identity tint instead of full dark column blocks */
.dc-months-table tbody .dc-month-greg{background:rgba(70,130,210,.045)!important}
.dc-months-table tbody .dc-month-hijri{background:rgba(42,164,116,.045)!important}
.dc-months-table tbody .dc-month-hebrew{background:rgba(128,92,190,.05)!important}
.dc-months-table tbody .dc-month-ethiopian{background:rgba(215,150,42,.05)!important}
.dc-months-table tbody .dc-month-persian{background:rgba(200,66,84,.05)!important}
.dc-months-table tbody tr:hover td,.dc-months-table tbody tr:hover th{
  background-color:rgba(201,168,76,.07)!important;
  filter:none!important;
}
.dc-months-table thead th{
  text-shadow:none!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.12)!important;
}
/* Header colors remain identifiable but softer and flatter. */
thead .dc-month-greg{background:#315d91!important}
thead .dc-month-hijri{background:#236f55!important}
thead .dc-month-hebrew{background:#60488b!important}
thead .dc-month-ethiopian{background:#94651e!important}
thead .dc-month-persian{background:#8f3445!important}

html[data-theme="light"] .dc-months-modal{
  background:rgba(38,43,52,.28)!important;
}
html[data-theme="light"] .dc-months-dialog{
  background:#f8f9fb!important;
  box-shadow:0 18px 50px rgba(25,35,50,.16)!important;
}
html[data-theme="light"] .dc-months-table-wrap{
  background:#fff!important;
  border-color:rgba(120,100,50,.22)!important;
}
html[data-theme="light"] .dc-months-table tbody td,html[data-theme="light"] .dc-months-table tbody th{
  color:#273041!important;
  border-color:rgba(35,45,60,.09)!important;
}
html[data-theme="light"] .dc-months-table tbody tr:nth-child(even) td,html[data-theme="light"] .dc-months-table tbody tr:nth-child(even) th{
  background:rgba(30,45,70,.025)!important;
}
html[data-theme="light"] .dc-months-table tbody .dc-month-greg{background:rgba(70,130,210,.035)!important}
html[data-theme="light"] .dc-months-table tbody .dc-month-hijri{background:rgba(42,164,116,.035)!important}
html[data-theme="light"] .dc-months-table tbody .dc-month-hebrew{background:rgba(128,92,190,.04)!important}
html[data-theme="light"] .dc-months-table tbody .dc-month-ethiopian{background:rgba(215,150,42,.04)!important}
html[data-theme="light"] .dc-months-table tbody .dc-month-persian{background:rgba(200,66,84,.04)!important}
html[data-theme="light"] .dc-months-table tbody tr:hover td,html[data-theme="light"] .dc-months-table tbody tr:hover th{
  background-color:rgba(201,168,76,.09)!important;
}
