.sel-price {
  background-color: var(--color-secondary) !important;
}

/* skelton csss */

.skeleton-loader .skeleton-card {
  position: relative;
  overflow: hidden;
  background: #e0e0e0 !important;
  /* Fallback color */
  animation: shimmer 1.5s infinite linear;
}

.skeleton-loader .skeleton-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer-slide 1.5s infinite linear;
}

@keyframes shimmer-slide {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* end skelton */




/* Button with spinner styles */
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  color: #545454 !important;
}

.spinner-border {
  vertical-align: middle;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.me-2 {
  margin-right: 0.5rem;
}

/* end button spinner */





.dealer-img {
  height: 118px;
  width: 218px !important;
  position: center;
  text-align: center;
  margin-left: 17%;
  margin-right: auto;
  margin-left: auto;
}

.offer-userlist {
  max-height: 300px;
  overflow-y: auto;
}

input.is-invalid {
  border: 1px solid red !important;
}

input.error {
  border: 1px solid red !important;
}

select.error {
  border: 1px solid red !important;
}

#rejectvalidationText {
  color: red;
  font-size: 16px;
}

#msg_disp {
  display: none
}

.help-block {
  color: #c41d2c;
  font-size: 12px;
  position: relative !important;
}

.is-invalid {
  border-color: #c41d2c !important;
}

.tab_dashborad .nav-link.active h5,
.tab_dashborad .nav-link:hover h5 {
  color: green;
}


#submit_ad {
  margin-top: 10px;
}

/* Base loader styles - keeping your current CSS */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* Added for Safari compatibility */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}


/* car compare */

/* Add these styles to your CSS file */

.compare_table {
  display: flex;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
}

.data_div01 {
  width: 200px;
  background-color: #f8f9fa;
  border-right: 1px solid #e5e5e5;
}

.data_div01 ul,
.data_div02 .slide_box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.data_div01 ul li,
.data_div02 .slide_box ul li {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 500;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.data_div01 ul li:first-child,
.data_div02 .slide_box ul li:first-child {
  min-height: 240px;
}

.data_div02 {
  flex: 1;
  overflow-x: auto;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 300px;
}

.td_image {
  position: relative;
  text-align: center;
  padding: 10px;
}

.td_image .photo {
  width: 200px;
  height: 150px;
  background-size: cover !important;
  background-position: center !important;
  margin: 0 auto 15px;
  border-radius: 5px;
}

.td_image h3 {
  font-size: 16px;
  margin-top: -18px;
  font-weight: 600;
}

.colse_compare {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff0000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.colse_compare:hover {
  background: rgba(255, 0, 0, 0.2);
}

.compare_btn.active i {
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  padding: 7px 7px;
  font-size: 13px;
}

.compare_product {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.compare_product.show {
  transform: translateY(0);
}

.comp_btn {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.comp_btn_full {
  display: flex;
  justify-content: flex-end;
}

.compare_btn01 {
  background-color: #28a745;
  color: white;
}

.compare_btn01.disabled {
  background-color: #6c757d;
  pointer-events: none;
}

.clear_all {
  color: #dc3545;
  cursor: pointer;
  display: flex;
  align-items: center;
}




/* pagination */

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin: 0 2px;
}

.page-link {
  padding: 4px 20px;
  border: 1px solid #dee2e6;
  color: #333;
  text-decoration: none;
  text-align: center
}

.page-item.active .page-link {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
  text-align: center;
  font-size: 14px;
}

.page-item.disabled .page-link {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
  pointer-events: none;

}

.prev-pagination {
  width: 72px;
}


.single-car-item-2 {
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
}

.single-car-item-2:hover {
  background-color: rgba(0, 123, 255, 0.05);
}




.is-invalid {
  color: red;
}

.error {
  color: red;
}


.nodata_div {
  color: #5eb662;
  font-weight: 700;
}


#search_form2 .search_form2 {
  width: 100%;
  border: 0px;
  padding: 0px;
  border-radius: 5px;
  font-size: 16px;
  margin-left: -5px;
  color: #444;
  background: none;
}

#search_form2 .inputBox::after {
  background-color: #fff;
}

#search_form2 {
  margin-top: -10px;
  /* height: 0; */
  opacity: 4.5 !important;
}


@media (max-width: 767px) {
  .data_div01 {
    display: none;
  }

  .data_div02 .slide_box ul li:before {
    content: attr(data-label);
    /* font-weight: bold; */
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #000000;
    text-transform: capitalize;
  }

  .slide_box ul li span {
    font-size: 14px;
  }

  .data_div02 .slide_box ul li {

    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }
}




.add-car-checkbox label {
  cursor: pointer;
  display: flex;
}


#preloader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.car {
  width: 200px;
  height: auto;
  animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {

  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-10px);
  }

  75% {
    transform: translateY(10px);
  }
}

/* loader for likes */

.like_icon {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.loading-like {
  pointer-events: none;
}

.fa-spinner {
  color: #ff6b6b;
  animation: spin 0.8s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.loading-like {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}


/* CSS for both car ad likes and number plate likes */
.like_icon,
.likenumber_plate {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.loading-like {
  pointer-events: none;
}

.fa-spinner {
  color: #ff6b6b;
  animation: spin 0.8s linear infinite;
}


.drop-down {
  position: relative;
  display: inline-block;
}

.mega-menu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
  top: 47px;
}

ul#userContent li {
  margin-bottom: 10px;
}

ul#userContent span {
  padding-left: 10px;
  font-size: 16px;
  font-weight: 800;
}

