#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: wait;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
}

#overlay.overlay-show-message {
  background: rgba(0, 0, 0, 0);
}

.overlay-message {
  display: none;
  background: rgba(57, 85, 123, 0.95);
  color: #ffffff;
  padding: 18px 36px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.5px;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  white-space: nowrap;
}

.overlay-message-visible {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 1;
  transform: translateY(0);
  animation: overlayFadeIn 0.35s ease-out forwards,
    overlayPulse 1.6s ease-in-out 0.35s infinite;
}

.overlay-message-visible::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-top-color: #ffffff;
  animation: overlaySpinner 0.75s linear infinite;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes overlayPulse {
  0% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  }
  100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
}

@keyframes overlaySpinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.panel {
  background-color: #f0f0f0;
  box-sizing: border-box;
}

.deleteButton {
  background-color: #ffdddd;
  color: white;
}

.overflowY {
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0; /* allow grid/flex child to shrink so content can wrap */
  min-height: 0;
}

.overflowHidden {
  overflow-y: hidden;
  overflow-x: hidden;
}

.span2 {
  grid-column: span 2;
}

.span3 {
  grid-column: span 3;
}

.span4 {
  grid-column: span 4;
}

.span5 {
  grid-column: span 5;
}

.span6 {
  grid-column: span 6;
}

.span7 {
  grid-column: span 7;
}

.span8 {
  grid-column: span 8;
}

.span9 {
  grid-column: span 9;
}

.span10 {
  grid-column: span 10;
}

.pt2 {
  padding-top: 2px !important;
}
.pt3 {
  padding-top: 3px !important;
}

.pt4 {
  padding-top: 4px !important;
}

.pt5 {
  padding-top: 5px !important;
}

.pt6 {
  padding-top: 6px !important;
}

.pt7 {
  padding-top: 7px !important;
}

.pt8 {
  padding-top: 8px !important;
}

