/* Team Management Styles */

/* Avatar placeholders */
.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.team-avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.team-logo-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 600;
}

/* Team member list */
.team-member-item {
    transition: background-color 0.2s ease;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.team-member-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.team-member-item .member-role {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 30px;
}

/* Captain badge */
.badge-captain {
    background-color: var(--primary-color);
    color: white;
}

/* Member badge */
.badge-member {
    background-color: var(--gray-color);
    color: white;
}

/* Team stats */
.team-stat {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
    transition: transform 0.2s ease;
}

.team-stat:hover {
    transform: translateY(-3px);
}

.team-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.team-stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Win rate bar */
.win-rate-bar {
    height: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.win-rate-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--success-color));
    border-radius: 3px;
}

/* Form styling */
.team-form .form-control:focus,
.team-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Team management actions */
.team-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.team-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .team-logo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .team-stat-value {
        font-size: 1.5rem;
    }
    
    .team-stat-label {
        font-size: 0.8rem;
    }
    
    .team-actions {
        flex-direction: column;
    }
    
    .team-actions .btn {
        width: 100%;
    }
}
