/* Begin::Header */
#mainmenu li ul {
  width: 220px;
}

header.fixed-top {
  position: fixed;
  top: 0;
}

/* Keep header visible on scroll direction */
header.scroll-down,
header.nav-up {
  margin-top: 0 !important;
}

header {
  z-index: 1100;
}
    
/* End::Header */

/* Begin::Other Services */
.other-service-card {
  transition: all .2s ease-in-out;
}

.other-service-card:hover {
  transform: scale(1.1);
}

/* End::Other Services */

hr {
  margin: 0 !important;
  padding: 0 !important;
}

.form-control {
  border: solid 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, .025);
}

.form-control:focus {
  border: solid 1px rgb(255, 255, 255);
  background: rgba(255, 255, 255, .025);
}

.form-control::placeholder {
  color: #6c757d !important;
}

#car-manufacturing {
    height: 40px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 200px;
}

.mcd-cover-img {
  object-fit: cover;
  object-position: center;
}

.owl-stage {
  display: flex;
  align-items: center;
}

.pdi-subfooter a {
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

.pdi-subfooter a:hover {
  color: white;
}

.select2-container--default .select2-selection--single {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
      line-height: normal !important;
    }
    .profile-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      padding: 0;
    }

    /* Make profile button circular */
    .dropdown-toggle-circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #0d6efd;
      color: white;
      font-size: 20px;
      cursor: pointer;
    }


    .autodetail-filter-bar {
        text-align: center;
    }

    .benefits-list {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .benefits-list .col-md-6 {
        max-width: 250px; /* optional, neat columns */
    }

    .ul-check li {
        list-style: none;
        position: relative;
        padding-left: 20px;
        margin-bottom: 8px;
    }

    .ul-check li::before {
        content: "✔";
        position: absolute;
        left: 0;
        color: #0d6efd;
    }

    /* Begin::Social icons */
    .dark-scheme .social-icons a i {color:#fff !important}
    .dark-scheme .social-icons a.facebook i {background:#1877F2}
    .dark-scheme .social-icons a.instagram i {background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)}
    .dark-scheme .social-icons a.whatsapp i {background:#25D366}
    .dark-scheme .social-icons a.youtube i {background:#FF0000}
    .dark-scheme .social-icons a.linkedin i {background:#0077B5}
    /* End::Social icons */

    @media (max-width: 400px) {
      /* Begin::logo */
      .logo-mobile {
        width: 120px;
      }
      /* End::logo */

      .svg-cart {
        height: 20px;
      }

      .dropdown-toggle-circle {
        height: 32px;
        width: 32px;
      }
    }

/* Ensure mobile-only menu items are hidden by default on desktop */
@media (min-width: 500px) {
  .mobile-only-menu {
    display: none !important;
  }
}

/* Ensure desktop profile dropdown is hidden by default on mobile */
@media (max-width: 499px) {
  /* .desktop-only-profile {
    display: none !important;
  } */
}

/* Begin::Dynamic Selection UI */
.selection-header {
  border-radius: 0;
}

.selection-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.selection-container::-webkit-scrollbar {
  width: 8px;
}

.selection-container::-webkit-scrollbar-track {
  background: transparent;
}

.selection-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.selection-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.selection-card {
  cursor: pointer;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.selection-card img {
  opacity: 0.9;
  transition: all 0.3s;
  background: transparent;
}

.selection-card:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.selection-card.selected {
  border: 2px solid #0d6efd !important;
  background: rgba(13, 110, 253, 0.15) !important;
}

.selection-card.selected img {
  opacity: 1;
}

#selection-search {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

#selection-search:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

#year-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

#year-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

#year-input.is-valid {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

#year-input.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

#year-input.is-invalid {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

#year-input.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#submit-button-container {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selection-item {
  transition: transform 0.2s;
}

.selection-item:hover {
  transform: translateY(-2px);
}

/* End::Dynamic Selection UI */