.teamListContainer {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto; /* Enable vertical scrolling */
}

.listing-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.team-list-title {
    font-size: 1.5em;
    font-weight: 500;
    color: #009ccb;
    margin-top: 20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.team-header {
    font-size: 1.5em;
    margin-top: 20px;
    border-bottom: 1.0px solid lightgrey;
    padding-bottom: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.teamHeading {
    font-size: 1.0em;
    color: #FF4500;
}

.toggle-symbol {
    margin-right: 5px;
    font-size: 1.0em;
    color: black;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.listing {
    border-bottom: 1px solid #ccc;
}

    .listing td {
        padding: 10px;
        vertical-align: top;
    }

.padded-row tr {
    padding: 10px;
    border-width: 1px;
    border-color: black;
}

.padded-row td {
    padding: 10px;
}

.checkbox-cell {
    width: 10px;
}

.name-cell {
    width: 75px;
}

.type-cell {
    width: 100px;
}

.description-cell {
    width: auto;
}

.custom-summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
}

    .custom-summary::before {
        content: "+";
        margin-right: 5px;
        font-size: 18px;
        display: inline-block;
    }

details[open] .custom-summary::before {
    content: "-";
}

.yourTeamsTitle {
    font-size: 1.25em; /* Slightly smaller font size */
    padding-right: 30px;
}

.queryTeams {
    display: none;
}

.manageTeams {
    color:black;  
    padding-top: 10px;
    padding-bottom: 0px;
    display:inline-block;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .team-list-title {
        font-size: 1.5em; /* Slightly smaller font size */
        padding-left: 10px; /* Reduced padding */
        padding-right: 15px; /* Reduced padding */
        margin-top: 15px; /* Reduced margin */
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

    .yourTeamsTitle {
        font-size: 1.0em; /* Slightly smaller font size */
        padding-right: 10px;
    }

    .highlight-box {
        padding: 5px;
        margin: 0px;
    }

    .queryTeams {
        display: inline-block;
        color: black;
        font-size: 0.9em;
        padding: 0px;
        margin: 0px;
    }

    .manageTeams {
        display: inline-block;
        font-size: 0.9em;
        padding: 0px;
        margin: 0px;
        margin-left: 20px;
    }

    .teamListContainer {
        background-color: rgb(240, 240, 240);
        border: 1px solid #ccc; /* Example border */
        border-radius: 3px;
        margin: 5px;
        width: 95%;
        display: flex;
        height: auto; /* Let the height adjust based on content */
        padding-left: 10px; /* Reduced padding for smaller screens */
    }

    .listing-container {
        padding: 10px; /* Reduced padding for mobile */
    }

    .team-header {
        font-size: 1.0em; /* Slightly smaller font size */
        margin-top: 10px; /* Reduced margin */
        padding-bottom: 3px; /* Reduced padding */
    }

    .toggle-symbol {
        display: none;
    }

    .listing td {
        padding: 8px; /* Reduced padding */
    }

    .custom-summary {
        list-style-type: none;
        -webkit-appearance: none; /* Safari-only */
        list-style: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        position: relative;
    }

        .custom-summary::before {
            content: '';
            margin-right: 5px;
            font-size: 18px;
            display: inline-block;
        }
    details[open] .custom-summary::before {
        content: "";
    }


    .checkbox-cell,
    .name-cell,
    .type-cell {
        width: auto; /* Allow flexible width on mobile */
    }
}
