
  mark {
    background-color: #ffe58f;
    padding: 0 2px;
    border-radius: 3px;
    text-decoration: color(red);
  }

  body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    pointer-events: none;
    background: linear-gradient(
      to top,
      rgb(113, 113, 113) 0%,           /* Bottom = black */
      #ce4e4eb8 40%,        /* Middle = red (adjust shade to taste) */
      transparent 100%    /* Top = fade out */
    );
    z-index: -1;
  }
  
  footer.version-footer {
    color: white;
    text-align: center;
    text-transform: capitalize;
  }

#calendar-big td, #calendar-big th {
  width: 14%;
  height: 80px;
  text-align: center;
  vertical-align: top;
  font-size: 1.1rem;
}

#calendar-big table {
  table-layout: fixed;
}

/* Subtle hover effects for interactive lists and cards */
.list-group-item-action {
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.list-group-item-action:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.card.lift-on-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.lift-on-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Profile page */
.profile-card {
  max-width: 260px;
}

/* Dashboard profile image */
.dashboard-profile-image-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.dashboard-profile-image-wrapper .update-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 2px 0;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.dashboard-profile-image-wrapper:hover .update-overlay {
  opacity: 1;
}

/* Dashboard cards */
.dashboard-card {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Add Product featured image placeholder */
.featured-image-wrapper {
  width: 250px;
  height: 250px;
  background-color: #f8f9fa;
  cursor: pointer;
}
.featured-image-wrapper img {
  object-fit: contain;
}

/* Narrow form groups on the Add Product page */
.add-product-field {
  max-width: 60%;
}

@media (max-width: 768px) {
  .add-product-field {
    max-width: 100%;
  }
}

/* Image navigation buttons in Add Product */
  #imageNav button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

/* Small thumbnails for note images */
.note-thumb {
  max-height: 75px;
}

.note-image-wrapper {
  border-color: #dee2e6 !important;
}

/* Batch selection highlight */
.batch-item.selected {
  background-color: #fff3cd;
}

/* Thumbnails on My Orders page */

/* larger order thumbnails to better utilise list space */
.order-thumb {
  position: relative;
  width: 100px;
  height: 100px;
}

.order-thumb img,
.order-thumb .placeholder-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-thumb .thumb-count {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  padding: 0 2px;
  border-bottom-left-radius: 0.25rem;
}


#globalLoadingIndicator {
  position: relative;
  display: none;
}

#globalLoadingPct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
}

#globalLoadingDone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
}

/* Admin Image Utilities */
.image-util-desc {
  min-height: 50px;
}
.image-util-btn {
  min-height: 50px;
}

/* Dark mode styles */
body.dark-mode {
  background-color: #121212 !important;
  color: #f8f9fa !important;
}
body.dark-mode .bg-light,
body.dark-mode .bg-white,
body.dark-mode .navbar,
body.dark-mode .dropdown-menu {
  background-color: #343a40 !important;
}
body.dark-mode .text-dark,
body.dark-mode .navbar-nav .nav-link,
body.dark-mode .dropdown-item {
  color: #f8f9fa !important;
}
body.dark-mode .dropdown-item:hover {
  background-color: #495057 !important;
}
body.dark-mode .navbar-brand span.fw-bold {
  color: #d1d1d1 !important;
}

/* Portal link list editor */
.link-item .grabber {
  cursor: grab;
  user-select: none;
}
