
.experience {
    color: #0d6efd;
}

.map-card-btn {
    flex: 1;
    padding: 5px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.map-visit-btn {
    border: 1px solid #0d6efd;
    color: #0d6efd;
}

.map-video-btn {
    color: white;
    background-color: #0d6efd;
}

    .map-video-btn:hover {
        color: white !important;
    }

.map-card-actions {
    display: flex;
    gap: 10px;
}
/* Doctor Info Window Styles with Increased Width */
.doctor-info-window {
    width: 250px !important;
    min-width: 200px !important;
    max-width: 250px !important;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    background: white;
}

    .doctor-info-window .doctor-card {
        border: 0px;
        box-shadow: none;
        padding:0px;
    }
    /* Override Google Maps default styles to force width */
    .gm-style .gm-style-iw-c {
        padding: 0 !important;
        max-width: none !important;
        min-width: unset !important;
        width: 250px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    }

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    min-width: unset !important;
    width: 100% !important;
}

.gm-style .gm-style-iw-t::after {
    background: white !important;
}

.doctor-info-window .doctor-name {
    margin: 0 0 5px 0;
    font-weight: 600;
    letter-spacing: 0px;
    font-size: 16px;
    /* line-height: 1.3; */
}

.doctor-info-window .doctor-degree {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #4E5562;
    font-style: italic;
    line-height: 1.3;
}

.doctor-info-window .doctor-specialties {
    margin: 0px;
    font-size: 14px;
    color: #4E5562;
    line-height: 1.3;
}
.clinic-distance{
    margin-top:8px;
}
.doctor-info-window .doctor-specialty,
.doctor-info-window
.doctor-info-window .doctor-experience {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.doctor-info-window .distance-info {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #28a745;
    font-weight: bold;
    line-height: 1.3;
}

.doctor-info-window .action-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.doctor-info-window .clinic-visit-btn,
.doctor-info-window .video-consult-btn {
    font-size: 13px;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .doctor-info-window .clinic-visit-btn:hover,
    .doctor-info-window .video-consult-btn:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* Close button styling */
.gm-ui-hover-effect {
    opacity: 0.7;
}

    .gm-ui-hover-effect:hover {
        opacity: 1;
    }

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .doctor-info-window {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        padding: 15px;
    }

    .gm-style .gm-style-iw-c {
        max-width: 250px !important;
    }
}
/* Dual Range Slider Styles */
#map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
}

.map-container {
    position: relative;
    height: 500px;
    width: 100%;
}

/* Ensure the map section has proper dimensions */
.h-500p {
    height: 500px;
}

.h-485p {
    height: 485px;
}

.slider-track {
    position: absolute;
    height: 4px;
    top: 45%;
    transform: translateY(-50%);
    width: 100%;
    background: #ddd; /* default gray background */
    border-radius: 4px;
}

.range-container input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: none;
}

    .range-container input[type="range"]::-webkit-slider-thumb {
        pointer-events: all;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #007bff;
        border: 2px solid #fff;
        cursor: pointer;
        -webkit-appearance: none;
    }

    .range-container input[type="range"]::-moz-range-thumb {
        pointer-events: all;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #007bff;
        border: 2px solid #fff;
        cursor: pointer;
    }




.badge-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.9rem;
}

    .badge-filter img {
        width: 12px;
        height: 12px;
        cursor: pointer;
    }

.fees-btns .active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

    /*.page-btn#prevPage {
        background: var(--bs-primary);
        color: white;
        border-color: var(--bs-primary);
    }

    .page-btn#nextPage {
        background: var(--bs-primary);
        color: white;
        border-color: var(--bs-primary);
    }*/

    .filter-card {
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
/*        max-width: 350px;*/
        margin: auto;
    }

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .filter-header h6 {
        margin: 0;
        font-weight: 600;
    }

.badge-filter {
    font-weight: 600;
    background: #f0f6ff;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
}

    .badge-filter img {
        border: none;
        background: transparent;
        color: #007bff;
        font-size: 16px;
        margin-left: 5px;
        cursor: pointer;
    }

.range-slider {
    width: 100%;
    margin-top: 10px;
}
.range-container {
    position: relative;
    height: 20px;
}

