.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.star-rating input[type="radio"]:checked ~ label {
    color: #f5c518;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f5c518;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 700px;
    position: relative;
}

#close-modal {
    background-color: #ddd;
    color: #000;
    float: right;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
}

#close-modal:hover {
    background-color: #bbb;
}

.address-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.address-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    width: calc(33.33% - 20px);
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.address-content {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.address-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btnadd {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.btn-warning {
    background-color: #f0ad4e;
    color: white;
}

.btn-warning:hover {
    background-color: #ec971f;
}

.btn-danger {
    background-color: #d9534f;
    color: white;
}

.btn-danger:hover {
    background-color: #c9302c;
}

.tooltip {
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 10px;
}

.available-date {
    background-color: #d4edda !important; /* Light Green */
    color: #155724 !important; /* Dark Green */
}

.disabled-date {
    background-color: #f8d7da !important; /* Light Red */
    color: #721c24 !important; /* Dark Red */
    pointer-events: none;
    cursor: not-allowed;
}

.dv-date {
    color: #ccc !important;
    text-decoration: line-through;
    pointer-events: none; /* Prevent clicking */
    background-color: #f8d7da !important; /* Light red for disabled */
}

.av-date {
    background-color: #d4edda !important; /* Light green for available */
}

#calendar {
    margin-top: 15px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.available-slot {
    color: #155724 !important;
    font-weight: bold;
}

.fc-h-event .fc-event-title-container {
    border-color: #155724;
    background-color: #155724;
}    

.banner-three {
    position: relative;
    z-index: 9999; /* Ensure the banner is above the button */
}

.banner-three-slider {
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.progress-wrap {
    z-index: 1000; /* Keep it lower than the banner */
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 2.5rem;
    width: 100%;
}

.input-with-icon .toggle-eye {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#registertypeModal .modal-content {
    border-radius: 16px;
    background: #fff;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.3s ease-out;
  }
  
  #registertypeModal .modal-header {
    border-bottom: none;
    justify-content: center;
  }
  
  #registertypeModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
  }
  
  #registertypeModal .card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
  }
  #registertypeModal .card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  }
  #registertypeModal .card i {
    color: #4e73df;
    transition: color 0.3s ease;
  }
  #registertypeModal .card:hover i {
    color: #2e59d9;
  }
  #registertypeModal .card-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #222;
  }
  
  #registertypeModal .btn-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: transparent;
    opacity: 0.6;
  }
  #registertypeModal .btn-close:hover {
    opacity: 1;
  }
  
  /* Center icons in one row */
  #registertypeModal .row {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #registertypeModal .col-md-6 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  
  #registertypeModal .col-sm-12 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Animation */
  @keyframes fadeInUp {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Default: 1 column (mobile first) */
  .row-cols-md-3>* {
    width: 100% !important;
    height: 100% !important;
  }

  .home-cat > * {
    width: 100% !important;
    height: 100% !important;
  }

  .home-cat .text-line-2 {
    font-size: 15px;
  }
  
  
  /* Medium devices (≥768px): 3 columns */
  @media (min-width: 768px) {
    .row-cols-md-3>* {
      width: 33.3333% !important;
    }
    .home-cat > * {
      width: 15% !important;
    }
    .home-cat .text-line-2 {
      font-size: 15px;
    }
    
  }
  
  /* Large devices (≥992px): 4 columns */
  @media (min-width: 992px) {
    .row-cols-md-3>* {
      width: 25% !important;
    }
    .home-cat > * {
      width: 12% !important;
    }
    .home-cat .text-line-2 {
      font-size: 15px;
    }
   
  }

.home-cat .product-img-card {
    height: 100px;
    width: 100%;
}

.caticon {
  font-size: 70px;
}

i.fa.fa-user-md.caticon {
  color: #cb1c1c;
  
}

i.fa.fa-ambulance.caticon {
  color: #030403b5;
  
}

i.fa.fa-tint.caticon {
  color: #f01818;
  
}

i.fa.fa-hospital.caticon {
  color: #24a8c8;
  
}

i.fa.fa-clinic-medical.caticon {
  color: #1fa378;
  
}

i.fa.fa-user-nurse.caticon {
  color: #eb4d4d;
  
}

i.fa.fa-stethoscope.caticon {
  color: #000;
  
}

i.fa.fa-x-ray.caticon {
  color: #78066f;
  
}

.section-heading.mb-24 {
  margin: 20px 0 0 0;
}

.home-cat .text-line-2 {
  -webkit-line-clamp: 1;
  font-size: 18px;
  text-transform: none;
  
}

.bestseller-product .text-line-2 {
  -webkit-line-clamp: 1;
  font-size: 18px;
  text-transform: none;
}

.home-featured-store .text-line-2 {
  -webkit-line-clamp: 1;
  font-size: 18px;
  text-transform: none;
}

.trending-product .text-line-2 {
  -webkit-line-clamp: 1;
  font-size: 18px;
  text-transform: none;
}

.new-product .text-line-2 {
  -webkit-line-clamp: 1;
  font-size: 18px;
  text-transform: none;
}

a.page-link{
  padding: 10px;
}

.text-gray-700{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}

.text-md{
  color: #000 !important;
}

.text-decoration-line-through{
  text-decoration:none !important;
}

.checkout-sidebar .w-144 {
  width: 100% !important;
}

.checkout-sidebar .bg-color-three.rounded-8.p-24.text-center{
  margin: 10px;
}

.checkout-sidebar .text-xl{
  font-size: 13px !important;
}

.modal-backdrop.show {
  opacity: 0 !important;
}

.modal-backdrop{
  position: absolute !important; 
}

.header-two-activities .text-md{
  color: #fff !important;
}

p.text-gray-700-heading {
  font-size: 12px;
  font-weight: 600;
  color: #000;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 40px; /* Make space for the eye icon */
  box-sizing: border-box;
}

.toggle-password {
  transform: translateY(-200%);
  cursor: pointer;
  float: right;
  color: #888;
}

@media (max-width: 768px) {

   .checkout-form-label{
      font-size: 13px;
   }
  .text-gray-900{
    font-size: 13px;
  }
  .pt-80 {
    padding-top: 3px !important;
  }
  .cart-sidebar .text-lg{
    font-size:13px !important;
  }

  .h-48{
    height: 2rem !important;
  }
  
  .w-48{
    height: 2rem !important;
  }

  .table.style-three tbody tr.table-data td {
    padding: 0 !important;
  }


  .table thead tr th {
      font-size: 13px !important;
  }

  .footer-block2{
    margin: 0px;
  }

  .footer-block2 .mb-16 {
      margin-bottom: 0 !important;
  }

  .footer-block4{
    margin: 0px;
  }

  .footer-block4 .mb-16 {
      margin-bottom: 0 !important;
  }

  .footer-block3 {
    margin: 0px;
  }


  h6.footer-item__title {
    color: #fff !important;
  }
  
  .table.style-three tbody tr td {
    padding: clamp(1.5rem, .283rem + 2.536vw, 2.5rem) 10px;
  }
  #registertypeModal .modal-content {
    width:100%;
  }

  .home-cat {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Optional: use gap for spacing */
  }

  .home-cat > div {
      flex: 0 0 calc(25% - 0.5rem); /* Now 4 items fit correctly */
      scroll-snap-align: start;
  }

  .home-cat .card {
      display: flex;
      flex-direction: column;
  }

  .home-cat .product-img-card{
    height: 70px;
    width: 100%;
  }

  .home-cat .text-line-2 {
    width: 100%;
    font-size: 11px;
    text-transform: none;
  }

  .home-cat .text-line-2 {
    -webkit-line-clamp: 1;
  }

  i.fa.fa-user-md.caticon {
    color: #cb1c1c;
    font-size: 50px;
  }
  
  i.fa.fa-ambulance.caticon {
    color: #030403b5;
    font-size: 50px;
  }
  
  i.fa.fa-tint.caticon {
    color: #f01818;
    font-size: 50px;
  }
  
  i.fa.fa-hospital.caticon {
    color: #24a8c8;
    font-size: 50px;
  }
  
  i.fa.fa-clinic-medical.caticon {
    color: #1fa378;
    font-size: 50px;
  }
  
  i.fa.fa-user-nurse.caticon {
    color: #eb4d4d;
    font-size: 50px;
  }
  
  i.fa.fa-stethoscope.caticon {
    color: #000;
    font-size: 50px;
  }
  
  i.fa.fa-x-ray.caticon {
    color: #78066f;
    font-size: 50px;
  }

  .bestseller-product {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    max-width: 100% !important;
  }

  .bestseller-product > div {
      flex: 0 0 100%;
      scroll-snap-align: start;
  }

  .bestseller-product .text-line-2 {
    width: 100%;
    font-size: 10px;
    text-transform: none;
  }

  .bestseller-product .text-line-2 {
    -webkit-line-clamp: 1;
  }

  .row-cols-1>*{
    max-width:53% !important;
  }

  .home-featured-store {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
  }

  .home-featured-store > div {
      flex: 0 0 100%; /* Adjusted for 3 items per screen */
      scroll-snap-align: start;
  }

  .home-featured-store .text-line-2 {
    width: 100%;
    font-size: 10px;
    text-transform: none;
  }

  .home-featured-store .text-line-2 {
    -webkit-line-clamp: 1;
  }

  .trending-product {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
  }

  .trending-product > div {
      flex: 0 0 100%; /* Adjusted for 3 items per screen */
      scroll-snap-align: start;
  }

  .trending-product .text-line-2 {
    width: 100%;
    font-size: 10px;
    text-transform: none;
  }

  .trending-product .text-line-2 {
    -webkit-line-clamp: 1;
  }

  .new-product {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
  }

  .new-product > div {
      flex: 0 0 100%; /* Adjusted for 3 items per screen */
      scroll-snap-align: start;
  }

  .new-product .text-line-2 {
    width: 100%;
    font-size: 10px;
    text-transform: none;
  }

  .new-product .text-line-2 {
    -webkit-line-clamp: 1;
  }

  .shop-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .shop-grid > .product-card {
    /*flex: 0 0 100%;*/
    max-width: 50%;
    scroll-snap-align: start;
  }

  .shop-cat a.link.text-line-2 {
    font-size: 11px;
    -webkit-line-clamp: 1;
    text-transform: capitalize;
  }

  a.page-link{
    padding: 10px;
  }

  .text-gray-700{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    font-size: 10px;
  }

  .text-md{
    color: #000 !important;
    font-size: 10px !important;
  }

  .text-decoration-line-through{
    text-decoration:none !important;
  }

  .mobile-cart {
    display: flex;
    flex-wrap: nowrap; /* never wrap to next line */
    overflow-x: auto; /* scroll horizontally if small screen */
    gap: 16px;
    align-items: center;
  }

  .mobile-cart::-webkit-scrollbar {
      display: none; /* hide scrollbar for a cleaner look */
  }

  .mobile-cart .gap-8 {
      gap: 0 !important;
  }

  .mobile-cart .px-48 {
      padding-left: 0 !important;
      padding-left: 8px !important;
      padding-right: 0 !important;
      padding-right: 8px !important;
  }

  .mobile-qty {
    border-radius: 20px;
    font-size: 13px;
  }

  p.text-gray-700-heading {
    font-size: 12px;
    font-weight: 600;
    color: #000;
  }

  .footer-menu a.text-gray-600.hover-text-main-600{
      font-size: 13px;
      color:#fff !important;
  }

  p.bottom-footer__text.wow.fadeInLeftBig{
    font-size: 13px;
  }

  .store-list a.link.text-line-2 {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }
  
  .doctor-list a.link.text-line-2 {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }
  .doctor-list-new a.link.text-line-2 {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }
  .text-gray-900{
    font-size: 13px !important;
  }

  .mobile-cart-table .table-product__thumb{
    width: 23%;
  }

  .mobile-cart-table .table-product__content .text-lg{
    font-size: 10px !important;
  }

  .mobile-cart-table span.text-lg{
    font-size: 10px !important;
  }

  .modal-backdrop{
    position: absolute !important; 
  }
 
  .modal-dialog {
    margin: 1rem; /* Less margin on mobile */
  }
  .modal-content {
      padding: 1rem;
  }
  #appointmentModal .modal-title {
      font-size: 1.25rem;
  }
  #appointmentModal .btn-main {
      padding: 0.65rem 1rem;
      font-size: 0.95rem;
  }
  #appointmentModal .form-control {
      font-size: 0.95rem;
  }

  #appointmentModal .modal-content{
    width:100% !important;
  }

  #appointmentModal .btn-close{
    --bs-btn-close-bg: 0 !important;
  }

  .mobile-menu.scroll-sm.xl\:hidden.block.active{
    z-index: 99999;
  }
  
  .gender .form-check{
    padding-left: 0;
  }

  .address-card{
    width:100% !important;
  }

  #addressModal .modal-content{
    width:100%;
  }

  h5.mb-0.text-uppercase {
    font-size: 13px !important;
  }
 
}

