/* NMER – Courses Styles (override-friendly) */

/* Section spacing */
.section{padding:48px 0}

/* Table header */
.table thead th{
  background:#f9f4e7;
  border-bottom:2px solid rgba(195,161,98,.35)
}

/* Badge */
.badge-count{
  background:rgba(195,161,98,.15);
  color:#614c1b;
  border:1px solid rgba(195,161,98,.35);
  font-weight:700
}

/* Buttons */
.btn-nmer{background:#c3a162;color:#000;font-weight:700}
.btn-nmer:hover{filter:brightness(.95);color:#000}

/* Filters bar */
.filters-wrap{gap:.75rem}

/* -----------------------------
   4‑color alternating rows
   NOTE: Bootstrap colors cells, not rows,
   so we color the cells directly with > *
   and add !important to win specificity.
--------------------------------*/
#coursesTable > tbody > tr:nth-child(4n+1) > * { background-color:#fffdf8 !important; } /* soft beige */
#coursesTable > tbody > tr:nth-child(4n+2) > * { background-color:#fdfcf9 !important; } /* light cream */
#coursesTable > tbody > tr:nth-child(4n+3) > * { background-color:#f9fcfb !important; } /* light mint  */
#coursesTable > tbody > tr:nth-child(4n+4) > * { background-color:#f9fbfd !important; } /* light blue-gray */

/* Hover: highlight entire row */
#coursesTable > tbody > tr:hover > * {
  background-color: rgba(195,161,98,.15) !important;
}

/* Optional: subtle left accent stripe for readability */
#coursesTable > tbody > tr:nth-child(4n+1) > *:first-child { box-shadow: inset 3px 0 0 #ecd7ad; }
#coursesTable > tbody > tr:nth-child(4n+2) > *:first-child { box-shadow: inset 3px 0 0 #e8e1d3; }
#coursesTable > tbody > tr:nth-child(4n+3) > *:first-child { box-shadow: inset 3px 0 0 #d6efe7; }
#coursesTable > tbody > tr:nth-child(4n+4) > *:first-child { box-shadow: inset 3px 0 0 #d9e6f5; }
