/* Doctor Sidebar */

body.active {
    overflow: hidden;
}

.doctor-sidebar-body {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    right: 0px;
    transform: translateX(100%);
    transition: all 0.3s ease-in;
    box-shadow: 0px 1px 7px 0px rgba(221, 213, 213, 0.17);
}

.doctor-sidebar-body.active {
    background: #0000008a;
    backdrop-filter: blur(5px);
    z-index: 2;
    transform: translateX(0%);
    transition: all 0.3s ease-in;
}

.doctor-sidebar {
    position: relative;
    float: right;
    background-color: var(--color-white);
    width: 750px;
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    border-radius: 10px 0px 0px 10px;
    overflow-y: scroll;
}

.doctor-sidebar .doctor-background {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.doctor-sidebar .close-sidebar {
    position: absolute;
    background: var(--color-main);
    border: none;
    outline: none;
    border-radius: 100%;
    padding: 10px;
    left: 5px;
    top: 5px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.doctor-sidebar .personal-info-details {
    margin-top: -38px;
    padding-left: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.doctor-sidebar .personal-info-details .doctor-profile-img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    object-fit: cover;
    border: 2px solid var(--color-third);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.doctor-sidebar .personal-info-details .personal-info-details-col {
    margin-top: 30px;
}

.doctor-sidebar .personal-info-details .doctor-name {
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 22px;
    font-family: "Roboto", sans-serif;
}

.doctor-sidebar .personal-info-details p {
    margin: 0px;
    margin-top: 15px;
}

.badge {
    background: #e3e3e3;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 15px;
}


/* Remove this container when use*/

.tab-container {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 3px;
}

.indicator {
    content: "";
    width: 130px;
    height: 44px;
    background: var(--color-main);
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 9;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0px 2px 8px rgba(122, 122, 122, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    transition: all 0.2s ease-out;
}

.tab {
    width: 130px;
    height: 40px;
    position: absolute;
    z-index: 99;
    outline: none;
    opacity: 0;
}

.tab_label {
    width: 130px;
    height: 40px;
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: 15px;
    opacity: 0.6;
    cursor: pointer;
}

.tab--1:checked~.indicator {
    left: 2px;
}

.tab--1:checked~.label_tab_1,
.tab--2:checked~.label_tab_2,
.tab--3:checked~.label_tab_3 {
    color: white;
    opacity: 1;
}

.tab--2:checked~.indicator {
    left: calc(130px + 2px);
}

.tab--3:checked~.indicator {
    left: calc(130px * 2 + 2px);
}


/* Style for tab content panes */

.tabcontent {
    display: none;
}

.tab-contents {
    margin-top: 10px;
}


/* Tab Location */

#map {
    height: 350px;
    width: 100%;
}

.map-profile-avater {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    filter: drop-shadow(0px 5px 5px gray);
}


/* Tab Appointment */

#tab-appointment {
    padding: 0px 20px;
}

#tab-appointment h3 {
    margin: 0px;
}

@media (max-width: 640px) {
    .indicator {
        width: 100px;
    }
    .tab {
        width: 100px;
    }
    .tab_label {
        width: 100px;
        font-size: 13px;
    }
    .tab--2:checked~.indicator {
        left: calc(100px + 2px);
    }
    .tab--3:checked~.indicator {
        left: calc(100px * 2 + 2px);
    }
}