html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.container-fluid {
  flex: 1;
}

.car-title {
  color: var(--text-white);
  padding: 7px;
  background-color: var(--primary);
}

.page-details-description {
  padding: 5px 15px;
  line-height: 18px;
}

.images-section {
  flex-grow: 2;
  width: 55%;
}

.detail-section {
  flex-basis: 40%;
  flex-grow: 50;
  padding: 0 15px;
}

.panel-heading {
  padding: 10px;
  background-color: var(--primary);
  border-radius: 5px 5px 0px 0px;
}

.panel-heading h3 {
  margin: 0;
  text-shadow: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
}

.share-btn {
  padding: 0px 8px;
  font-size: 13px;
  background-color: var(--text-white);
  color: var(--dark);
}

.share-btn:hover {
  background-color: var(--dark);
  color: var(--text-white);
}

.tab-content {
  border: 1px solid var(--dark-background);
  border-top: none;
  background-color: var(--light-background);
  border-radius: 0 0 5px 5px;
}

.sh {
  height: 520px;
}

.owl-section-imgs {
    border: 1px solid var(--dark-background);
    background-color: var(--light-background);
    border-radius: 5px;
}

.panel-content {
  width: 100%;
  border-radius: 0 0 4px 4px;
  margin: 10px 13px 5px 13px;
}

.details-label {
  padding: 8px 0 5px 0;
  font-size: 14px;
}

.details-label label {
  font-weight: 400;
  width: fit-content;
  min-width: 38%;
  max-width: 100%;
}

.ubid-label {
  min-width: 22% !important;
}

.details-desc {
  font-weight: 700;
  font-family: "Lato Bold", sans-serif;
  color: #343537;
  width: 100%;
}

.bold {
  color: #6b6a6a;
}

.time-left {
  color: var(--primary);
}

.blink-soft {
  color: var(--primary);
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

#carouselExampleFade img {
  object-fit: cover;
  height: 420px;
  border-radius: 7px;
}

/* Vehicle Information */
.vehicle-info h4 {
  margin-top: -40px;
  padding: 5px 50px;
  background-color: var(--dark);
  color: var(--text-white);
  border-radius: 7px;
}

.vehicle-info {
  background-color: var(--light-background);
  padding: 25px;
  border-radius: 7px;
}

ul {
  padding: 0 !important;
}

.list {
  list-style: none;
}

.list li {
  display: flex;
  width: 100%;
  margin: 0 0 7px;
  padding: 0 0 7px;
  align-items: center;
  justify-content: center;
}

.list li .value {
  margin-left: auto;
  font-weight: 600;
}

.text {
  text-align: center;
  width: 40%;
  padding: 5px 25px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 7px;
}

.text-good {
  text-align: center;
  width: 40%;
  padding: 5px 25px;
  background-color: var(--dark);
  color: var(--text-white);
  border-radius: 7px;
}

/* Quick Contact */
.quick-contact {
  padding: 25px;
  border-radius: 7px;
  background-color: var(--light-background);
}

.quick-contact h4 {
  margin-top: -45px;
  padding: 5px 50px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 7px;
}

.btn-submit {
  color: var(--text-white);
  padding: 5px 30px;
  border: none;
  background-color: var(--primary);
  width: 100%;
}

.btn-submit:hover {
  color: var(--text-white);
  background-color: var(--dark);
}

.btn-buy-now {
  color: var(--text-white);
  padding: 5px 30px;
  border: none;
  background-color: var(--dark);
}

.btn-buy-now:hover {
  color: var(--text-white);
  background-color: var(--primary);
}

/* Description */
.detailed {
  border-radius: 7px;
  background-color: var(--light-background);
}

.nav-pills {
  gap: 150px;
  border: none;
  margin-bottom: 7px;
}

.tab {
  border-radius: 7px !important;
  background-color: var(--dark-background);
  color: var(--text-white);
}

.tab:hover {
  color: var(--text-white);
  background-color: var(--dark);
}

.tab.active {
  background-color: var(--primary) !important;
}

/* Bidding Detail */
.bidding {
  padding: 25px;
  border-radius: 7px;
  background-color: var(--light-background);
}

.bidding-title {
  margin-top: -45px;
  padding: 5px 50px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 7px;
}

.price {
  color: var(--primary);
}

.icons {
  width: 40px;
}

.partner-owl {
  height: 120px !important;
}

/* light-box close btn */
.btn-close:focus {
  outline: 0;
  box-shadow: none;
  opacity: none;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  padding: 10px;
  border-radius: 7px;
  width: 20px;
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
  background-color: var(--primary);
  color: white;
}

.error {
  display: none;
}
.success {
  display: none;
}

#modalOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Transparent black overlay */
  z-index: 9999; /* Ensure it's on top */
}

#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Towing-icon */
.towing-heading {
  padding: 0px !important;
}

.towing-icon {
  width: 100%;
}

.good-detailed {
  padding: 20px 50px 20px 50px;
}


/* New Loader */
.loader-bid {
  --size: 17px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: calc(var(--size) / 2);

  height: calc(var(--size) * 5);
}

.loader-bid div {

  width: var(--size);

  height: var(--size);

  border-radius: var(--size);

  background-color: var(--text-white);
  animation: wave 2s infinite ease-in-out;
}

@keyframes wave {
  25% {
    height: calc(var(--size) * 5);
    background-color: var(--primary);
  }

  50% {
    height: var(--size);
    background-color: var(--dark);
  }
}

.loader-bid :nth-child(2) {
  animation-delay: 0.2s;
}

.loader-bid :nth-child(3) {
  animation-delay: 0.4s;
}

.loader-bid :nth-child(4) {
  animation-delay: 0.6s;
}

.loader-bid :nth-child(5) {
  animation-delay: 0.8s;
}

.please-wait {
  font-size: 12px;
  color: var(--primary);
}

/* Similar Vehicles */
.similar-head {
  font-size: 15px !important;
  color: var(--dark);
  font-weight: bold;
}

.similar-vehicles {
  border: 1px solid var(--dark-background);
  background-color: var(--light-background);
  border-radius: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.progiCars {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  align-content: center;
  gap: 30px;
}

.info-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.popover {
  --bs-popover-max-width: auto !important;
}

.popover-body {
  padding: 0px 12px;
  border-radius: 5px;
}

/* Media Classes */
@media (max-width: 767px) {
  #carouselExampleFade .carousel-inner .carousel-item img {
      height: 400px !important;
      object-fit: contain;
      background-color: var(--light-background);
      border: 1px solid var(--dark-background);
  }
  
  .progiCars {
      justify-content: center;
  }
}

.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
}