/* ===== NEW MODERN CARD DESIGN ===== */
.servicebox {
  max-width: 100%;
  padding: 0;
  border-radius: 24px;
  margin-right: 38px;
  display: flex;
  flex-direction: column;
  background: #fff;
  height: auto;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid transparent;
  position: relative;
}

.servicebox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #bd6789 0%, #d084a8 50%, #e4a3c4 100%);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
  z-index: 10;
}

.servicebox:hover::before {
  transform: scaleX(1);
}

.servicebox:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(189, 103, 137, 0.35);
  border-color: #bd6789;
}

.serviceboximg {
  height: 280px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: none;
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, #fef7ed 0%, #fedbea 100%);
}

.serviceboximg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.servicebox:hover .serviceboximg::after {
  opacity: 1;
}

.serviceboximg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicebox:hover .serviceboximg img {
  transform: scale(1.15) rotate(2deg);
}

.servicedetails {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 22px 18px;
  background: #fff;
  gap: 12px;
}

.servicedetails h3 {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 0;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  color: #1a1a1a;
  min-height: 53px;
  transition: color 0.3s ease;
}

.servicebox:hover .servicedetails h3 {
  color: #bd6789;
}

.servicedetails span {
  color: #797979;
  display: block;
  font-size: 14px;
  text-align: center;
}

.no-services-container {
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dee2e6;
}

.no-services-title {
  font-weight: 600;
  font-size: 1.5rem;
}

.no-services-message {
  font-size: 1.1rem;
  line-height: 1.6;
}

.no-services-content {
  max-width: 400px;
  margin: 0 auto;
}

/* Prevent file name overflow */
.uploadimg span,
.choosefiles span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  display: inline-block;
  vertical-align: middle;
}

.file-chip small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  display: inline-block;
}

/* For profile image upload */
.uploadimg {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uploadimg span {
  flex: 1;
  min-width: 0;
  /* Important for text truncation in flex */
}

/* For work images */
.choosefiles {
  display: flex;
  align-items: center;
  gap: 10px;
}

.choosefiles span {
  flex: 1;
  min-width: 0;
}

.profile-container {
  display: block;
}

.profile-buttons {
  margin-top: 15px;
}

.verifytick {
  width: 25px;
  height: 25px;
  /* margin-top: 10px; */
}

/* Mobile Filter Styles */
.mobile-filter-btn-container {
  position: sticky;
  top: 0;
  z-index: 20;
  background: white;
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: center;
}

.mobile-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #bd6789;
  color: white;
  border: none;
  padding: 7px 10px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-filter-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fef7ed 100%);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.mobile-filter-sidebar.active {
  right: 0;
}

.mobile-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%);
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.2);
}

.mobile-filter-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.close-filters {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.close-filters:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-filter-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 15px;
}

.mobile-filter-content::-webkit-scrollbar {
  width: 6px;
}

.mobile-filter-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.mobile-filter-content::-webkit-scrollbar-thumb {
  background: #bd6789;
  border-radius: 10px;
}

.mobile-filter-content .filter-box {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.mobile-filter-content .apply-btn {
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

cursor: pointer;
margin-top: 20px;
}


/* Unique Arrow Styles for Top Work Slider - Mobile Only */
.ourtopworkslider .topwork-prev,
.ourtopworkslider .topwork-next {
  width: 40px;
  height: 40px;
  /* background: white !important; */
  /* border-radius: 50%; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /* border: none; */
  cursor: pointer;
}

.ourtopworkslider .topwork-prev:hover,
.ourtopworkslider .topwork-next:hover {
  background: #f8f9fa !important;
}

.ourtopworkslider .topwork-prev {
  left: 10px !important;
}

.ourtopworkslider .topwork-next {
  right: 10px !important;
}

.ourtopworkslider .topwork-prev:before,
.ourtopworkslider .topwork-next:before {
  display: none !important;
}

.ourtopworkslider .topwork-prev img,
.ourtopworkslider .topwork-next img {
  width: 20px;
  height: 20px;
}

.bookbtns {
  cursor: pointer;
}

/* Add these styles to your CSS */
.daysbox.past-day {
  background-color: #f5f5f5 !important;
  color: #ccc !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed !important;
}

.daysbox.empty-day {
  background-color: transparent !important;
  border-color: transparent !important;
  cursor: default !important;
}

.daysbox.today {
  border-color: #bd6789 !important;
  background-color: #fef2f7 !important;
}

/* Add these styles to your CSS */
.timerboxx.past-time {
  background-color: #f5f5f5 !important;
  color: #ccc !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed !important;
}

.timerboxx.active-time {
  background-color: #bd6789 !important;
  color: white !important;
  border-color: #bd6789 !important;
}

.qrbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Mobile QR & Share Buttons */
/* Mobile QR & Share Buttons */
.qrbtn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sharebtn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.qrbtn-mobile:hover,
.sharebtn-mobile:hover {
  background-color: #e9ecef;
  transform: scale(1.05);
}

.adresstype a.active {
  background-color: #bd6789;
  /* Change to your desired color */
  color: white;
  border-color: #bd6789;
}

.addressradio input[type="radio"]:checked+label .circleradio {
  border-color: #bd6789;
}

.addressradio input[type="radio"]:checked+label .circleradio span {
  background-color: #bd6789;
  transform: scale(1);
}

.circleradio {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.circleradio span {
  width: 10px;
  height: 10px;
  background-color: transparent;
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.3s ease;
}

/* Ensure the label is properly aligned */
.addressradio label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
}

.addressinner {
  flex: 1;
}

/* Payment Gateway Styles */
.payment-gateways {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.payment-logo {
  height: 24px;
  width: auto;
}

/* Increase size for specific logos */
.payment-logo[alt="Apple Pay"],
.payment-logo[alt="Tamara"] {
  height: 42px;
  /* Increased from 24px to 32px */
}

.payment-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.payment-text h6 {
  font-size: 14px;
  font-weight: 600;
}

.back-btn-arrow img {
  margin-right: auto;
}

/* Add these styles to your CSS file */

.clear-filters-btn {
  background-color: transparent;
  border-color: #bc6896;
  color: #bc6896;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.clear-filters-btn:hover {
  background-color: #bc6896;
  color: #fff;
}

.profilebtns-outline {
  background-color: transparent;
  border: 2px solid #bd6789;
  color: #bd6789;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.profilebtns-outline:hover {
  background-color: #bd6789;
  color: #fff;
}

.profilebtns-outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .payment-gateways {
    justify-content: center;
    gap: 12px;
  }

  .payment-logo {
    height: 20px;
  }

  /* Increase size for specific logos on mobile */
  .payment-logo[alt="Apple Pay"],
  .payment-logo[alt="Tamara"] {
    height: 36px;
    /* Increased from 20px to 26px */
  }

  .payment-text {
    text-align: center;
  }

  .payment-text h6 {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .payment-gateways {
    gap: 8px;
  }

  .payment-logo {
    height: 18px;
  }

  /* Increase size for specific logos on small mobile */
  .payment-logo[alt="Apple Pay"],
  .payment-logo[alt="Tamara"] {
    height: 36px;
    /* Increased from 18px to 22px */
  }
}

/* Hide desktop buttons on mobile */
@media (max-width: 767.98px) {
  .provideprofile .d-flex.align-items-center.justify-content-center {
    display: none !important;
  }
}

/* Mobile-only max-width */
@media (max-width: 767.98px) {
  .whychoosebox-mobile {
    max-width: 85% !important;
  }

  .joinus {
    padding: 10px;
    padding-top: 0px !important;
    padding-bottom: 60px;
  }

  .profileimgg {
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 250px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    /* Maintain square aspect ratio */
    border-radius: 50% !important;
    margin: 0 auto 20px auto !important;
    /* Center the circle */
  }

  .profileimgg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin-bottom: 5px;
    border-radius: 50% !important;
  }
}

@media (max-width: 768px) {
  .joinuscontent h1 {
    font-weight: 400;
    color: #0a142f;
    font-size: 40px !important;
    /* text-transform: uppercase; */
    /* margin: 20px 0 30px; */
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 44px;
  }

  .serviceboximg {
    width: 130px !important;
    height: 130px !important;
  }

  .serviceboximg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .verifytick {
    width: 15px;
    height: 15px;
    margin-left: 0;
    /* margin-top: 5px; */
  }

  .ourtopworkslider .topwork-prev,
  .ourtopworkslider .topwork-next {
    width: 30px;
    height: 30px;
  }

  .ourtopworkslider .topwork-prev {
    left: -8px !important;
  }

  .ourtopworkslider .topwork-next {
    right: -8px !important;
  }

  .ourtopworkslider .topwork-prev img,
  .ourtopworkslider .topwork-next img {
    width: 12px;
    height: 12px;
  }

}

@media(max-width: 380px) {

  .serviceboximg {
    width: 190px !important;
    height: 190px !important;
  }

  .providename {
    font-size: 15px !important;
  }

  .verifytick {
    width: 12px;
    height: 12px;
    margin-left: 0;
    margin-top: 5px;
  }

}


/* Hide arrows on desktop */
@media (min-width: 769px) {

  .ourtopworkslider .topwork-prev,
  .ourtopworkslider .topwork-next {
    display: none !important;
  }

  .mobile-filter-btn-container {
    display: none;
  }
}

/* Responsive adjustments for mobile filters */
@media (max-width: 480px) {
  .mobile-filter-sidebar {
    width: 90%;
  }

  .mobile-filter-header {
    padding: 15px;
  }

  .mobile-filter-content {
    padding: 15px;
  }
}

@media (min-width: 767.98px) {

  /* .mobile-banner-text {
    margin-top: 50px !important;
    padding-top: 30px !important;
  } */
  .bannerpart .container {
    display: flex;
    align-items: flex-end;
    min-height: 400px;
  }
}

@media (max-width: 767.98px) {

  /* .mobile-banner-text {
    margin-top: 50px !important;
    padding-top: 30px !important;
  } */
  .bannerpart .container {
    display: flex;
    align-items: flex-end;
    min-height: 100px;
  }

  .custom-mobile-mb {
    margin-bottom: 0 !important;
  }
}

.certificate-img {
  max-width: 100%;
  width: 170px;
  height: auto;
  /* transition: transform 0.3s ease; */
}


/* Mobile specific styles */
@media (max-width: 767.98px) {
  .certificate-img {
    width: 150px !important;
  }
}

/* Desktop specific styles */
/* @media (min-width: 768px) {
  .certificate-img {
    width: 60px !important;
  } */
/* } */

/* ===== VENDORS GRID - NEW MODERN DESIGN ===== */
.vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  padding: 35px 0;
}

