body {
    padding-top: 74px;
    /* Margin bottom by footer height */
    margin-bottom: 0px;
    font-family: Helvetica, Arial, sans-serif;
    background-color: #3a3f44 !important;
    color: #aec2c7;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.fsgr-head{
  color: #acd7ff;
  font-weight: bold;
  border-bottom: 2px solid #9fc21385;
}

.fsgr-sh{
  color: #acd7ff;
  font-weight: bold;
  margin-top: 25px;
}

ul.fsgr-ul{
  margin-top: 12px;
}

.uc-card-head {
  background-color: rgb(0 0 0 / 27%);
  color: #acd7ff;
  border-color: #011a07;
}

.h4text {
  color: #acd7ff;
  font-weight: bold;
}

.h5text {
  color: #acd7ff;
  font-weight: bold;
}

.h5secondary {
  color: #acd7ffc4;
  font-weight: bold;
}

.uc-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: #011a07;
}

.uc-card-in {
  background-color: #aec2c7;
}

.uc-active {
  background-color: #1e2b36 !important;
  border-bottom-color: #1e2b36 !important;
  border-left-color: #011a07 !important;
  border-right-color: #011a07 !important;
  border-top-color: #011a07 !important;
}

.uc-verified {
  color: #4d8a01;
}

a:link, a:visited, a:hover, a:active { text-decoration: none; }

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.main-shot {
  height: 500px;
}

.main-shot-img {
  vertical-align: middle;
}

.card-over-carousel {
  z-index: 1;
  width: 250px;
  margin-left: auto; 
  margin-right: 0;
}

.mod-author {
  --bs-text-opacity: 1;
  color: rgba(0,0,0,.7)!important;
  font-weight: bold;
}

.carousel-inner-bg {
  background-color: #93a8ae;
}