.table.style-three tbody tr.table-data td {
  padding: 0 !important;
}

h6.footer-item__title {
  color: #fff !important;
}

.footer-sec .row.row-cols-1.g-4 {
  margin: 30px 0 0 0;
}

.footer-sec {
  background: #121535;
  max-width:100% !important;
  padding: 30px;
}
.footer-sec .mb-24{
  color:#fff !important;
}

.footer-menu a.text-gray-600.hover-text-main-600{
  color:#fff !important;
}

.footer-sec .text-md{
  color:#fff !important;
}

.footer-copy{
  background: #121535;
}

.container.container-lg.footer-copy {
  color: #fff;
  max-width:100%;
}

.table-product__thumb{
  aspect-ratio: 1;
    height: 0;
    max-height: 0;
    max-width: 150px;
    width: 100%;
}

.table-product__content .text-lg{
  font-size: 12px !important;
}

.table thead tr th{
  font-size:15px;
}

.cart-sidebar .text-lg{
  font-size:13px !important;
}

.h-48{
  height: 2rem !important;
}

.w-48{
  height: 2rem !important;
}

.cart-sidebar .text-xl{
  font-size: 15px !important;
}

.cart-sidebar .mb-32{
  margin-bottom: 10px !important;
}

.text-gray-900{
  font-size: 15px;
}

