/* V149 — Quran stats subtab separation + Birth Card full-table refinements */

/* Quran: the equal-statistics content now lives in its own subtab pane. */
#pageQuran #qocEqualPane[hidden]{display:none!important}
#pageQuran #qocEqualPane:not([hidden]){display:block}
#pageQuran #qocEqualPane .ss-equal-panel{margin-top:.25rem}

/* Birth Card: give the first "day" column enough room for its Arabic heading. */
#pageBirthcard .bc109-table-wrap .bc-table th:first-child,
#pageBirthcard .bc109-table-wrap .bc-table td:first-child{
  width:50px!important;
  min-width:50px!important;
}

/* Keep the month-name header visible while the page scrolls through the full table.
   The table itself deliberately has no internal vertical scrollbar. */
#pageBirthcard .bc109-table-wrap .bc-table thead th{
  position:sticky!important;
  top:var(--bc149-sticky-top,0px)!important;
  z-index:8!important;
  background:var(--bg-card)!important;
  box-shadow:0 1px 0 var(--border),0 5px 10px rgba(0,0,0,.16);
}
#pageBirthcard .bc109-table-wrap .bc-table thead th:first-child{z-index:9!important}

@media(max-width:1100px){
  #pageBirthcard .bc109-table-wrap .bc-table th:first-child,
  #pageBirthcard .bc109-table-wrap .bc-table td:first-child{
    width:44px!important;
    min-width:44px!important;
  }
}
@media(max-width:700px){
  #pageBirthcard .bc109-table-wrap .bc-table th:first-child,
  #pageBirthcard .bc109-table-wrap .bc-table td:first-child{
    width:38px!important;
    min-width:38px!important;
  }
  #pageBirthcard .bc109-table-wrap .bc-table thead th{
    box-shadow:0 1px 0 var(--border),0 3px 7px rgba(0,0,0,.14);
  }
}
