/* Mishkan Tzipora — Custom Styles & Print Stylesheet */
body {
  font-family: 'Heebo', sans-serif;
  background-color: #FCFBF8;
  color: #260c24;
  overflow-x: hidden;
}

.tab-active {
  background-color: #4B1D47;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(75, 29, 71, 0.25);
}

.subtab-active {
  border-bottom: 2px solid #E59A1A;
  color: #4B1D47 !important;
  font-weight: 700;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Print / PDF Stylesheet (Bima Gabbai Sheet & Directory Print — Landscape A4 matching reference PDF) */
@page {
  size: A4 landscape;
  margin: 10mm;
}

@media print {
  .no-print, header, footer {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 9.5pt !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .print-only {
    display: inline !important;
  }
  #subtabAssignment > div {
    border: none !important;
    box-shadow: none !important;
  }
  #gabbaiAssignmentTable {
    border-collapse: collapse !important;
    width: 100% !important;
    table-layout: auto !important;
    font-size: 9.5pt !important;
  }
  #gabbaiAssignmentTable thead tr {
    background-color: #dce6f2 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  #gabbaiAssignmentTable tbody tr:nth-child(even) {
    background-color: #efefef !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  #gabbaiAssignmentTable tbody tr:nth-child(odd) {
    background-color: #ffffff !important;
  }
  #gabbaiAssignmentTable th,
  #gabbaiAssignmentTable td {
    border: 1px solid #666666 !important;
    padding: 5px 6px !important;
    text-align: center !important;
    vertical-align: middle !important;
    line-height: 1.25 !important;
  }
  #gabbaiAssignmentTable tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  select {
    display: none !important;
  }
}
