/* =========================================================
   OUR DOCTORS PAGE
   ========================================================= */


/* =========================================================
   SEARCH SECTION
   ========================================================= */

.doctors-search-section {
    background: var(--white);
}



/* =========================================================
   FILTER BOX
   ========================================================= */

.doctor-filter-box {

    max-width: 1000px;

    margin: 0 auto 25px;

    padding: 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

}


.filter-icon {

    width: 52px;

    height: 52px;

    min-width: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-soft);

    color: var(--primary);

    border-radius: 12px;

    font-size: 20px;

}


.filter-content {

    flex: 1;

}


.filter-content label {

    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 700;

    color: var(--dark);

}


#departmentFilter {

    width: 100%;

    height: 52px;

    padding: 0 15px;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: var(--white);

    color: var(--dark);

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    outline: none;

}


#departmentFilter:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(146, 0, 2, .08);

}


.clear-filter {

    height: 52px;

    padding: 0 18px;

    border: 1px solid var(--primary);

    border-radius: 9px;

    background: var(--white);

    color: var(--primary);

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition: .3s ease;

}


.clear-filter:hover {

    background: var(--primary);

    color: var(--white);

}



/* =========================================================
   RESULT INFO
   ========================================================= */

.doctor-results-info {

    max-width: 1000px;

    margin: 0 auto 30px;

    padding: 0 3px;

}


#doctorResultText {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 13px;

}


#doctorResultText i {

    color: var(--primary);

}


#doctorResultText strong {

    color: var(--primary);

}



/* =========================================================
   DOCTOR GRID
   ========================================================= */

.doctors-page-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;

}



/* =========================================================
   DOCTOR CARD
   ========================================================= */

.doctor-card {

    display: grid;

    grid-template-columns: 42% 58%;

    min-height: 290px;

    overflow: hidden;

    background: var(--light);

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.doctor-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

}



/* =========================================================
   DOCTOR IMAGE
   ========================================================= */

.doctor-profile-image {

    min-height: 290px;

    overflow: hidden;

    background: var(--primary-soft);

}


.doctor-profile-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center top;

    transition: transform .5s ease;

}


.doctor-card:hover
.doctor-profile-image img {

    transform: scale(1.04);

}



/* =========================================================
   DOCTOR CONTENT
   ========================================================= */

.doctor-profile-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 28px;

}


.doctor-profile-content h3 {

    margin: 0 0 7px;

    color: var(--dark);

    font-size: 21px;

    line-height: 1.25;

}


.doctor-specialty {

    display: inline-block;

    margin-bottom: 17px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

    font-style: italic;

}


.doctor-profile-content p {

    margin: 0;

    color: #777;

    font-size: 13px;

    line-height: 1.75;

}



/* =========================================================
   HIDDEN CARD
========================================================= */

.doctor-card.doctor-hidden {

    display: none;

}



/* =========================================================
   NO RESULT
   ========================================================= */

.doctor-no-result {

    display: none;

    max-width: 650px;

    margin: 40px auto 0;

    padding: 50px 25px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-sm);

}


.doctor-no-result.show {

    display: block;

}


.no-result-icon {

    width: 70px;

    height: 70px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 27px;

}


.doctor-no-result h3 {

    margin-bottom: 8px;

    font-size: 24px;

}


.doctor-no-result p {

    margin-bottom: 22px;

    color: #777;

    font-size: 14px;

}



/* =========================================================
   FILTER ANIMATION
   ========================================================= */

.doctor-card.doctor-show {

    animation:
        doctorShow .35s ease both;

}


@keyframes doctorShow {

    from {

        opacity: 0;

        transform: translateY(12px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .doctors-page-grid {

        grid-template-columns: 1fr;

    }


    .doctor-card {

        grid-template-columns: 38% 62%;

    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .doctor-filter-box {

        align-items: stretch;

        flex-direction: column;

        padding: 20px;

    }


    .filter-icon {

        width: 48px;

        height: 48px;

        min-width: 48px;

    }


    .clear-filter {

        width: 100%;

    }


    .doctor-card {

        grid-template-columns: 1fr;

    }


    .doctor-profile-image {

        height: 300px;

        min-height: 300px;

    }


    .doctor-profile-content {

        padding: 24px;

    }


    .doctor-profile-content h3 {

        font-size: 20px;

    }

}



/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .doctor-profile-image {

        height: 270px;

        min-height: 270px;

    }


    .doctor-profile-content {

        padding: 20px;

    }


    .doctor-profile-content p {

        font-size: 12px;

    }

}