/* ================GLOBAL LAYOUT==================== */
html,
body {
  background-color: #f9f6ee;
  margin: 5px 0px 5px 2px;
  padding: 5px 0px 5px 2px;
  overflow: hidden; /* stop body from scrolling */
}

/* The entire page is one <section> that flexes. Header at top, footer at bottom, tab-content fills middle */
section {
  display: flex;
  flex-flow: column;
  height: calc(100vh - 20px); /* keep full app on screen */
}

/* The tab-content (the white area with tables) grows and is scrollable internally, not the whole page */
.tab-content {
  flex: 1;
  overflow-y: scroll;
  background-color: #fff; /* ensure white content block */
}

/* Rows are "clickable looking" on hover but we keep cursor default per CodePen */
tr {
  cursor: default;
}

/* Width control for modal footer buttons (SAVE / CANCEL / DELETE) */
.myBtn {
  width: 70px;
}

/* Make sure footer text doesn't stick to edges */
footer p {
  margin-bottom: 0;
}

/* ==============FILTER MODAL GREYED-OUT STATE================== */
#filterModal select:disabled {
  background-color: #e9ecef; /* Bootstrap’s disabled grey */
  opacity: 0.7;
  cursor: not-allowed;
}