.vendors-grid-container {
  width: 100%;
}

/* ===== GRID ITEM CARD - COMPLETELY NEW DESIGN ===== */
.servicebox.grid-item {
  padding: 0;
  border-radius: 24px;
  margin: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  border: 3px solid transparent;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
}

/* Top gradient bar that appears on hover */
.servicebox.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #bd6789 0%, #d084a8 50%, #e4a3c4 100%);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
  z-index: 10;
}

.servicebox.grid-item:hover::before {
  transform: scaleX(1);
}

.servicebox.grid-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(189, 103, 137, 0.35);
  border-color: #bd6789;
}

/* ===== SQUARE IMAGE - COMPLETELY NEW ===== */
.serviceboximg.square-image {
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  overflow: hidden;
  margin: 20px auto 10px !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #fef7ed 0%, #fedbea 100%);
}

.serviceboximg.square-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicebox.grid-item:hover .serviceboximg.square-image img {
  transform: scale(1.1);
}

/* Text styling with proper wrapping */
.servicedetails {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== VENDOR INFO SECTION - STACKED LAYOUT ===== */
.vendor-info-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

/* ===== VENDOR CITIES ROW ===== */
.vendor-cities-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vendor-cities {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: linear-gradient(135deg, rgba(189, 103, 137, 0.12) 0%, rgba(208, 132, 168, 0.08) 100%);
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  transition: all 0.4s ease;
  border: 1.5px solid transparent;
}

.servicebox:hover .vendor-cities {
  background: linear-gradient(135deg, rgba(189, 103, 137, 0.2) 0%, rgba(208, 132, 168, 0.15) 100%);
  color: #bd6789;
  border-color: rgba(189, 103, 137, 0.3);
  transform: scale(1.05);
}

/* ===== VENDOR RATING ROW ===== */
.vendor-rating-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== VENDOR PRICE ROW ===== */
.vendor-price-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

/* ===== RATING BADGE - IMPROVED TO PREVENT TEXT CUTOFF ===== */
.rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #fffbf0 0%, #fff5e1 100%);
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(189, 103, 137, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #f9e5c9;
  min-width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
}

.servicebox:hover .rating-badge {
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(189, 103, 137, 0.4);
  border-color: #bd6789;
}

.rating-star {
  width: 16px;
  height: 16px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.servicebox:hover .rating-star {
  filter: brightness(0) invert(1);
  transform: rotate(144deg) scale(1.2);
}

.rating-text {
  font-weight: 800;
  font-size: 14px;
  color: #2c2c2c;
  transition: color 0.3s ease;
  line-height: 1;
  white-space: nowrap;
}

.servicebox:hover .rating-text {
  color: #fff;
}

.rating-text-new {
  font-weight: 700;
  font-size: 12px;
  color: #bd6789;
  white-space: nowrap;
  transition: color 0.3s ease;
  overflow: visible;
  text-overflow: clip;
}

.servicebox:hover .rating-text-new {
  color: #fff;
}

/* ===== PRICE - NEW DESIGN ===== */
.priceeservice {
  margin-top: 12px;
  font-weight: 800;
  font-size: 24px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(189, 103, 137, 0.15) 0%, rgba(208, 132, 168, 0.1) 100%);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2.5px solid transparent;
  color: #A3377E;
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.15);
}

.servicebox:hover .priceeservice {
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%);
  color: #fff !important;
  transform: scale(1.1);
  border-color: #fff;
  box-shadow: 0 8px 20px rgba(189, 103, 137, 0.45);
}

.priceeservice img {
  width: 26px;
  height: 26px;
  transition: all 0.4s ease;
}

.servicebox:hover .priceeservice img {
  filter: brightness(0) invert(1);
  transform: rotate(360deg);
}

/* ===== VENDOR NAME - NEW DESIGN ===== */
.vendor-name {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.3;
  min-height: 50px;
  max-height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #1a1a1a;
  text-align: center;
  transition: all 0.3s ease;
}

