.doctor-listing-section {
    background: #f8f9fc;
}

.doctor-filter-sidebar {
    position: sticky;
    top: 110px;
    overflow: hidden;
    border-radius: 14px;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e9ebf0;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #15263c;
    font-size: 16px;
    font-weight: 700;
}

.filter-title i {
    color: #dc2a87;
}

.clear-filter-button,
.clear-filter-link {
    padding: 0;
    border: 0;
    color: #dc2a87;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.doctor-filter {
    padding: 20px;
    border-bottom: 1px solid #e9ebf0;
}

.doctor-filter:last-child {
    border-bottom: 0;
}

.doctor-filter h4 {
    margin-bottom: 15px;
    color: #15263c;
    font-size: 15px;
}

.doctor-filter-options {
    max-height: 280px;
    overflow-y: auto;
}

.doctor-filter-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: #647783;
    cursor: pointer;
}

/* .doctor-filter-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
} */

/* .custom-filter-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #ccd2da;
    border-radius: 4px;
    background: #fff;
} */

.doctor-filter-option input:checked +
.custom-filter-check {
    position: relative;
    border-color: #dc2a87;
    background: #dc2a87;
}

.doctor-filter-option input:checked +
.custom-filter-check::after {
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.filter-option-name {
    flex: 1;
    font-size: 13px;
}

.doctor-filter-option small {
    min-width: 25px;
    padding: 2px 6px;
    border-radius: 12px;
    background: #f0f2f6;
    text-align: center;
}

.doctor-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.doctor-section-label {
    display: block;
    margin-bottom: 5px;
    color: #dc2a87;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.doctor-list-header h3 {
    margin: 0;
    color: #15263c;
    font-size: 30px;
}

.doctor-search-form {
    width: 420px;
    max-width: 100%;
}

.doctor-result-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #647783;
    font-size: 13px;
}

.doctor-results-inner {
    min-height: 250px;
    transition: opacity 0.2s ease;
}

.doctor-results-inner.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.doctor-card {
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid #e4e8ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(31, 42, 62, 0.06);
    transition: 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(31, 42, 62, 0.11);
}

.doctor-image-wrapper {
    height: 225px;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f5f8;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8b0bb;
    font-size: 64px;
}

.doctor-card-content h3 {
    margin-bottom: 14px;
    color: #15263c;
    font-size: 23px;
}

.doctor-info-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    color: #647783;
    font-size: 14px;
}

.doctor-info-row strong {
    min-width: 145px;
    color: #28384c;
}

.doctor-info-row strong i {
    width: 18px;
    color: #dc2a87;
}

.doctor-description {
    margin: 13px 0;
    color: #71808b;
    line-height: 1.65;
}

.doctor-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #e9ebf0;
}


.request-appointment-btn {
    border: 0;
    cursor: pointer;
}

.doctor-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.doctor-empty-state {
    padding: 70px 20px;
    border: 1px dashed #d9dee6;
    border-radius: 15px;
    background: #fff;
    text-align: center;
}

.doctor-empty-icon {
    margin-bottom: 12px;
    color: #dc2a87;
    font-size: 48px;
}

.appointment-modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
}

.appointment-modal-header {
    padding: 24px 27px;
    color: #fff;
    background: linear-gradient(
        135deg,
        #654393,
        #dc2a87
    );
}

.appointment-modal-header .close {
    color: #fff;
    opacity: 1;
}

.modal-small-title {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.selected-doctor-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.appointment-modal-content .modal-body {
    padding: 27px;
}

.appointment-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

@media (max-width: 991px) {
    .doctor-filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .doctor-list-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .doctor-search-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .doctor-card {
        padding: 16px;
    }

    .doctor-image-wrapper {
        height: 280px;
        margin-bottom: 20px;
    }

    .doctor-info-row {
        display: block;
    }

    .doctor-info-row strong {
        display: block;
        margin-bottom: 3px;
    }

    .doctor-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .request-appointment-btn {
        width: 100%;
        text-align: center;
    }
}