.checkout-form-label{
  font-size: 13px;
}
.fc-prev-button{
  display: none !important;
}
.fc-next-button{
  display: none !important;
}
.fc-today-button{
  display: none !important;
}
.fc-dayGridMonth-button{
  display: none !important;
}
#doctorAvailabilityCalendar{
  height:250px;
}
#calendar{
  height:250px;
}
.btn-close {
  --bs-btn-close-bg: 0 !important;
}

/* Blood Modal */

.modal-like {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; 
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }

  .modal-like .modal-body{    
    height: 500px;
    overflow: auto; 
  }

  .modal-dialog-like {
    max-width: 700px; /* ← Make it wider */
    width: 90%;        /* ← Responsive scaling */
    margin: auto;
    position: relative;
  }

  .modal-content-like {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    padding: 2rem; /* ← More padding for space */
  }

  .modal-header-like {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
  }

  .btn-close-like {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .modal-body-like {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    text-align: center;
  }

  .icon-box {
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .icon-box:hover {
    transform: scale(1.1);
  }

  .text-danger { color: #dc3545; }
  .text-primary { color: #007bff; }
  .text-success { color: #28a745; }

  .closebloodbankdetailsModal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 1051;
  }

  .closedonorregisterModal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 1051;
  }

   .closegiverregisterModal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 1051;
  }

  .closebloodexchangeModal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 1051;
  }

  h5.card-title {
    text-align: center;
    color: #000;
    margin: 5px;
  }

  

@media only screen and (max-width: 500px){
  /*.list-grid-wrapper.grid-columns-4 {
    grid-template-columns: repeat(1, 1fr);
    display: grid !important;
  }*/
  /*.list-grid-wrapper.grid-columns-4 .product-card {
      width: 100%;
      max-width: 100%;
  }*/

  .cart-table{
    padding: 10px !important;
  }

  .checkout-sidebar th {
      padding: 10px !important;
      text-align: center !important;
  }

  .checkout-sidebar td span{
    font-size: 11px !important;
  }

  .checkout-sidebar td strong{
    font-size: 11px !important;
  }

  .checkout-sidebar td {
    padding: 10px !important;
  }

  .cart_button {
    margin-top: 20px;
  }

  .home-cat {
    flex-wrap: nowrap;
    overflow: auto;
  }

  .home-cat > div{
    flex: 0 0 30%;
  }

}

.py-80 {
    padding-bottom: 17px !important;
    padding-top: 17px !important;
}

.modal-backdrop {
    display: none !important;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Adjust the gap between elements */
    flex-wrap: wrap; /* This ensures it wraps in smaller screens */
}

.form-group {
    flex: 1; /* Makes each form group take equal space */
    min-width: 200px; /* Prevents form fields from becoming too small */
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    #doctorAvailabilityCalendar {
        height: auto !important;
        margin-bottom: 30px;
    }

    div#bloodGroupModal {
      z-index: 9999 !important;
    }

    .product-card__content.mt-16.w-full.ambulance-wrap{
      margin-top: 25px !important;
    }

    .product-card__content.mt-16.w-full.medicine-wrap{
      margin-top: 25px !important;
    }

    .product-card__content.mt-16.w-full.doctors-wrap{
      margin-top: 10px !important;
    }

    .product-card__content.mt-16.w-full.store-wrap{
      margin-top: 25px !important;
    }
    .doc-css{
      font-size: 15px;
    }
    .text-lg{
      font-size: 13px !important;
    }

    p.text-lg.font-bold.text-gray-900 {
      font-weight: 600 !important;
    }

    #doctorappointmentform label.form-label {
     font-size: 14px;
     font-weight: 600;
   }
}

