/* Team Overview Panel Styling */
.team-overview-panel {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 250px;
    background-color: rgba(30, 30, 30, 0.9);
    border-width: 2px;
    border-color: rgba(100, 100, 100, 0.8);
    border-radius: 8px;
    padding: 10px;
    max-height: 80%;
}

.team-overview-header {
    font-size: 16px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 10px;
    background-color: rgba(50, 50, 50, 0.8);
    padding: 8px;
    border-radius: 5px;
}

.team-member-card {
    background-color: rgba(50, 50, 50, 0.8);
    border-width: 1px;
    border-color: rgba(150, 150, 150, 0.5);
    border-radius: 5px;
    margin-bottom: 8px;
    padding: 8px;
}

.member-name {
    font-size: 12px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    margin-bottom: 3px;
}

.member-status {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.member-health {
    font-size: 10px;
    color: rgb(200, 255, 200);
}

.member-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stats-text {
    font-size: 9px;
    color: rgb(200, 200, 200);
    white-space: normal;
}

.team-summary {
    margin-top: 10px;
    padding-top: 8px;
    border-top-width: 1px;
    border-top-color: rgba(150, 150, 150, 0.5);
}

.team-summary-label {
    font-size: 11px;
    color: rgb(220, 220, 220);
    text-align: center;
    margin-bottom: 8px;
}

.team-actions {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
}

.team-action-button {
    background-color: rgba(70, 120, 180, 0.8);
    border-width: 1px;
    border-color: rgba(100, 150, 200, 0.8);
    border-radius: 4px;
    color: rgb(255, 255, 255);
    font-size: 10px;
    padding: 4px 8px;
    flex-grow: 1;
    margin-left: 2px;
    margin-right: 2px;
}

.team-action-button:hover {
    background-color: rgba(90, 140, 200, 0.9);
}

.team-action-button:active {
    background-color: rgba(50, 100, 160, 0.9);
}

/* Scrollable team members list */
.team-members-scroll {
    max-height: 300px;
    overflow: hidden;
}
