/*
 * File: user/style/TeamLeadersStyle.css
 * Author: Yash Balotiya
 * Description: This file contains all the styling part of the Team Leader Section.
 * Created on: 07/07/2024
 * Last Modified: 25/11/2024
**/

/* Team leaders */
#teamLeadersSection {
    width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 100px 0;
}

#teamLeadersChild1 {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#teamLeadersChild2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    text-align: center;
    margin: 0 8px;
}

#teamLeadersChild2 img {
    width: 250px;
    border-radius: 50%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    margin: 25px 0;
}

/* Code for Leaders Scroller */
/* .fa-angle-left,
.fa-angle-right {
    height: 50px;
    width: 50px;
    background: #f3f2f3;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateX(-50%);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.fa-angle-left:first-child {
    left: -22px;
}

.fa-angle-right:last-child {
    right: -22px;
} */

/* ALL Doctors Name in table format for the index page */
.table-responsive {
    overflow-x: auto;
    /* Enable horizontal scrolling */
    width: 100%;
    /* Full width of the container */
}

#leadersTable {
    width: 100%;
    /* Ensure the table takes full width */
    border-collapse: collapse;
    font-size: 12px;
}

#leadersTable td {
    border: 1px solid black;
    text-align: center;
    padding: 4px;
    width: 20%;
    /* Default width for desktop */
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .table-responsive {
        width: 90vw;
    }

    #leadersTable {
        width: 900px;
        /* Set a fixed width for mobile to allow 5 entries */
    }

    #leadersTable td {
        width: 20%;
        /* Each entry will take 20% width, allowing 5 entries */
    }

    h2 {
        font-size: 18px;
        /* Adjust heading size for mobile */
        text-align: center;
        /* Center the heading */
    }
}