@media only screen and (max-width: 600px){
     #bloodModal .modal-body-like {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
    }
   .modal-content{
           width: 100%
   }
   .modal-content  .form-label{
          font-size: 10px;
   }
   .modal-content  .common-input{
         font-size: 12px;
    }
}

#doctorAvailabilityCalendar {
        height: auto !important;
        margin-bottom: 30px;
}

div#bloodGroupModal {
    z-index: 9999 !important;
}

.banner-three {
    z-index: 1 !important;
}

@media (max-width: 600px) {
    .search-form__input {
        width: 100% !important;
        font-size: 12px !important;
    }
    .search-box.active button{
            width: 30px !important;
          height: 30px !important;
          font-size: 15px !important;
    }
    .search-box.active .search-box__close{
        width: 30px !important;
          height: 30px !important;
          font-size: 15px !important;
    }
}


.available-date a {
    background-color: #28a745 !important; /* Green */
    color: white !important;
    border-radius: 0%;
}

.unavailable-date a {
    background-color: #e0e0e0 !important; /* Grey */
    color: #888 !important;
    pointer-events: none;
}

.datepicker td, .datepicker th {
    width: 700px !important;
    height: 50px !important;
}

.timeslot-btn{
    color: #000 !important;
    background-color: #28a745;
}