/* Added From Sage */
.cash-table { text-align:right; background-color: #212529; }
.cash-table th { text-align: left; background-color: rgba(0, 0, 0, 0.4); }
.cash-table td { border-left: 1px solid rgb(143, 143, 143); width: 15%; padding: 4px 8px;}
.cash-table tr td:first-child { text-align: left; width: auto; border-left: none;}

.cash-zero:before { content : "--" }
.cash-zero { text-align: center }
.cash:before { content: "$ "; color:rgb(72, 190, 62); font-style: italic;}
.cash-debit:before { content : "$ ( "; color:rgb(231, 68, 68); }
.cash-debit:after { content : " )"; color:rgb(231, 68, 68); font-style: italic; }
.cash { text-align: right; }

.stats-dl { display: grid; grid-template-columns: auto; width: 100%; }
.stats-dl dt { grid-column: 1; }
.stats-dl dt:after { content : ": "; }
.stats-dl dd { grid-column: 2; margin-bottom: 0;}
.stats-dl-end dd { text-align: right; }

.veh-table { text-align:left; background-color: #243a43; }
.veh-table th { text-align: left; background-color: #2e3537; }
.veh-table tr:nth-child(even) { background-color: #35545e; }

.realProgress { background-color: #011a07; }

.modIcon { width: 100px; }
.titleDisplay { background-color:rgba(0, 0, 0, 0.4); border: 2px SOLID rgba(255, 255, 255, 0.2); margin: 4px; padding: 4px; }
.productDisplay { background-color:rgba(255, 255, 255, 0.04); border: 2px SOLID rgba(255, 255, 255, 0.02); margin: 4px; padding: 4px; }

.hidden { display: none }

.bank-table { text-align:right; background-color: #243a43; }
.bank-table th { text-align: left; background-color: #2e3537; }
.bank-table td { border-left: 1px solid rgb(143, 143, 143); width: 15%; padding: 4px 8px;}
.bank-table tr td:first-child { text-align: left; width: 15%; border-left: none;}
.bank-table tr td:nth-child(2) { text-align: left; width: auto;}
.bank-table tr:nth-child(even) { background-color: #35545e; }

.transactionNotes { font-size: x-small; font-style: italic; color: rgb(197, 197, 197); text-indent:5px; }

.mainTitleDisplay { font-size: 1.5rem; font-weight: bold; padding: 4px; }

.accordion-button:not(.collapsed) { background-color: #243a43 !important; }

.progress-bar-bg { background-color: #254752; }

.select2-container--default .select2-selection--multiple { background-color: #2e3537 !important; }
.select2-selection__choice {background-color: #35545e !important;}

.link-active {
    pointer-events: none;
    cursor: not-allowed; /* Optional: Change cursor to indicate the link is disabled */
    color: gray; /* Optional: Change link color to indicate it's disabled */
}

#cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #6b6b6bb2;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#cookie-popup p {
  margin: 0;
}

/* Add your preferred loading spinner styles here */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: none; /* Initially hide the spinner */
}

.table-loading tbody tr {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.callout {
    padding: 10px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

a[name] {
  padding-top: 85px;
  margin-top: -85px;
  display: inline-block; /* required for webkit browsers */
}


.load-progress-bar {
  position: relative;
  display: inline-block;
  height: 100px;
  width: 100%;
  background: linear-gradient(to right, #848a90 99.9%, transparent 99.9%);
  background-position: 0% 50%, 0% 50%;
  background-size: 100% 5px, 50px 50px;
  background-repeat: no-repeat, repeat-x;
}

.load-progress-bar-top {
  position: absolute;
  height: 100px;
  width: 1%;
  background: linear-gradient(to right, #acd7ff 99.9%, transparent 99.9%);
  background-position: 0% 50%, 0% 50%;
  background-size: 100% 5px, 50px 50px;
  background-repeat: no-repeat, repeat-x;
}

.load-progress-bar-circle {
  content: '';
  position: relative;
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
  width: 25px; /* Adjust the size of the circles */
  height: 25px; /* Adjust the size of the circles */
  border-radius: 50%;
  background-color: #848a90; /* Adjust the color of the circles */
}

.circles-row {
  position: relative;
  top: -74px;
  height: 0px;
}

.load-pending {
  background-color: #ffc10723;
}

.load-progress {
  background-color: #0dcaf023;
}

.load-completed {
  background-color: #19875423;
}

.load-missed {
  background-color: #dc354523;
}

.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}

.notification {
  width: 100px;
  height: 100px;
  color: #ffffff;
  transition: color 1s ease; /* Transition effect */
}

.notification.blink {
  color: #acd7ff;
}

.text-unread {
  color: #acd7ff;
}

.dropdown-notification-text {
  color: var(--bs-dropdown-link-color);
}

.notification-small {
  font-size: xx-small;
}

a.anchor {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

.clickable {
  cursor: pointer;
}
/* Fix iOS Safari modal backdrop issue */
.modal {
  pointer-events: none;
}

.modal-dialog {
  pointer-events: auto;
}


/* Sidebar styles to match dark theme */
.sidebar{
  background: #212529; /* .bg-dark base */
  color: #aec2c7;
  border-right: 1px solid rgba(255,255,255,.125);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  padding: 1rem;
  min-height: 100vh;
}
.sidebar h6{
  font-size: 1rem;
  font-weight:600;
  margin-top:1rem;
  margin-bottom:.5rem;
  text-transform: uppercase;
  color:#a0c213; /* FS25 green for categories */
}

.list-group-item{
  background: transparent; border:none;
  padding: .35rem 0;
}
.list-group-item a{
  font-size: .9rem; /* slightly smaller than category */
  color: #dee2e6; /* normal light gray for links */
  text-decoration: none;
  display:flex; align-items:center; gap:.5rem;
}
.list-group-item a:hover{ color:#fff; }

/* Content area */
.content{ padding: 1.25rem; color:#e9ecef; }

/* MOBILE ONLY: let the offcanvas body scroll */
@media (max-width: 767.98px) {
  #mobileSidebar .offcanvas-body {
    max-height: calc(100dvh - 56px); /* adjust if your offcanvas-header height differs */
    overflow-y: auto;
  }
}

/* DESKTOP: ensure no forced scroll on the static sidebar */
@media (min-width: 768px) {
  #desktopSidebar,
  #desktopSidebar .offcanvas-body {
    height: auto;
    overflow: visible;
  }
}

/* Remove list-group borders to match dark styling */
#appSidebar .list-group-item {
  border: 0;
}

/* Only affects the menu toggle under the navbar */
.menu-toggle-btn,
.menu-toggle-btn:hover,
.menu-toggle-btn:focus {
  border-radius: 0 !important;
}

#appSidebar .offcanvas-body {
  max-height: calc(100vh - 56px);  /* full viewport minus header */
  overflow-y: auto;
}

#appSidebar {
  height: 100vh; 
  overflow-y: auto;
}

/* Only square off the one toggle button under the navbar */
.menu-toggle-btn,
.menu-toggle-btn:hover,
.menu-toggle-btn:focus { border-radius: 0 !important; }

/* Remove borders in dark sidebars */
#desktopSidebar .list-group-item,
#mobileSidebar  .list-group-item { border: 0; }

/* Active link style */
.sidebar .list-group-item > a.active {
  font-weight: 600;
  color: #acd7ff; /* your brand green */
  text-decoration: none;
}

/* Rotate caret when open */
.sidebar a.open .bi-caret-down-fill {
  transform: rotate(180deg);
  transition: transform .2s ease;
}