/* ===========================
   Doctors Page
=========================== */

.page-content{
    max-width:700px;
    margin:auto;
    padding:20px 15px 90px;
}


/* ===========================
   Search
=========================== */

.search-wrapper{
    margin-bottom:25px;
}

.search-box{
    width:100%;
    box-sizing:border-box;
    padding:15px 18px;
    font-size:16px;
    border:none;
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    outline:none;
}


/* ===========================
   Doctor Card
=========================== */

.doctor-card{
    position:relative;

    display:flex;
    align-items:flex-start;
    gap:18px;

    width:89%;
    box-sizing:border-box;

    background:#fff;

    border-radius:22px;

    padding:16px;

    margin-bottom:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.25s;

    overflow:hidden;
}

.doctor-card:hover{
    transform:translateY(-3px);
}


/* ===========================
   Doctor Image
=========================== */

.doctor-image{
    flex:0 0 150px;

    width:150px !important;
    height:150px !important;

    max-width:150px;
    max-height:150px;

    min-width:150px;
    min-height:150px;

    display:block;

    object-fit:contain;
    object-position:center;

    background:#f5f5f5;

    border-radius:16px;

    overflow:hidden;
}


/* ===========================
   Doctor Info
=========================== */

.doctor-info{
    flex:1;
    min-width:0;

    display:flex;
    flex-direction:column;
}


.doctor-name{
    margin:0 0 8px;

    font-size:22px;

    font-weight:700;

    color:#222;

    line-height:1.4;
}


.doctor-degree{
    color:#555;

    font-size:14px;

    line-height:1.6;

    margin-bottom:10px;
}


.doctor-specialist{
    color:#555;

    font-size:14px;

    line-height:1.6;

    margin-bottom:10px;
}


.doctor-hospital{
    font-size:14px;

    color:#444;

    line-height:1.6;

    margin-bottom:8px;
}

/* ===========================
   Doctor Additional Information
=========================== */

.doctor-chamber{
    font-size:14px;
    color:#444;
    line-height:1.6;
    margin-bottom:8px;
}

.doctor-upazila{
    font-size:14px;
    color:#555;
    line-height:1.6;
    margin-bottom:8px;
}

.doctor-time{
    font-size:14px;
    color:#555;
    line-height:1.6;
    margin-bottom:5px;
}


/* ===========================
   Button Touch Effect
=========================== */

.doctor-buttons a:active{
    transform:scale(.96);
}


/* ===========================
   Favorite Touch Effect
=========================== */

.favorite-btn:active{
    transform:scale(.82);
}

/* ===========================
   Buttons
=========================== */

.doctor-buttons{
    display:flex;

    gap:10px;

    margin-top:14px;
}


.call-btn,
.details-btn{
    flex:1;

    text-align:center;

    padding:12px;

    border-radius:12px;

    text-decoration:none;

    color:#fff;

    font-size:15px;

    font-weight:600;
}


.call-btn{
    background:#2e7d32;
}


.details-btn{
    background:#1976d2;
}


/* ===========================
   Favorite
=========================== */

.favorite-btn{
    position:absolute;

    top:12px;
    right:12px;

    width:40px;
    height:40px;

    border:none;

    border-radius:50%;

    background:#fff;

    font-size:20px;

    cursor:pointer;

    box-shadow:0 3px 10px rgba(0,0,0,.15);

    z-index:5;
}


.favorite-btn.active{
    color:#ff1744;
}


/* ===========================
   Empty
=========================== */

.empty-box{
    text-align:center;

    padding:70px 20px;

    color:#666;
}


.empty-box h2{
    font-size:55px;

    margin-bottom:15px;
}


/* ===========================
   Mobile
=========================== */

@media(max-width:600px){

    .page-content{
        padding:20px 12px 90px;
    }


    .doctor-card{
        flex-direction:column;

        gap:14px;

        padding:14px;

        border-radius:20px;
    }


    .doctor-image{
        flex:none;

        width:100% !important;
        height:200px !important;

        max-width:100%;
        max-height:200px;

        min-width:0;
        min-height:0;

        border-radius:16px;
    }


    .doctor-info{
        width:100%;
    }


    .doctor-name{
        font-size:22px;
    }


    .doctor-degree{
        font-size:14px;
    }


    .doctor-specialist{
        font-size:14px;
    }


    .doctor-hospital{
        font-size:14px;
    }


    .doctor-buttons{
        width:100%;
    }

}