.app-block {
    padding: 20px;
}

.book_app_doc{
  margin:10px;
}

.product-card__content.mt-16.w-full.ambulance-wrap{
      margin-top: 40px !important;
 }

.product-card__content.mt-16.w-full.medicine-wrap{
      margin-top: 40px !important;
 }

.product-card__content.mt-16.w-full.doctors-wrap{
      margin-top: 40px !important;
 }

.product-card__content.mt-16.w-full.store-wrap{
      margin-top: 40px !important;
 }

 .product-card__content.mt-16.w-full.store-cat-wrap{
      margin-top: 40px !important;
 }

 .doc-css{
    font-size: 15px;
 }

 p.text-lg.font-bold.text-gray-900 {
      font-weight: 600 !important;
 }

 #doctorappointmentform label.form-label {
    font-size: 14px;
    font-weight: 600;
 }

 /* General container padding adjustment for smaller screens */
@media (max-width: 768px) {
    .vendor-two-details {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .vendor-two-details-wrapper {
        gap: 16px !important;
    }

    /* Stack everything vertically but keep two selects side by side */
    .vendor-two-details__contents .flex.items-center.justify-between.flex-wrap.mt-40.mb-32.gap-16 {
        flex-direction: column;
        align-items: stretch;
    }

    .vendor-two-details__contents .flex.items-center.justify-between.md\:justify-end.gap-16.flex-grow {
        flex-direction: column;
        align-items: stretch;
    }

    /* Keep two selects in one row */
    .vendor-two-details__contents .flex.items-center.gap-8.flex-grow {
        flex-wrap: wrap;
    }

    .vendor-two-details__contents .flex.items-center.gap-8.flex-grow > select {
        flex: 1 1 48%;
        min-width: 45%;
    }

    /* Make search box take full width and appear below selects */
    .vendor-two-details__contents .common-input.form-input {
        width: 100% !important;
        margin-top: 12px;
    }

    /* Hide view buttons on mobile if needed */
    .vendor-two-details__contents .items-center.gap-8.md\:flex.hidden {
        display: none !important;
    }

    /* Adjust grid layout for doctors list */
    .list-grid-wrapper.grid-columns-4.shop-grid {
        /*display: grid !important;*/
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 16px !important;
    }
}