.pt9 {
  padding-top: 9px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pt11 {
  padding-top: 11px !important;
}

.pt12 {
  padding-top: 12px !important;
}

.pt13 {
  padding-top: 13px !important;
}

.pt14 {
  padding-top: 14px !important;
}

.pt15 {
  padding-top: 15px !important;
}

.divLayout {
  margin-right: 5px;
  margin-bottom: 5px;
  height: calc(100vh - 135px);
  min-height: 403px;
}

.gMsg {
  border-top: solid rgba(57, 85, 123, 1) 3px;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  z-index: 50;
}

.dropdownContentLeft {
  display: none;
  position: absolute;
  background-color: rgba(57, 85, 123, 1);
  min-width: 100px;
  z-index: 1;
  left: 0;
}

.dropdown:hover .dropdownContentLeft {
  display: block;
}

.dropdownContentBelow {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: max-content;
  min-width: min-content;
  background-color: rgba(57, 85, 123, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
  padding: 4px 0;
}

.dropdown:hover .dropdownContentBelow {
  display: block;
}

.dropdownContentBelow .btn-ghost {
  display: block;
  width: 100%;
  min-width: max-content;
  padding: 8px 16px;
  text-align: left;
  white-space: nowrap;
  color: #ffffff;
}

.dropdownContentBelow .btn-ghost:hover,
.dropdownContentBelow .btn-ghost:active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

.dropdownContentLeft a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: black;
  text-align: right;
}

.btnNav {
  height: 50px;
  width: 100%;
  line-height: 50px;
  text-align: left;
  background-color: transparent;
  color: yellow;
  border: 0px;
}

.btnSubNav {
  height: 50px;
  width: 100%;
  line-height: 50px;
  text-align: left;
  background-color: lightsteelblue;
  color: yellow;
  border: 0px;
}

.imgNavBtn {
  float: left;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  margin-top: 5px;
}

button {
  background: linear-gradient(90deg, #3b5998 0%, #8b9dc3 100%);
  border: 2px solid #3b5998;
  font-size: 20px;
  min-height: 36px;
  width: 100%;
  color: yellow;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(57, 85, 123, 0.15);
}

button:hover {
  background: linear-gradient(90deg, #2d4373 0%, #6d84b4 100%);
  color: #ffe082;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(57, 85, 123, 0.25);
}

button:active {
  background: #3b5998;
  color: #fffde7;
  text-decoration: underline;
}

button:disabled {
  background: #cfd8dc;
  color: #757575;
  border-color: #b0bec5;
  cursor: not-allowed;
  box-shadow: none;
}

.modal button {
  background: linear-gradient(90deg, #5c4033 0%, #8a5a44 100%);
  border: 2px solid #5c4033;
  color: #fffde7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.modal button:hover {
  background: linear-gradient(90deg, #4a3329 0%, #754836 100%);
  color: #fffbe6;
}


.btn-ghost {
  border: none;
  background: none;
  color: black;
  background-color: transparent;
  box-shadow: none;
  outline:none;
  cursor: pointer;
  text-align: center;
}

.btn-ghost:hover,
.btn-ghost:active {
  border: none;
  color: blue;
  background: none;
  background-color: transparent;
  box-shadow: none;
  outline: none;
}

.navSpace {
  height: 5px;
  background-color: rgba(57, 85, 123, 1);
}

.title {
  font-family: Arial;
  font-size: 26px;
  font-weight: bold;
  color: rgba(57, 85, 123, 1);
  background: #f8fafc;
  border: 2px solid gray;
  padding: 10px;
  display: block;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  height: 100%;
  width: fit-content;
  box-sizing: border-box;
}

.title.title.full-width {
  width: 100% !important;
}

.subTitle {
  font-family: Arial;
  font-weight: bold;
  text-align: center;
  padding: 10px 24px;
  display: block;
  width: fit-content;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.centerText {
  text-align: center !important;
}

.vAlign {
  vertical-align: text-top;
}

.pointer-info {
  font-size: 0.8em;
  border: 1px solid #888;
  border-radius: 50%;
  padding: 0 4px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  cursor: pointer;
}

.thModule {
  box-sizing: border-box;
  font-weight: bold;
  background: #5c4033;
  color: #fffde7;
  border: 1px solid #5c4033;
  padding: 6px 10px;
  font-size: 18px;
}

.thModuleSecond {
  box-sizing: border-box;
  font-weight: bold;
  background: #8a7010;
  color: #fffde7;
  border: 1px solid #8a7010;
  padding: 6px 10px;
  font-size: 18px;
}

table {
  border-spacing: 3px;
  border-width: 3px;
  table-layout: fixed;
  width: 100%;
}

thead th {
  position: sticky;
  top: 0;
  background: #b0c4de;
  color: #23395d;
  text-align: left;
  border: 2px solid rgba(57, 85, 123, 1);
  padding: 8px 12px;
  font-size: 21px;
  font-weight: bold;
  z-index: 2;
}

td {
  color: #23395d;
  font-size: 20px;
  height: fit-content;
  background: #e6ecf5; /* matches the far right gradient of thead */
  text-align: left;
  vertical-align: middle;
  padding: 8px 12px;
  border: 1px solid #649db5;
  box-shadow: 0 2px 6px rgba(57, 85, 123, 0.08);
  transition: background 0.2s, color 0.2s;
}

/* Alternate row background color */
tr:nth-child(even) td {
  background: #d3deed;
}

tr:hover td {
  background: rgba(206, 206, 206, 1);
  color: #23395d;
}

input[type="text"],
[type="password"] {
  display: block;
  height: 30px;
  width: calc(100% - 8px);
  border: solid gray 2px;
  font-family: Arial;
  font-size: 20px;
}

input[type="text"]:read-only {
  background: rgb(197, 204, 212);
}

input[type="checkbox"] {
  height: 24px;
  width: 24px;
}

input[type="date"],
input[type="time"],
input[type="month"],
input[type="number"] {
  height: 38px;
  width: 100%;
  font-family: Arial;
  font-size: 20px;
  border: solid gray 2px;
  box-sizing: border-box;
}
input[type="date"]:disabled,
input[type="time"]:read-only,
input[type="month"]:read-only,
input[type="number"]:read-only {
  background-color: rgb(197, 204, 212) !important;
  color: black;
  opacity: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  display: block;
  resize: none;
  border: solid gray 2px;
  width: 100%;
  height: 100%;
  font-family: Arial;
  font-size: 20px;
  padding: 5px;
  box-sizing: border-box;
}

textarea:read-only {
  background: rgb(197, 204, 212);
}

.modal textarea:read-only {
  border: 2px solid #5c4033;
  background: #e5d5b8;
  color: #1d130d;
  border-radius: 6px;
}

label,
.label {
  font-weight: bold;
  font-size: 18px;
  color: #39557b;
  margin-bottom: 4px;
  display: inline-block;
  vertical-align: middle;
}

.label-data {
  display: inline-block;
  height: max-content;
  min-height: 36px;
  max-height: none;
  overflow: visible;
  white-space: normal;
  align-items: start;
  word-break: break-word;
  width: 100%;
  border: solid gray 2px;
  font-family: Arial;
  font-weight: normal !important;
  color: black !important;
  font-size: 20px;
  background: rgb(197, 204, 212);
  padding: 0px 5px 0px 5px;
  line-height: 30px;
  box-sizing: border-box;
  vertical-align: middle;
}

.modal {
  display: block;
  position: fixed;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.modalContent {
  display: grid;
  background-color: #e5d5b8; /* earth tan */
  margin: auto;
  height: fit-content;
  width: fit-content;
  padding: 20px;
  border: 3px solid #5c4033; /* dark brown */
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 1001;
}

.modalSecond {
  display: block;
  position: fixed;
  z-index: 2000; /* Higher than .modal */
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: transparent;
}

.modalContentSecond {
  display: grid;
  background-color: #fffbe6;
  margin: auto;
  height: fit-content;
  width: fit-content;
  padding: 28px;
  border: 4px solid #d4af37;
  z-index: 2001;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.modalContentSecond button {
  background: linear-gradient(90deg, #8a7010 0%, #b8960f 50%, #d4af37 100%);
  border: 2px solid #8a7010;
  color: #fffde7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.modalContentSecond button:hover {
  background: linear-gradient(90deg, #756008 0%, #9a7a0d 50%, #b8960f 100%);
  color: #fffbe6;
}

.modalContentSecond .label {
  color: #8a7010;
  font-weight: bold;
}

.modalContentSecond .label-data {
  border-color: #d4af37;
  background-color: #fff8dc;
  color: #1d130d;
}

.modalContentSecond hr {
  border: 0;
  border-top: 3px solid #d4af37;
}

.modalSecond select,
.modalSecond input[type="text"],
.modalSecond input[type="date"],
.modalSecond input[type="number"],
.modalSecond [type="password"] {
  border: 2px solid #d4af37;
  background-color: #fff;
  color: #1d130d;
}

.modalSecond input[type="checkbox"] {
  accent-color: #b8960f;
  background-color: #fff;
  border: 2px solid #d4af37;
}

.modalSecond textarea {
  border: 2px solid #d4af37;
  border-radius: 6px;
  background-color: #fff;
  color: #1d130d;
}

.modalSecond textarea:read-only {
  background-color: #fff3cd;
  color: #6b560a;
}

/* Radio-as-tabs: shared layout; variables = middle-ground base + modal / modalSecond / modalThird accents */
/* <div class="tabs-radio" role="tablist" aria-label=""> */
  /* <input
  type="radio"
  id="details"
  name="group"
  data-action=""
  checked>
  <label for="details"></label> */
/* </div> */
.tabs-radio {
  --tab-bar: #b8960f;
  --tab-border: #a68b3a;
  --tab-bg: #faf6eb;
  --tab-text: #5c4a2a;
  --tab-hover-bg: #f0ead8;
  --tab-hover-text: #3d2f1c;
  --tab-active-start: #7a6238;
  --tab-active-mid: #9a7a48;
  --tab-active-end: #b8960f;
  --tab-active-text: #fffef8;
  --tab-active-border: #6b5635;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px;
  margin: 0 0 6px 0;
  padding: 0;
  border-bottom: 3px solid var(--tab-bar);
  box-sizing: border-box;
}

.modal .tabs-radio,
.modalContent .tabs-radio {
  --tab-bar: #5c4033;
  --tab-border: #5c4033;
  --tab-bg: #efe8dc;
  --tab-text: #4a3528;
  --tab-hover-bg: #e5d5b8;
  --tab-hover-text: #2d2118;
  --tab-active-start: #4a3425;
  --tab-active-mid: #5c4033;
  --tab-active-end: #7a5c45;
  --tab-active-text: #fff8e7;
  --tab-active-border: #3d2a1f;
}

.modalSecond .tabs-radio,
.modalContentSecond .tabs-radio {
  --tab-bar: #d4af37;
  --tab-border: #d4af37;
  --tab-bg: #fffef5;
  --tab-text: #8a7010;
  --tab-hover-bg: #fff8dc;
  --tab-hover-text: #6b560a;
  --tab-active-start: #8a7010;
  --tab-active-mid: #b8960f;
  --tab-active-end: #d4af37;
  --tab-active-text: #fffde7;
  --tab-active-border: #8a7010;
}

.tabs-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.tabs-radio label {
  display: inline-block;
  margin: 0 0 -3px 0;
  padding: 8px 18px;
  border: 2px solid var(--tab-border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: var(--tab-bg);
  color: var(--tab-text);
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tabs-radio label:hover {
  background: var(--tab-hover-bg);
  color: var(--tab-hover-text);
}

.tabs-radio input:checked + label {
  position: relative;
  z-index: 1;
  margin-bottom: -3px;
  padding-bottom: 10px;
  background: linear-gradient(
    90deg,
    var(--tab-active-start) 0%,
    var(--tab-active-mid) 50%,
    var(--tab-active-end) 100%
  );
  border-color: var(--tab-active-border);
  color: var(--tab-active-text);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}

.modalPanel {
  background-color: #c9b08a; /* darker earth brown so it pops */
  color: #1d130d;    
  border: none;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.contentBoxPanel {
  background-color: rgb(186, 214, 226);
  color: #23395d;
  border: 2px solid rgba(57, 85, 123, 0.85);
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.modalSecondPanel {
  background-color: #fff8dc; /* warm light gold to match modalSecond */
  color: #1d130d;
  border: 2px solid #d4af37;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.modalSecondPanel.overflowY thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.modalPanel.overflowY thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.modalContent hr {
  border: 0;
  border-top: 3px solid #5c4033; /* match modal border */
}

.modalContent .label-data {
  border-color: #5c4033;     /* match modal border */
  background-color: #d9c7a8; /* slightly darker than modal shell #e5d5b8 */
}

.modalContent .label {
  color: #5c4033;
  font-weight: bold;
}

.modalContent select,
.modalContent input[type="text"],
.modalContent [type="password"] {
  border: 2px solid #5c4033;      /* match modal border */
  background-color: #fff;
  color: #1d130d;
}

/* Tables inside modals only — match modal palette; do not affect tables in div placements */
.modal table {
  border-spacing: 2px;
  border: 1px solid #5c4033;
  border-radius: 6px;
}

.modal thead th {
  background: #5c4033;
  color: #fffde7;
  border: 1px solid #5c4033;
  padding: 6px 10px;
  font-size: 18px;
}

.modal td {
  background: #e5d5b8;
  color: #1d130d;
  border: 1px solid #8a6a4d;
  padding: 6px 10px;
  font-size: 18px;
}

.modal tr:nth-child(even) td {
  background: #dcc9a8;
}

.modal tr:hover td {
  background: #d4b896;
  color: #1d130d;
}

/* Tables inside modalSecond — match modalSecond (gold) palette */
.modalSecond table {
  border-spacing: 2px;
  border: 1px solid #d4af37;
  border-radius: 6px;
}

.modalSecondTableHeader {
  background: #8a7010;
  color: #fffde7;
  font-size: 18;
  font-weight: bold;
  padding: 6px 10px;
}

.modalSecond thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #8a7010;
  color: #fffde7;
  border: 1px solid #8a7010;
  padding: 6px 10px;
  font-size: 18px;
}

.modalSecond td {
  background: #fffbe6;
  color: #1d130d;
  border: 1px solid #d4af37;
  padding: 6px 10px;
  font-size: 18px;
}

.modalSecond tr:nth-child(even) td {
  background: #fff8dc;
}

.modalSecond tr:hover td {
  background: #f5e6b3;
  color: #1d130d;
}

/* modalThird — cool slate/blue accent; stacks above modalSecond (z-index 100/101) */
.modalThird {
  display: block;
  position: fixed;
  z-index: 3000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: transparent;
}

.modalContentThird {
  display: grid;
  background-color: #f0f5fb;
  margin: auto;
  height: fit-content;
  width: fit-content;
  padding: 28px;
  border: 4px solid #39557b;
  border-radius: 10px;
  z-index: 3001;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.modalThird button,
.modalContentThird button {
  background: linear-gradient(90deg, #2d4a6e 0%, #39557b 50%, #4a6fa5 100%);
  border: 2px solid #2d4a6e;
  color: #f8fafc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.modalThird button:hover,
.modalContentThird button:hover {
  background: linear-gradient(90deg, #243a57 0%, #2d4a6e 50%, #39557b 100%);
  color: #fff;
}

.modalContentThird .label {
  color: #2d4a6e;
  font-weight: bold;
}

.modalContentThird .label-data {
  border-color: #6d8cbb;
  background-color: #e8eef5;
  color: #1d130d;
}

.modalContentThird hr {
  border: 0;
  border-top: 3px solid #39557b;
}

.modalContentThird select,
.modalContentThird input[type="text"],
.modalContentThird input[type="date"],
.modalContentThird input[type="number"],
.modalContentThird [type="password"] {
  border: 2px solid #39557b;
  background-color: #fff;
  color: #1d130d;
}

.modalThird select,
.modalThird input[type="text"],
.modalThird input[type="date"],
.modalThird input[type="number"],
.modalThird [type="password"] {
  border: 2px solid #39557b;
  background-color: #fff;
  color: #1d130d;
}

.modalThird input[type="checkbox"] {
  accent-color: #39557b;
  background-color: #fff;
  border: 2px solid #39557b;
}

.modalThird textarea {
  border: 2px solid #39557b;
  background-color: #fff;
  color: #1d130d;
}

.modalThird textarea:read-only {
  border: 2px solid #39557b;
  background-color: #dde7f5;
  color: #1a2f4d;
  border-radius: 6px;
}

.modalThird .tabs-radio,
.modalContentThird .tabs-radio {
  --tab-bar: #39557b;
  --tab-border: #39557b;
  --tab-bg: #f0f5fb;
  --tab-text: #2d4a6e;
  --tab-hover-bg: #e2eaf5;
  --tab-hover-text: #1a2f4d;
  --tab-active-start: #2d4a6e;
  --tab-active-mid: #39557b;
  --tab-active-end: #4a6fa5;
  --tab-active-text: #f8fafc;
  --tab-active-border: #243a57;
}

.modalThirdPanel {
  background-color: #e2eaf5;
  color: #1d130d;
  border: 2px solid #6d8cbb;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.modalThirdPanel.overflowY thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.modalThird table {
  border-spacing: 2px;
  border: 1px solid #39557b;
  border-radius: 6px;
}

.modalThird thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #39557b;
  color: #f8fafc;
  border: 1px solid #39557b;
  padding: 6px 10px;
  font-size: 18px;
}

.modalThird td {
  background: #f0f5fb;
  color: #1d130d;
  border: 1px solid #8fa8c9;
  padding: 6px 10px;
  font-size: 18px;
}

.modalThird tr:nth-child(even) td {
  background: #e5ecf6;
}

.modalThird tr:hover td {
  background: #d5e0f0;
  color: #1d130d;
}

/* Div stand-in for table header inside modalThird (matches .modalThird thead th) */
.moduleThird {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  font-weight: bold;
  background: #39557b;
  color: #f8fafc;
  border: 1px solid #39557b;
  padding: 6px 10px;
  font-size: 18px;
}

.chkReadOnly {
  pointer-events: none;
}

.methodCheckBox {
  pointer-events: none;
  opacity: 1; /* keep it looking enabled */
}

.user-actions {
  position: relative;
}

.user-actions .edit-btn {
  position: absolute;
  right: 8px;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.user-actions .edit-btn img {
  box-sizing: border-box;
  display: block;
  margin-left: 0;
  margin-right: auto;
  position: relative;
  left: -3px;
}

.user-actions:hover .edit-btn {
  display: inline-block;
}

select {
  width: 100%;
  height: 36px;
  border: solid gray 2px;
  font-style: Arial;
  font-size: 20px;
}

tr.flash-row td {
  animation: flash-bg 1s !important;
  background-color: #ffff99 !important; /* fallback */
}

@keyframes flash-bg {
  0% {background-color: #ffff99 !important;}
  50% {background-color: #ffe066 !important;}
  100% {background-color: inherit !important;}
}

.input-link {
  border: solid gray 2px;
  padding: 2px;
  height: 37px;
  background-color: rgb(197, 204, 212);
  cursor: pointer;
  color: #0066cc;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
  display: block;
  width: 100%;
  box-sizing: border-box;
  line-height: normal;
}

.input-link:hover {
  background-color: #e6f3ff;
}


.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  background-color: black;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px; 
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
}

.stickyDiv {
    position: sticky;
    top: 0;
    z-index: 1;
    background: aliceblue;
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: max-content;
    row-gap: 3px;
}

.error-fallback {
  width: min(100%, 400px);
  max-width: 400px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  color: #856404;
  font-family: Arial, sans-serif;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.error-fallback h1 {
  font-size: 2em;
  margin-bottom: 16px;
}

.error-fallback p {
  margin-bottom: 0;
}
