.doctors-section {
    padding: 12px 50px;
}


/* Hide scrollbar for specialist categories */

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}


/* Custom Scrollbar Styling */

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


/* Filter Panel Transitions */

#filterPanel {
    will-change: transform;
}

#filterOverlay {
    will-change: opacity;
}


/* Focus styles for filter inputs */

#filterPanel select:focus,
#filterPanel input:focus {
    outline: none;
}


/* Radio button custom styles */

#filterPanel input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

#filterPanel input[type="radio"]:checked {
    border-color: #0b74fa;
    background-color: #0b74fa;
}

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


/* Hidden class for filter search */

#filterPanel .hidden {
    display: none !important;
}


/* Filter search input styles */

#filterPanel input[type="text"]::placeholder {
    color: #9ca3af;
}


/* Smooth label hover transition */

#filterPanel label {
    border: 1px solid transparent;
}

#filterPanel label:hover {
    background-color: #f9fafb;
}


/* ===== DOCTORS GRID ===== */

.doctors-section .doctors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    column-gap: 25px;
    row-gap: 16px;
    margin-top: 20px;
}

.doctors-section .doctors .doctor {
    border-radius: 12px;
    background: var(--color-white);
    text-decoration: none;
    color: var(--color-black);
    padding: 8px;
}

.doctors-section .doctors .doctor .doctor-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: 50% 10%;
    border-radius: 12px;
}

.doctors-section .doctors .doctor .content {
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doctors-section .doctors .doctor .content .doctor-name {
    margin: 0px;
}

.doctors-section .doctors .doctor .content .doctor-specialist {
    font-size: 15px;
    color: var(--color-text-gray2);
    margin-top: 3px;
}

.doctors-section .doctors .doctor .content p {
    margin: 0px;
}

.doctors-section .doctors .doctor .content .appointment-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-main);
}

.appointment-btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    outline: none;
    background-color: var(--color-main) !important;
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
}

.map-profile-avater {
    filter: drop-shadow(0px 5px 5px gray);
}

.top-header {
    align-items: start;
}

.top-header .title {
    font-size: 1.5rem;
    line-height: 2rem;
}


/* Pagination Css */

.pagination-bar {
    width: fit-content;
    margin: 0px auto;
    margin-top: 40px;
}

.pagination-bar .pagination {
    display: flex;
    list-style: none;
    justify-content: center;
    background: white;
    width: fit-content;
    padding: 15px;
    border-radius: 8px;
    box-shadow: rgb(107 82 255 / 15%) 0px 4px 13px 0px;
}

.pagination-bar .pagination .page-item {
    margin: 0px 2px;
    padding: 2px 12px;
}

.pagination-bar .pagination .page-item a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #909090;
}

.pagination-bar .pagination .page-item:hover a {
    color: #ffffff;
}

.pagination-bar .pagination .page-item.active,
.pagination-bar .pagination .page-item:hover {
    background: var(--color-secondary);
    border-radius: 5px;
}

.pagination-bar .pagination .page-item.active a,
.pagination-bar .pagination .page-item.active span {
    color: #ffffff;
}

.pagination-bar .pagination .page-item-btn {
    padding: 4px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.pagination-bar .pagination .page-item-btn:hover {
    background: var(--color-third);
}

@media (min-width: 1024px) {
    .top-header {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .doctors-section {
        padding: 12px 12px;
    }
    .top-header .title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}