.drop-down .fa-user:before {
  content: "\f007";
  font-size: 25px;
}

.header-mobile-meta .meta li a {
  font-size: 12px !important;
}

.user-dropdown a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.drop-down a:hover {
  background-color: #ddd;
}

.drop-down .show {
  display: block;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.loading-like {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}


@media screen and (max-width: 575px) {
  .dealer-img {
    height: 65px;
    /* max-width: 105px !important; */
  }

  .agent_slider div.item a {
    padding: 0px;
  }

  .width_20 img {
    width: 100%;
  }

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  a.postad.glow-on-hover {
    position: relative;
    background-color: var(--color-primary);
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 10px;
    margin: 3px;
    margin-left: 3px;
    margin-left: 8px;
    font-size: 16px;
  }

  a.postad img {
    margin-right: 5px;
  }
}


/* pagination csss
 ===================================== */
.custom-pagination .pagination {
  margin-bottom: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
}

.custom-pagination .page-item {
  margin: 0 4px;
  transition: all 0.2s ease;
}

.custom-pagination .page-item:hover {
  transform: scale(1.05);
}

.custom-pagination .page-link {
  color: #333;
  border: none;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  background: #f8f9fa;
  transition: all 0.2s ease;
}

.custom-pagination .page-link:focus {
  box-shadow: 0 0 0 0.15rem rgba(40, 167, 69, 0.2);
  outline: none;
}

.custom-pagination .page-item.active .page-link {
  background: #28a745;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.custom-pagination .page-link:hover {
  background: #28a745;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.custom-pagination .page-item.disabled .page-link {
  color: #ccc;
  background: #f8f9fa;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Style for Previous/Next buttons */
.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
  width: auto;
  padding: 0 12px;
  border-radius: 4px;
  font-weight: 600;
  color: #333;
}

.custom-pagination .page-item:first-child .page-link:hover,
.custom-pagination .page-item:last-child .page-link:hover {
  background: #e9ecef;
  color: #28a745;
}

/* contact us page */

i,
span,
a {
  display: inline-block;
  text-decoration: none;
  font-family: "Cabin", sans-serif;
}

.contact-area {
  padding: 60px 0;
}

.contact-title {
  margin-bottom: 30px;
}

.info-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.single-form input,
.single-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

.main-btn {
  background-color: #5eb662;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
}

.contact-info .contact-title {
  font-size: 30px;
  font-weight: 700;
  font-family: "Cabin", sans-serif;
}

.contact-info-wrapper {
  padding-top: 20px;
}

.single-contact-info {
  margin-top: 50px;
}

.single-contact-info .info-title {
  font-size: 18px;
  font-weight: 700;
  color: #293957;
  font-family: "Cabin", sans-serif;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(41, 57, 87, 0.15);
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.single-contact-info .info-title i {
  float: right;
  display: block;
  color: #737f96;
}

.single-contact-info p {
  font-size: 16px;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  margin: 0px;
}

.single-contact-info p a {
  color: #737f96;
}

.contact-area {
  padding-top: 15px;
  padding-bottom: 120px;
}

.contact-info {
  padding: 0 100px;
}

.contact-form {
  background-color: #f5f6f6;
  border: 1px solid rgba(41, 57, 87, 0.15);
  padding: 100px;
  margin-top: 90px;
}

.contact-form .form-title {
  font-size: 30px;
  font-weight: 700;
  color: #293957;
  font-family: "Cabin", sans-serif;
}

.contact-form .single-form {
  margin-top: 30px;
}

.contact-form .single-form textarea,
.contact-form .single-form input {
  width: 100%;
  height: 45px;
  padding: 0 20px;
  border: 1px solid rgba(41, 57, 87, 0.15);
  color: #293957;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  border-radius: 3px;
}

.contact-form .single-form textarea {
  height: 120px;
  padding-top: 15px;
  resize: none;
}

.contact-form .single-form {
  margin-top: 30px;
}

.form-message {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.field-error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

.main-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input#checkbox1 {
  width: 20px;
  height: 14px;
  margin-bottom: 1px;
}

.single-form {
  display: flex;
  align-items: center;
}

.account_details form .single-form {
    display: unset;
}

#postAdForm .single-form,
#rent-car-form .single-form {
  display: block;
}

.mySwiper {
  margin-top: 12px;
}



/* Header css */

.header-menu {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-mobile-menu {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .custom-pagination .pagination {
    padding: 0px;
    box-shadow: none;
  }

  .custom-pagination .page-link {
    width: 32px;
    height: 32px;
  }

  .page-link {
    padding: 4px 15px;
  }

  #postAdForm #submit_ad {
    margin-top: 0px;
    padding: 10px;
  }

  #postAdForm .single-form {
    display: flex;
  }
}

/* Smaller padding for mobile */
@media (max-width: 1199px) {
  body {
    padding-top: 60px;
  }
}