body {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.background-img {
  position: absolute;
  top: 0;
  right: -10%;
  width: 700px;
  height: 700px;
  background-image: url("../img/tg-logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .background-img {
    width: 500px;
    height: 500px;
    right: -25%;
    top: 10%;
  }
}

.spinner-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

#loadingSpinner.d-none {
  display: none !important;
}

.form-control {
  height: calc(1.75em + 0.75rem + 2px);
  padding: 0.5rem 0.75rem;
}

/* custom slider */
#sliderCarousel .carousel-inner {
  width: 100%;
  height: 100%;
}

#sliderCarousel .carousel-inner .carousel-item img {
  height: 250px;
}

@media (max-width: 768px) {
  #sliderCarousel .carousel-inner .carousel-item img {
    height: 200px;
  }
}

/* custom scrollbar */
.list-group {
  -ms-overflow-style: none;
  /* Untuk Internet Explorer 10+ */
  scrollbar-width: none;
  /* Untuk Firefox */
  overflow: -moz-scrollbars-none;
  /* Untuk Firefox */
}

.list-group::-webkit-scrollbar {
  display: none;
  /* Untuk Webkit (Chrome, Safari, Opera) */
}
.spinner-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}
#loadingSpinner.d-none {
  display: none !important;
}
.form-control {
  height: calc(1.75em + 0.75rem + 2px);
  padding: 0.5rem 0.75rem;
}
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