.servicebox:hover .vendor-name {
  color: #bd6789;
  transform: scale(1.02);
}

.vendor-name.single-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vendor-cities {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
  height: 30px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Rating styling */
.servicedetails .d-flex {
  margin-bottom: 6px;
}

.rating-star {
  width: 14px;
  height: 14px;
}

.rating-text {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

/* Mobile-specific adjustments - Much smaller and compact */
@media (max-width: 768px) {
  .vendors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px 0;
  }

  .servicebox.grid-item {
    padding: 6px 4px;
    min-height: 110px;
    border-radius: 6px;
  }

  /* .serviceboximg.square-image {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 4px;
    border-radius: 4px;
    
  display: flex;
  justify-content: center;
  }
  
  .serviceboximg.square-image img {
    border-radius: 4px;
  } */

  .serviceboximg.square-image {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 4px;
    border-radius: 50%;
    /* Changed from 4px to 50% */
    display: flex;
    justify-content: center;
  }

  .serviceboximg.square-image img {
    border-radius: 50%;
    /* Changed from 4px to 50% */
  }

  .vendor-name {
    font-size: 9px;
    height: 20px;
    margin-bottom: 3px;
    line-height: 1.1;
    font-weight: 500;
  }

  .vendor-cities {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }

  .vendor-cities-container {
    max-width: 80px !important;
  }

  .servicedetails .d-flex {
    margin-bottom: 3px;
    gap: 2px;
  }

  .rating-star {
    width: 8px;
    height: 8px;
  }

  .rating-text {
    font-size: 8px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .vendors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 4px 0;
  }

  .servicebox.grid-item {
    padding: 3px 1px;
    min-height: 100px;
    border-radius: 5px;
  }

  /* .serviceboximg.square-image {
    width: 140px !important;
    height: 140px !important;
    margin-bottom: 3px;
    border-radius: 3px;
    
  display: flex;
  justify-content: center;
  }
   */
  .serviceboximg.square-image {
    width: 140px !important;
    height: 140px !important;
    margin-bottom: 3px;
    border-radius: 50%;
    /* Changed from 3px to 50% */
    display: flex;
    justify-content: center;
  }

  .vendor-name {
    font-size: 6px;
    height: 30px;
    margin-bottom: 2px;
  }

  /* .vendor-cities {
    font-size: 7px;
    height: 14px;
  } */

  .vendor-cities {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }

  .vendor-cities-container {
    max-width: 70px !important;
  }

  .servicedetails .d-flex {
    margin-bottom: 2px;
    gap: 1px;
  }

  .rating-star {
    width: 7px;
    height: 7px;
  }

  .rating-text {
    font-size: 7px;
  }
}

/* Small mobile devices (iPhone SE etc) */
@media (max-width: 375px) {
  .vendors-grid {
    gap: 3px;
  }

  .servicebox.grid-item {
    padding: 4px 2px;
    min-height: 95px;
  }

  /* .serviceboximg.square-image {
    width: 100px !important;
    height: 100px  !important;
    
  display: flex;
  justify-content: center;
  } */

  .serviceboximg.square-image {
    width: 100px !important;
    height: 100px !important;
    display: flex;
    justify-content: center;
  }

  .vendor-name {
    font-size: 7px;
    height: 30px;
  }

  .vendor-cities {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }

  .vendor-cities-container {
    max-width: 60px !important;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .vendors-grid {
    gap: 10px;
  }

  .servicebox.grid-item {
    padding: 12px 8px;
    min-height: 160px;
  }

  /* .serviceboximg.square-image {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
  }
   */

  .serviceboximg.square-image {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
  }

  .vendor-name {
    font-size: 12px;
    height: 28px;
  }

  .vendor-cities {
    font-size: 10px;
    height: 24px;
  }

  .rating-star {
    width: 12px;
    height: 12px;
  }

  .rating-text {
    font-size: 11px;
  }
}

/* Desktop adjustments */
@media (min-width: 1025px) {
  /* .vendors-grid {
    gap: 15px;
  } */

  .vendors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px 0;
  }

  .servicebox.grid-item {
    padding: 18px 12px;
    min-height: 200px;
  }

  /* .serviceboximg.square-image {
    width: 220px !important;
    height: 220px !important;
    margin-bottom: 12px;
  }
   */

  .serviceboximg.square-image {
    width: 220px !important;
    height: 220px !important;
    margin-bottom: 12px;
  }

  .vendor-name {
    font-size: 15px;
    height: 36px;
  }

  .vendor-cities {
    font-size: 12px;
    height: 32px;
  }

  .rating-star {
    width: 16px;
    height: 16px;
  }

  .rating-text {
    font-size: 13px;
  }
}

/* Large desktop */
@media (min-width: 1440px) {
  .vendors-grid {
    gap: 20px;
  }

  .servicebox.grid-item {
    padding: 20px 15px;
    min-height: 220px;
  }

  /* .serviceboximg.square-image {
    width: 220px !important;
    height: 220px !important;
    margin-bottom: 15px;
    
  } */

  .serviceboximg.square-image {
    width: 220px !important;
    height: 220px !important;
    margin-bottom: 15px;
  }

  .vendor-name {
    font-size: 16px;
    height: 40px;
  }

  .vendor-cities {
    font-size: 13px;
    height: 36px;
  }
}

/* Ensure consistent card widths and prevent overflow */
.servicebox.grid-item {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

/* Loading state */
.text-center .spinner-border {
  width: 2.5rem;
  height: 2.5rem;
}

/* No results message */
.text-center p {
  color: #666;
  font-size: 14px;
  /* padding: 20px 0; */
}

/* Section headings adjustment for mobile */
@media (max-width: 768px) {
  .smhead h2 {
    font-size: 18px !important;
    /* margin-bottom: 5px !important; */
  }

  .headimg {
    max-width: 20px !important;
    margin-left: 5px !important;
  }

  .row.py-5.px-5 {
    padding: 20px 15px !important;
  }
}

@media (max-width: 768px) {
  .mobile-star-align {
    align-items: center !important;
  }

  /* If the star image itself has alignment issues */
  .headimg {
    vertical-align: middle;
    margin-top: -10px;
    /* Adjust this value as needed */
  }
}

.vendor-name.single-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  display: block;
  margin: 0 auto;
}

/* Remove the conflicting display properties */
.vendor-name.single-line {
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

/* Social Icons Styling */
.social-icons-container {
  display: flex;
}

.socialicons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 auto;
}

.socialicons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socialicons img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Desktop specific social icons */
@media (min-width: 992px) {
  .social-icons-container {
    justify-content: flex-start;
  }

  .socialicons {
    margin: 0;
  }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .social-icons-container {
    justify-content: center;
    width: 100%;

  }

  .socialicons {
    gap: 25px;
    margin: 0 auto;
  }

  /* .socialicons img {
    width: 28px;
    height: 28px;
  } */
}

/* Small mobile devices */
@media (max-width: 480px) {
  .social-icons-container {
    width: 100%;
  }

  .socialicons {
    gap: 20px;
    margin: 0 auto;

  }

  /* .socialicons img {
    width: 24px;
    height: 24px;
  } */
}

/* Tablet devices (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .d-none.d-lg-block.mb-3.text-center.text-lg-start {
    margin-bottom: 1.25rem !important;
  }

  .social-icons-container.d-flex.justify-content-center.justify-content-lg-start.mb-3 {
    margin-top: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .footer-tagline {
    line-height: 1.5 !important;
    font-size: 0.95rem !important;
  }
}

/* Desktop devices (992px and up) */
@media (min-width: 992px) {
  .d-none.d-lg-block.mb-3.text-center.text-lg-start {
    margin-bottom: 1.5rem !important;
  }

  .social-icons-container.d-flex.justify-content-center.justify-content-lg-start.mb-3 {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .footer-tagline {
    line-height: 1.6 !important;
    font-size: 1rem !important;
  }

  /* Left-align content on desktop */
  .social-icons-container {
    justify-content: flex-start !important;
    margin-left: 3rem !important;
  }

  .socialicons {
    margin: 0 !important;
  }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
  .d-none.d-lg-block.mb-3.text-center.text-lg-start {
    margin-bottom: 1.75rem !important;
  }

  .social-icons-container.d-flex.justify-content-center.justify-content-lg-start.mb-3 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.75rem !important;
  }

  .footer-tagline {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
  }
}

/* Simple Sort Section Styles */
.sort-section {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.sort-box {
  padding: 15px;
  background: #fff;
}

.sort-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sort-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sort-option input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #bd6789;
}

/* Mobile Filter Button Container */
.mobile-filter-btn-container {
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  width: 100%;
}

.custom-gap {
  gap: 1.5rem;
}

.mobile-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #fff 0%, #fef7ed 100%);
  border: 2px solid #bd6789;
  border-radius: 12px;
  font-weight: 700;
  color: #bd6789;
  font-size: 14px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(189, 103, 137, 0.15);
}