.form-range {
    position: absolute;
    width: 100%;
    pointer-events: none; /* disables mouse events */
}

    .form-range::-webkit-slider-thumb {
        pointer-events: auto; /* re-enable pointer events only for thumbs */
        position: relative;
        z-index: 2;
    }

    .form-range::-moz-range-thumb {
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }

/* Blue track between sliders */
.slider-track {
    position: absolute;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background: #ddd; /* default gray background */
    border-radius: 4px;
}

/* Dual Range Slider Styles */

.slider-track {
    position: absolute;
    height: 4px;
    top: 45%;
    transform: translateY(-50%);
    width: 100%;
    background: #ddd; /* default gray background */
    border-radius: 4px;
}

.range-container input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: none;
}

    .range-container input[type="range"]::-webkit-slider-thumb {
        pointer-events: all;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #007bff;
        border: 2px solid #fff;
        cursor: pointer;
        -webkit-appearance: none;
    }

    .range-container input[type="range"]::-moz-range-thumb {
        pointer-events: all;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #007bff;
        border: 2px solid #fff;
        cursor: pointer;
    }




.badge-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.9rem;
}

    .badge-filter img {
        width: 12px;
        height: 12px;
        cursor: pointer;
    }

.fees-btns .active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}


.fees-btns .btn {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .fees-btns .btn.active {
        background-color: #007bff;
        color: #fff;
    }

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

  /* Bootstrap slider customization */
  #minRange::-webkit-slider-thumb {
      pointer-events: all; /* allow thumb to move */
      z-index: 3;
      -webkit-appearance: none;
      height: 16px;
      width: 16px;
      background-color: #0d6efd;
      border-radius: 50%;
      cursor: pointer;
      position: relative;
  }

  #maxRange::-webkit-slider-thumb {
      -webkit-appearance: none;
      height: 16px;
      width: 16px;
      background-color: #0d6efd;
      border-radius: 50%;
      cursor: pointer;
      position: relative;
      z-index: 2;
  }

  #minRange::-webkit-slider-runnable-track,
  #maxRange::-webkit-slider-runnable-track {
      height: 4px;
      border-radius: 2px;
  }

  #minRange::-webkit-slider-runnable-track {
      background: transparent;
  }

  /* Optional: highlight track between min and max */
  .position-relative::before {
      content: '';
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      height: 4px;
/*      background-color: #0d6efd;*/
      border-radius: 2px;
      left: calc(var(--min-percent, 0%) );
      right: calc(100% - var(--max-percent, 100%) );
      z-index: 1;
  }

/*
.pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.page-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .page-btn:hover {
        background: #f3f4f6;
        border-color: #4A90E2;
    }

    .page-btn.active {
        background: #4A90E2;
        color: white;
        border-color: #4A90E2;
    }

    .page-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }*/

/* Doctor Listings - Start */

.doctor-card {

    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .doctor-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/*.doctor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}*/

.doctor-actions button {
    font-size: 14px;
    padding: 4px 12px;
    min-width: 120px; /* narrower than before */
    max-width: 150px;
}

.doctor-actions-mobile button {
    font-size: 14px;
}

.doctor-actions a {
    font-size: 14px;
    padding: 4px 12px;
    min-width: 120px; /* narrower than before */
    max-width: 150px;
}

.doctor-actions-mobile a {
    font-size: 14px;
}

/* Image avatar style */
.doctor-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.show-result {
    color: #4E5562;
    font-weight: 500;
    margin-top: -28px;
    margin-left: -10px;
}

/* Responsive tweaks */

@media(max-width:912px) {
    .show-result {
        margin-left:0px !important;
    }
}

@media (max-width: 768px) {
    .doctor-list {
        padding: 0px 12px;
    }
}
    @media (max-width: 768px) {


        .doctor-info {
            margin-top: 10px;
        }

        .doctor-avatar {
            margin: 0 auto;
        }
    }
    /*
.ul-doctor-list {
    background-color: #f5f5f5;
}*/
    /* Doctor Listings - End */


    /*Doctor datalist searching animation start*/
    .searching-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 120px;
        color: #333;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .searching-animation {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .pulse-icon {
        color: #1e90ff;
        font-size: 1.8rem;
        animation: pulse 1s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.8;
        }

        50% {
            transform: scale(1.25);
            opacity: 1;
        }

        100% {
            transform: scale(1);
            opacity: 0.8;
        }
    }


    /*Doctor datalist searching animation end*/