.mobile-filter-btn:hover {
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.3);
  transform: translateY(-2px);
}

.mobile-filter-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(189, 103, 137, 0.2);
}

.mobile-filter-btn img {
  transition: filter 0.3s ease;
}

.mobile-filter-btn:hover img {
  filter: brightness(0) invert(1);
}

/* Mobile Sort Sidebar - matching filter sidebar style */
.mobile-sort-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fef7ed 100%);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.mobile-sort-sidebar.active {
  right: 0;
}

.mobile-sort-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%);
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.2);
}

.mobile-sort-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.close-sort {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.close-sort:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-sort-content {
  padding: 20px 15px;
  height: calc(100% - 80px);
  overflow-y: auto;
}

.mobile-sort-content::-webkit-scrollbar {
  width: 6px;
}

.mobile-sort-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.mobile-sort-content::-webkit-scrollbar-thumb {
  background: #bd6789;
  border-radius: 10px;
}

/* Sort options styling to match filter options */
.sort-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sort-option:hover {
  background-color: #f8f9fa;
}

.sort-option input[type="checkbox"] {
  margin: 0;
}

/* Overlay for both filter and sort */
.mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.close-sort {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.mobile-sort-content {
  padding: 1rem;
  height: calc(100% - 60px);
  overflow-y: auto;
}

/* Sort options styling to match filter options */
.sort-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sort-option:hover {
  background-color: #f8f9fa;
}

.sort-option input[type="checkbox"] {
  margin: 0;
}

/* Overlay for both filter and sort */
.mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Accordion Styles - Simple Working Version */
/* Accordion Styles - Simple Working Version */
.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  width: 100%;
  padding: 15px 0;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 0 15px;
}

.accordion-content.show {
  display: block;
  padding: 15px;
}

.arrow img {
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow img {
  transform: rotate(180deg);
}

/* Mobile Sort Sidebar */
.mobile-sort-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sort-sidebar.active {
  right: 0;
}

.mobile-sort-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.close-sort {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.mobile-sort-content {
  padding: 1rem;
  height: calc(100% - 60px);
  overflow-y: auto;
}

/* Sort options styling */
.sort-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  cursor: pointer;
}

.sort-option input[type="checkbox"] {
  margin: 0;
}

/* Overlay for both filter and sort */
.mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Mobile Filter Button Container */
.mobile-filter-btn-container {
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
}

.mobile-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

/* Filter Checkbox Styles */
.filter-box .accordion-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.filter-box .accordion-content label:last-child {
  border-bottom: none;
}

.filter-box .accordion-content label:hover {
  background-color: #f8f9fa;
  padding-left: 8px;
  border-radius: 4px;
}

/* Custom Checkbox Styles */
.filter-box .accordion-content input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.filter-box .accordion-content input[type="checkbox"]:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.filter-box .accordion-content input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 12px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.filter-box .accordion-content input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Sort Options Checkbox Styles */
.sort-options .sort-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.sort-options .sort-option:last-child {
  border-bottom: none;
}

.sort-options .sort-option:hover {
  background-color: #f8f9fa;
  padding-left: 8px;
  border-radius: 4px;
}

.sort-options input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sort-options input[type="checkbox"]:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.sort-options input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Mobile Filter Styles */
.mobile-filter-sidebar .accordion-content label,
.mobile-sort-sidebar .sort-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  margin: 0;
}

.mobile-filter-sidebar .accordion-content label:last-child,
.mobile-sort-sidebar .sort-option:last-child {
  border-bottom: none;
}

/* Ensure proper spacing in accordion content */
.accordion-content {
  padding: 15px;
  background-color: #fafafa;
  border-radius: 0 0 8px 8px;
}

.accordion-content label {
  margin-bottom: 0;
  font-size: 14px;
  color: #333;
}

/* Date input styling */
.accordion-content .form-control {
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
}

/* Apply and Clear buttons */
.apply-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 15px;
}

.apply-btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.clear-filters-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 15px;
}

.clear-filters-btn:hover {
  background-color: #545b62;
  transform: translateY(-1px);
}

/* Accordion header styles */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
  background-color: white;
  border: none;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background-color: #f8f9fa;
}

.accordion-header.active {
  background-color: #e9ecef;
}

.accordion-header .arrow img {
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow img {
  transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .mobile-filter-sidebar .accordion-content,
  .mobile-sort-sidebar .sort-options {
    padding: 10px;
  }

  .mobile-filter-sidebar .accordion-content label,
  .mobile-sort-sidebar .sort-option {
    padding: 10px 0;
    font-size: 16px;
    /* Larger touch targets on mobile */
  }

  .mobile-filter-sidebar input[type="checkbox"],
  .mobile-sort-sidebar input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
}

.image-container {
  position: relative;
  display: inline-block;
}

.image-container.editable:hover .image-overlay {
  opacity: 1;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.image-overlay span {
  font-size: 12px;
  font-weight: bold;
}

.document-card {
  transition: all 0.3s ease;
  background: #fafafa;
}

.document-card:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.document-item {
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.document-item:hover {
  background: #e9ecef;
}

.viewdocuments {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.viewdocuments:hover {
  color: #0056b3;
  text-decoration: underline;
}

.document-icon-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.document-icon-card:hover {
  background: #e9ecef;
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.document-icon-card:active {
  transform: translateY(0);
}

.document-pdf-icon {
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  position: relative;
}

.document-pdf-icon:hover {
  background-color: #f8f9fa;
  border-color: #007bff;
  transform: translateY(-2px);
}

.cursor-pointer {
  cursor: pointer;
}

/* Hide file input */
input[type="file"] {
  display: none;
}

/* Booking Summary Styles */
.bookingsummrybox {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  max-width: 100%;
}

.section-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #bd6789;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.service-thumbnail {
  border: 2px solid #f0f0f0;
  flex-shrink: 0;
}

.datetime-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.price-details {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.total-amount {
  border-top: 2px solid #dee2e6;
  padding-top: 12px;
  margin-top: 12px;
}

.bookbtns {
  background: #bd6789;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}

.bookbtns:hover:not(:disabled) {
  background: #a55678;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.3);
}

.bookbtns:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.gifttbn {
  transition: transform 0.3s ease;
  display: inline-block;
}

.gifttbn:hover {
  transform: scale(1.1);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .bookingsummrybox {
    padding: 16px;
    margin: 0 10px;
  }

  .service-info {
    text-align: center;
  }

  .service-thumbnail {
    margin: 0 auto 12px auto;
    width: 70px !important;
    height: 70px !important;
  }

  .datetime-info,
  .price-details {
    padding: 12px;
  }

  .section-title {
    font-size: 15px;
  }

  h3.mb-4 {
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 576px) {
  .bookingsummrybox {
    padding: 12px;
    border-radius: 8px;
  }

  .service-text h6 {
    font-size: 14px;
  }

  .service-text .small {
    font-size: 12px;
  }

  .datetime-info,
  .price-details {
    padding: 10px;
  }

  .bookbtns {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-outline-secondary {
    padding: 10px 16px;
    font-size: 14px;
  }

  .total-amount span.fs-5 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 400px) {
  .bookingsummrybox {
    padding: 10px;
  }

  .service-thumbnail {
    width: 60px !important;
    height: 60px !important;
  }

  .datetime-info,
  .price-details {
    padding: 8px;
    font-size: 14px;
  }

  .bookbtns,
  .btn-outline-secondary {
    width: 100%;
    margin-bottom: 8px;
  }

  .action-buttons-section .productdetilbotm {
    gap: 12px;
  }
}

/* Calendar Mobile Responsiveness */
@media (max-width: 768px) {
  .calenderbox {
    overflow-x: auto;
  }

  .weeksrow,
  .daysrow {
    min-width: 400px;
  }

  .daynames,
  .daysbox {
    min-width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .time-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .time-slot {
    padding: 10px 6px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {

  .weeksrow,
  .daysrow {
    min-width: 350px;
  }

  .daynames,
  .daysbox {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .time-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .time-slot {
    padding: 8px 4px;
    font-size: 12px;
  }

  /* Form elements */
  .form-group.col-md-5 {
    margin-bottom: 1rem !important;
  }

  .form-select {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Container padding adjustment for mobile */
@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  #booking-section .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  #booking-section .col-md-12 {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 576px) {
  .datetimeboxx {
    flex-direction: column;
    min-height: auto;
    padding: 8px 10px;
    gap: 4px;
    text-align: center;
  }

  .datetimeboxx span {
    width: 100%;
  }
}

/* For medium screens */
@media (max-width: 768px) {
  .datetimeboxx {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* Additional compact styles */
.producttable table {
  font-size: 0.875rem;
}

.producttable th {
  font-size: 0.8rem;
  font-weight: 600;
}

.producttable td {
  vertical-align: middle;
}

/* Text truncation for service names */
.min-width-0 {
  min-width: 0;
}

.tableservicename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

/* For mobile */
@media (max-width: 768px) {
  .producttable table {
    min-width: 500px !important;
  }

  .tableprofile {
    width: 40px !important;
    height: 40px !important;
  }

  .tableservicename {
    font-size: 0.8rem !important;
    max-width: 130px;
  }

  .producttable img[alt="AED"] {
    width: 14px !important;
    height: 14px !important;
  }

  .badge {
    font-size: 0.6rem !important;
    padding: 1px 3px !important;
  }
}

@media (max-width: 576px) {
  .producttable table {
    min-width: 450px !important;
  }

  .tableprofile {
    width: 35px !important;
    height: 35px !important;
  }

  .tableservicename {
    font-size: 0.75rem !important;
    max-width: 110px;
  }

  .producttable td,
  .producttable th {
    padding: 0.25rem 0.5rem !important;
  }
}

/* Footer RTL Padding Adjustments Only */
[dir="rtl"] .justify-content-lg-start {
  justify-content: flex-end !important;
}

/* [dir="rtl"] .text-lg-start {
  text-align: right !important;
} */

/* Keep everything else exactly the same */
[dir="rtl"] .footermain {
  text-align: right;
}

[dir="rtl"] .mapbox span {
  margin-left: 10px;
  margin-right: 0;
}

[dir="rtl"] .walletbox {
  text-align: right;
}

[dir="rtl"] .walletbox span {
  left: 20px;
  right: auto;
}

/* LTR Styles */
[dir="ltr"] .amoutwithdraw a {
  flex-direction: row;
  gap: 8px;
}

/* RTL Styles */
[dir="rtl"] .amoutwithdraw a {
  gap: 8px;
}

[dir="ltr"] .dropbutton {
  gap: 8px;
}

/* RTL Styles */
[dir="rtl"] .dropbutton {
  gap: 8px;
}

[dir="rtl"] .eyebtn {
  right: auto;
  left: 14px;
}

[dir="rtl"] .profilesidebar a {
  gap: 10px;
}

[dir="rtl"] .Calendarbtn {
  gap: 10px
}

[dir="rtl"] .staffbtns a:last-child {
  margin-right: 10px;
}

.google-maps-component {
  position: relative;
}

.search-section {
  position: relative;
}

.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: -1px;
}

.search-result-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

.search-result-item:last-child {
  border-bottom: none;
}

.map-section {
  position: relative;
  min-height: 200px;
}

.map-loading-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
}

.selected-location-details {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.selected-location-details h6 {
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 8px;
}

.font-monospace {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  border-radius: 8px;
}

.quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-instructions {
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-section .input-group {
    flex-direction: column;
  }

  .search-section .input-group input {
    border-radius: 8px 8px 0 0;
  }

  .search-section .input-group button {
    border-radius: 0 0 8px 8px;
    width: 100%;
  }

  .quick-actions {
    flex-direction: column;
  }

  .quick-actions button {
    width: 100%;
  }
}

.pac-container {
  z-index: 9999 !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
}

.pac-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
}

.pac-item:hover {
  background-color: #f5f5f5;
}

.pac-item-selected {
  background-color: #e8f0fe;
}

.pac-icon {
  margin-right: 8px;
}

.input-group {
  position: relative;
}

.map-loading {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.add-money-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #bd6789;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  color: white;
  border: none;
  gap: 8px;
  /* style={{ background: '#BC6896', border: 'none', padding: 0, cursor: 'pointer' }} */
}

/* Wallet.css */

/* Add Money Button */
.wallet-action-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.wallet-action-btn:hover img {
  opacity: 0.8;
}

/* Modal Styles */
.add-money-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
}

.add-money-modal {
  width: 100%;
  max-width: 500px;
}

.add-money-modal-content {
  background: white;
  border-radius: 10px;
  border: none;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.add-money-modal-header {
  background: linear-gradient(135deg, #FFF5F7 0%, #FFEBEF 100%);
  border-bottom: 1px solid #FFD1DC;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.add-money-modal-title {
  font-weight: 600;
  /* color: #D81B60; */
  margin: 0;
  font-size: 18px;
}

.add-money-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  /* color: #D81B60; */
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.add-money-modal-close:hover {
  background: rgba(216, 27, 96, 0.1);
}

.add-money-modal-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.add-money-modal-body {
  padding: 25px;
}

/* Amount Selection Section */
.amount-selection-section {
  margin-bottom: 25px;
}

.amount-selection-label {
  font-weight: 500;
  margin-bottom: 15px;
  color: #333;
  font-size: 16px;
  display: block;
}

.amount-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.amount-btn {
  width: 100%;
  padding: 12px 5px;
  border: 1px solid #FFD1DC;
  border-radius: 8px;
  background: white;
  color: #333;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover:not(:disabled) {
  border-color: #bd6789;
  color: #bd6789;
}

.amount-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.amount-btn-selected {
  border: 2px solid #bd6789;
  background: #FFF5F7;
  color: #bd6789;
  font-weight: 600;
}

/* Custom Amount Section */
.custom-amount-section {
  margin-bottom: 25px;
}

.custom-amount-label {
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
  display: block;
}

.custom-amount-input-group {
  display: flex;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #FFD1DC;
}

.custom-amount-currency {
  background: #FFF5F7;
  border: none;
  border-right: 1px solid #FFD1DC;
  padding: 0 15px;
  display: flex;
  align-items: center;
  /* color: #D81B60; */
  font-weight: 500;
  font-size: 14px;
}

.custom-amount-input {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 14px;
  color: #333;
  outline: none;
  background: white;
}

.custom-amount-input:disabled {
  background: #f8f9fa;
  color: #666;
}

.custom-amount-input::placeholder {
  color: #999;
}

/* Payment Error Alert */
.payment-error-alert {
  background: #FFF5F5;
  border: 1px solid #FED7D7;
  color: #C53030;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Balance Info Alert
.balance-info-alert {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  color: #1E40AF;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.balance-info-alert strong {
  color: #1E40AF;
}

.balance-info-alert small {
  color: #4B5563;
  font-size: 12px;
} */
/* Balance Info Alert - Pink Theme */
.balance-info-alert {
  background: #FDF2F8;
  /* Light pink background */
  border: 1px solid #FBCFE8;
  /* Light pink border */
  /* Dark pink text */
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.5;
}


/* .balance-info-alert small {
  color: #BE185D;
  font-size: 12px;
} */

/* Modal Actions */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-cancel-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #FFD1DC;
  color: #666;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.modal-cancel-btn:hover:not(:disabled) {
  background: #FFF5F7;
  border-color: #FF6B9D;
  color: #FF6B9D;
}

.modal-cancel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-proceed-btn {
  padding: 12px 24px;
  background: #bd6789;
  border: 2px solid #bd6789;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  min-width: 150px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}


.modal-proceed-btn:disabled {
  background: #FFB8D8;
  border-color: #FFB8D8;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Payment Spinner */
.payment-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 576px) {
  .add-money-modal {
    margin: 0 15px;
  }

  .amount-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-cancel-btn,
  .modal-proceed-btn {
    width: 100%;
    min-width: unset;
  }
}

/* PaymentResult.css */

.payment-result-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.payment-result-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-result-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.payment-result-header.success .success-icon {
  animation: scaleIn 0.5s ease;
}

.payment-result-header.failed .failed-icon {
  animation: shake 0.5s ease;
}

.payment-result-header.processing .processing-icon {
  animation: rotate 2s linear infinite;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shake {

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

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

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

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

  to {
    transform: rotate(360deg);
  }
}

.payment-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-item:first-child {
  padding-top: 0;
}

.detail-label {
  color: #6c757d;
  font-weight: 500;
  font-size: 14px;
}

.detail-value {
  color: #212529;
  font-weight: 600;
  font-size: 14px;
}

.detail-value.status-success {
  color: #4CAF50;
}

.detail-value.status-failed {
  color: #F44336;
}

.payment-result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-result-actions .btn {
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.payment-result-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.payment-result-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.payment-result-actions .btn-outline-secondary {
  border: 2px solid #dee2e6;
  color: #6c757d;
}

.payment-result-actions .btn-outline-secondary:hover {
  border-color: #adb5bd;
  background-color: #f8f9fa;
}

.payment-info-note {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.payment-spinner-large {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

.payment-spinner-large .spinner-border {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-result-page {
    padding: 10px;
  }

  .payment-result-card {
    padding: 25px;
    margin: 10px 0;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .detail-value {
    align-self: flex-end;
  }
}

/* Print Styles */
@media print {
  .payment-result-page {
    background: white !important;
  }

  .payment-result-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  .payment-result-actions {
    display: none !important;
  }

  .payment-info-note {
    display: none !important;
  }
}

.address-required-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffc107;
}

.address-required-icon i {
  color: #ff9800;
}

.modal-content {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: none;
}

.modal-header {
  background-color: #f8f9fa;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

/* .checkoutbtn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.checkoutbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
} */

.btn-outline-secondary {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.badge.bg-pink-soft {
  background-color: #fce7f3;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.badge.bg-amber-soft {
  background-color: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.badge.bg-teal-soft {
  background-color: #ccfbf1;
  color: #0d9488;
  border: 1px solid #99f6e4;
}

.badge.bg-gray-soft {
  background-color: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.badge.bg-emerald-soft {
  background-color: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge.bg-blue-soft {
  background-color: #dbeafe;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.ticket-row:hover {
  background-color: #f8fafc;
}

.read-more-btn {
  font-size: 12px;
  margin-left: 5px;
}

.message-container {
  max-width: 300px;
}

.message-text {
  word-wrap: break-word;
}

/* WhatsApp button hover effect */
.btn-success:hover {
  background-color: #128C7E !important;
  border-color: #128C7E !important;
}

/* For mobile devices */
@media (max-width: 768px) {
  .producttable table {
    min-width: 600px !important;
  }

  .producttable .tableprofile {
    width: 45px !important;
    height: 45px !important;
  }

  .producttable .tableservicename {
    font-size: 0.80rem !important;
  }

  .producttable .badge {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
  }

  .producttable img[alt="AED"] {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 576px) {
  .producttable table {
    min-width: 550px !important;
  }

  .producttable .tableprofile {
    width: 40px !important;
    height: 40px !important;
  }

  .producttable .tableservicename {
    font-size: 0.8rem !important;
  }

  .producttable .fw-semibold {
    font-size: 0.85rem !important;
  }
}

/* Ensure all metric boxes have consistent height */
.keymetrixbox {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100px;
}

/* If you have multiple metric boxes, add this to their parent container */
.metrics-grid .row {
  display: flex;
  flex-wrap: wrap;
}

.metrics-grid .col-md-6 {
  display: flex;
  margin-bottom: 16px;
}

/* Star rating specific styles */
.star-container {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.star-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Better text wrapping for contact information */
.contactinforr {
  flex: 0 0 auto;
}

/* Allow address to wrap properly */
.contactinforr:last-child {
  flex: 1 1 auto;
  min-width: 0;
  /* Important for text overflow */
}

.contactinforr .fw-semibold {
  word-break: break-word;
  white-space: normal;
  line-height: 1.4;
}

/* Keep phone number on one line */
.contactinforr:first-child .fw-semibold {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contactinforr {
    width: 100%;
    margin-right: 0 !important;
  }

  .contactinforr .fw-semibold {
    max-width: 100%;
  }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Add to your CSS file */
.flag-select option {
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: 8px center;
  background-size: 20px;
}

.flag-select option[value="+966"] {
  background-image: url('/assets/img/saudi-flag.png');
}

.flag-select option[value="+971"] {
  background-image: url('/assets/img/ae.png');
}

.flag-select option[value="+973"] {
  background-image: url('/assets/img/flags/bh.png');
}

.flag-select option[value="+968"] {
  background-image: url('/assets/img/flags/om.png');
}

.flag-select option[value="+974"] {
  background-image: url('/assets/img/flags/qa.png');
}

.flag-select option[value="+965"] {
  background-image: url('/assets/img/flags/kw.png');
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-option-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
}

.share-option-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-option-btn:active {
  transform: translateY(0);
}

.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
  color: white;
}

.share-icon.whatsapp {
  background: #25D366;
}

.share-icon.facebook {
  background: #1877F2;
}

.share-icon.twitter {
  background: #1DA1F2;
}

.share-icon.telegram {
  background: #0088cc;
}

.share-icon.link {
  background: #6c757d;
}

.share-icon.sms {
  background: #34B7F1;
}

.share-text {
  flex: 1;
}

.share-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
  color: #333;
}

.share-text small {
  color: #666;
  font-size: 12px;
}

/* Button disabled state styling */
.btn-disabled {
  opacity: 0.65;
  cursor: not-allowed !important;
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.btn-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Service area notice in AddAddressGoogle component */
.service-area-alert {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 15px;
}

/* Visual indicator for valid/invalid location */
.location-status-valid {
  color: #28a745;
  font-weight: bold;
}

.location-status-invalid {
  color: #dc3545;
  font-weight: bold;
}

/* Gift Booking Styling */
.gift-badge {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 15px 20px;
  border-left: 4px solid #bd6789;
}

.gift-icon-container {
  background: rgba(13, 110, 253, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-note-box {
  background: #fff;
  border-radius: 8px;
}

.gift-note-content {
  background: #f8f9fa;
  border-left: 3px solid #bd6789;
  font-style: italic;
}

.gift-badge h4 {
  color: #bd6789;
  font-weight: 600;
}

.gift-badge .badge {
  font-size: 0.8rem;
  padding: 4px 8px;
}

/* For Arabic RTL support */
html[dir="rtl"] .gift-badge {
  border-left: none;
  border-right: 4px solid #bd6789;
}

html[dir="rtl"] .gift-note-content {
  border-left: none;
  border-right: 3px solid #bd6789;
}

html[dir="rtl"] .gift-icon-container {
  margin-right: 0;
  margin-left: 15px;
}

.footermenus {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footermenus a {
  color: #272727;
  font-size: 16px;
  font-weight: 500;
  margin: 10px 0;
  width: 100%;
  text-align: center;
}

/* For desktop - horizontal layout */
@media (min-width: 992px) {
  .footermenus {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 50px;
    justify-content: center;
  }

  .footermenus a {
    width: auto;
    margin: 0;
  }
}

.currency-icon {
  filter: brightness(0) saturate(100%);
  /* Pure black (#000000) by default */
  transition: filter 0.2s ease;
}

/* Pink color (#bd6789) for hover (except when disabled) */
.amount-btn:not(:disabled):hover .currency-icon {
  filter: brightness(0) saturate(100%) invert(49%) sepia(22%) saturate(876%) hue-rotate(289deg) brightness(95%) contrast(88%);
}

/* Pink color (#bd6789) for selected - this overrides hover */
.amount-btn-selected .currency-icon {
  filter: brightness(0) saturate(100%) invert(49%) sepia(22%) saturate(876%) hue-rotate(289deg) brightness(95%) contrast(88%);
}

/* Keep original style for disabled buttons */
.amount-btn:disabled .currency-icon {
  opacity: 0.5;
}

/* Fix for RTL banner display */
.banner-slider-container {
  /* Fixed height */
  position: relative;
  overflow: hidden;
}

/* Ensure slick slider works in RTL */
[dir="rtl"] .slick-slider {
  direction: ltr !important;
  /* Force LTR for slider, it handles RTL internally */
}

[dir="rtl"] .slick-slide {
  float: left !important;
  /* Override any RTL float */
}

/* Fix banner part for RTL */
.bannerpart {
  width: 100% !important;
  /* height: 100% !important; */
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

[dir="rtl"] .loginregistration {
  display: flex;
  gap: 10px;
}

[dir="rtl"] .headericons {
  margin-left: 10px;
}

[dir="rtl"] .serviceproviderdetails p {
  /* margin-right:0; */
  text-align: right;
}

/* Custom date picker styles */
.react-datepicker {
  border-color: #bd5678 !important;
  font-family: inherit;
}

.react-datepicker__header {
  background-color: #bd5678 !important;
  border-bottom: 1px solid #bd5678 !important;
}

.react-datepicker__current-month,
.react-datepicker__day-name {
  color: white !important;
}

.react-datepicker__day--selected,
.react-datepicker__day--in-selecting-range,
.react-datepicker__day--in-range {
  background-color: #bd5678 !important;
  color: white !important;
}

.react-datepicker__day--selected:hover,
.react-datepicker__day--in-selecting-range:hover,
.react-datepicker__day--in-range:hover {
  background-color: #a34a67 !important;
}

.react-datepicker__day--keyboard-selected {
  background-color: rgba(189, 86, 120, 0.3) !important;
  color: #bd5678 !important;
}

.react-datepicker__day:hover {
  background-color: rgba(189, 86, 120, 0.1) !important;
}

.react-datepicker__navigation-icon::before {
  border-color: white !important;
}

.react-datepicker__close-icon::after {
  background-color: #bd5678 !important;
  color: white !important;
}

.react-datepicker__today-button {
  background-color: #bd5678 !important;
  color: white !important;
}

.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range) {
  background-color: rgba(189, 86, 120, 0.2) !important;
  color: #333 !important;
}

/* ===== Enhanced Filter & Sort Styles ===== */
/* Override and enhance sort/filter options */
.sort-option {
  display: flex;
  align-items: center;
  gap: 12px !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.sort-option:hover {
  background: linear-gradient(135deg, #fef7ed 0%, #fedbea 100%) !important;
  box-shadow: 0 4px 10px rgba(189, 103, 137, 0.15) !important;
  transform: translateX(-3px) !important;
  border-color: #bd6789 !important;
}

.sort-option input[type="checkbox"] {
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
  accent-color: #bd6789 !important;
}

.sort-option:has(input:checked) {
  background: linear-gradient(135deg, #bd6789 0%, #d084a8 100%) !important;
  color: #fff !important;
  border-color: #bd6789 !important;
  box-shadow: 0 4px 12px rgba(189, 103, 137, 0.3) !important;
}

/* Category/Subcategory items styling */
.category-item,
.subcategory-item {
  display: flex !important;
  align-items: center !important;
  padding: 10px 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.category-item:hover,
.subcategory-item:hover {
  color: #bd6789 !important;
  padding-left: 5px !important;
}

.category-item.main-category {
  font-weight: 600 !important;
  color: #bd6789 !important;
}

.subcategories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-section {
  margin-bottom: 10px;
}

/* Mobile filter button container */
.mobile-filter-btn-container {
  padding: 15px;
  background: linear-gradient(135deg, #fef7ed 0%, #fff 100%);
  border-radius: 15px;
  margin: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE MOBILE DESIGN - COMPLETE OVERHAUL ===== */
@media (max-width: 768px) {
  .vendors-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    padding: 20px 10px !important;
  }

  .servicebox.grid-item {
    min-height: auto !important;
    border-radius: 20px !important;
    padding: 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  }

  .serviceboximg.square-image {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: none !important;
    margin: 15px auto 5px !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .servicedetails {
    padding: 14px 10px !important;
    gap: 10px !important;
  }

  .vendor-name {
    font-size: 14px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1.3 !important;
  }

  .vendor-cities {
    font-size: 11px !important;
    padding: 6px 10px !important;
    max-width: 95% !important;
  }

  .rating-badge {
    padding: 7px 12px !important;
    min-width: 65px !important;
    border-radius: 18px !important;
  }

  .rating-star {
    width: 14px !important;
    height: 14px !important;
  }

  .rating-text {
    font-size: 13px !important;
  }

  .rating-text-new {
    font-size: 11px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

  .priceeservice {
    font-size: 18px !important;
    padding: 9px 14px !important;
  }

  .priceeservice img {
    width: 22px !important;
    height: 22px !important;
  }
}

@media (max-width: 480px) {
  .vendors-grid {
    gap: 15px !important;
    padding: 15px 8px !important;
  }

  .servicebox.grid-item {
    min-height: auto !important;
    border-radius: 18px !important;
    padding: 12px 8px !important;
  }

  .serviceboximg.square-image {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    border: none !important;
    margin: 12px auto 5px !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .servicedetails {
    padding: 12px 8px !important;
    gap: 8px !important;
  }

  .vendor-name {
    font-size: 13px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  .vendor-cities {
    font-size: 10px !important;
    padding: 5px 8px !important;
  }

  .rating-badge {
    padding: 6px 10px !important;
    min-width: 60px !important;
  }

  .rating-star {
    width: 13px !important;
    height: 13px !important;
  }

  .rating-text {
    font-size: 12px !important;
  }

  .rating-text-new {
    font-size: 10px !important;
  }

  .priceeservice {
    font-size: 16px !important;
    padding: 8px 12px !important;
  }
}

@media (max-width: 375px) {
  .vendors-grid {
    gap: 12px !important;
  }

  .servicebox.grid-item {
    min-height: auto !important;
    border-radius: 16px !important;
    padding: 10px 5px !important;
  }

  .serviceboximg.square-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: none !important;
    margin: 10px auto 5px !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .vendor-name {
    font-size: 12px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  .vendor-cities {
    font-size: 9px !important;
    padding: 4px 6px !important;
  }

  .rating-badge {
    padding: 5px 8px !important;
    min-width: 55px !important;
  }

  .rating-star {
    width: 12px !important;
    height: 12px !important;
  }

  .rating-text {
    font-size: 11px !important;
  }

  .rating-text-new {
    font-size: 9px !important;
  }

  .priceeservice {
    font-size: 15px !important;
    padding: 7px 10px !important;
  }

  .priceeservice img {
    width: 18px !important;
    height: 18px !important;
  }
}

/* =========================================
   MODERN NOTIFICATION SYSTEM (REDESIGNED)
   ========================================= */

/* --- Desktop & General Styles --- */
.dropdown.notification .dropdown-menu {
  position: absolute;
  /* Default absolute for desktop */
  top: 100% !important;
  right: -10px !important;
  /* Slight offset to align aesthetically */
  left: auto !important;
  transform: translateY(10px) !important;
  width: 360px;
  /* Slightly reduced width */
  max-width: 90vw;
  padding: 0;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
  background: #ffffff;
  overflow: visible;
  /* Allow arrow to show outside */

  display: none;
  flex-direction: column;

  max-height: 600px;
  z-index: 1060;
  /* Higher z-index */

  transform-origin: top right;
}

/* Arrow for Desktop */
.dropdown.notification .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 0;
}

[dir="rtl"] .dropdown.notification .dropdown-menu {
  right: auto !important;
  left: -12px !important;
  transform-origin: top left;
}

[dir="rtl"] .dropdown.notification .dropdown-menu::before {
  right: auto;
  left: 20px;
}

/* Show state */
.dropdown.notification .dropdown-menu.show {
  display: flex !important;
  /* Force flex */
  animation: desktopPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes desktopPop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.notificationhead {
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  /* Above arrow */
  border-radius: 20px 20px 0 0;
}

.notificationhead div {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3436;
}

.notificationhead a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #bd6789;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.notificationhead a:hover {
  text-decoration: underline;
}

/* Content Area */
.notificationinner {
  padding: 0;
  overflow-y: auto;
  max-height: 400px;
  scrollbar-width: thin;
  position: relative;
  z-index: 1;
  background: #fff;
}

.notificationlink {
  padding: 14px 20px;
  border-bottom: 1px solid #f9f9f9;
  margin: 0 !important;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notificationlink:hover {
  background-color: #fcfcfc;
}

.notificationlink.unread {
  background-color: #fff8fa;
}

.notificationlink.unread::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 15px;
  width: 8px;
  height: 8px;
  background: #bd6789;
  border-radius: 50%;
}

[dir="rtl"] .notificationlink.unread::after {
  right: auto;
  left: 15px;
}

/* Hide old borders */
.notificationlink.unread {
  border: none !important;
}

.notificationlink.unread::before {
  display: none;
}


/* Text Content */
.notificationtxt h2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 4px;
}

.notificationlink.unread .notificationtxt h2 {
  font-weight: 700;
  color: #000;
}

.notificationtxt p {
  font-size: 0.8rem;
  color: #636e72;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notificationtime {
  font-size: 0.7rem;
  color: #b2bec3;
  margin-top: 4px;
  display: block;
}

/* Footer */
.viewallbtns {
  padding: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #636e72;
  border-top: 1px solid #f5f5f5;
  background: #fdfdfd;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 1;
}

.viewallbtns:hover {
  background: #f8f9fa;
  color: #bd6789;
}


/* --- MOBILE STYLES (Clean Bottom Sheet) --- */
@media (max-width: 768px) {

  /* Overlay */
  .dropdown.notification.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* Drawer */
  .dropdown.notification .dropdown-menu.show {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;

    width: 100vw !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    height: 80vh !important;
    max-height: 80vh !important;

    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15) !important;
    animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    z-index: 9999;

    /* Ensure flex */
    display: flex !important;
    flex-direction: column !important;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  /* Arrow Hidden on Mobile */
  .dropdown.notification .dropdown-menu::before {
    display: none;
  }

  /* Handle Bar */
  .notificationhead::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  .notificationhead {
    padding-top: 25px;
    /* specific padding to clear handle */
    background: #fff;
    border-radius: 24px 24px 0 0;
  }

  .notificationinner {
    flex: 1;
    /* Take remaining height */
    max-height: none !important;
    /* Let flexbox handle height */
    padding-bottom: 20px;
  }

  .notificationlink {
    padding: 20px;
    margin: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #eee;
  }

  .notificationlink.unread {
    background: #fff;
    border-color: #bd6789;
    box-shadow: 0 4px 15px rgba(189, 103, 137, 0.1);
  }

  /* Fix scroll inside drawer */
  .notificationinner {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
}